Found 10511 results in 4479 files, showing top 50 files (show more).
github.com/llvm-mirror/clang:lib/Sema/AnalysisBasedWarnings.cpp: [ master, ] c++
709:   const DeclRefExpr *Needle;
705: /// a particular declaration (the needle) within any evaluated component of an
714:   ContainsReference(ASTContext &Context, const DeclRefExpr *Needle)
715:     : Inherited(Context), FoundReference(false), Needle(Needle) {}
726:     if (E == Needle)
github.com/GoogleCloudPlatform/skaffold:examples/hot-reload/node/package-lock.json: [ master, ] json
864:             "needle": "^2.2.0",
847:         "needle": {
github.com/GoogleCloudPlatform/skaffold:integration/examples/hot-reload/node/package-lock.json: [ master, ] json Duplicate result
github.com/tensorflow/tfjs-examples:lstm-text-generation/ui.js: [ master, ] javascript
29:     needle: 'Nietzsche'
33:     needle: 'Jules Verne'
37:     needle: 'Shakespeare'
41:     needle: 'TensorFlow.js Code (Compiled, 0.11.7)'
279:       opt.innerHTML = TEXT_DATA_URLS[key].needle;
android.googlesource.com/platform/external/clang:lib/Sema/AnalysisBasedWarnings.cpp: [ master, ] c++
591:   const DeclRefExpr *Needle;
587: /// a particular declaration (the needle) within any evaluated component of an
596:   ContainsReference(ASTContext &Context, const DeclRefExpr *Needle)
597:     : Inherited(Context), FoundReference(false), Needle(Needle) {}
608:     if (E == Needle)
chromium.googlesource.com/native_client/pnacl-clang:lib/Sema/AnalysisBasedWarnings.cpp: [ master, ] c++
579:   const DeclRefExpr *Needle;
575: /// a particular declaration (the needle) within any evaluated component of an
582:   ContainsReference(ASTContext &Context, const DeclRefExpr *Needle)
584:       FoundReference(false), Needle(Needle) {}
595:     if (E == Needle)
android.googlesource.com/platform/superproject:external/clang/lib/Sema/AnalysisBasedWarnings.cpp: [ master, ] c++ Duplicate result
android.googlesource.com/platform/external/clang_35a:lib/Sema/AnalysisBasedWarnings.cpp: [ master, ] c++
577:   const DeclRefExpr *Needle;
573: /// a particular declaration (the needle) within any evaluated component of an
580:   ContainsReference(ASTContext &Context, const DeclRefExpr *Needle)
582:       FoundReference(false), Needle(Needle) {}
593:     if (E == Needle)
github.com/bazelbuild/rules_nodejs:internal/e2e/fine_grained_deps/package-lock.json: [ master, ] json
756:             "needle": "^2.2.0",
739:         "needle": {
github.com/html5rocks/www.html5rocks.com:static/demos/lemdoodle/examples/lem-planes/lem-const.js: [ master, ] javascript
172:   'needle': ['intro-finale/items-needle-thread', 'intro-finale/items-needle'],
223:     'needle', 'halo', 'noodles', 'neutron', 'nose'
github.com/html5rocks/www.html5rocks.com:static/demos/lemdoodle/examples/lem-embedded/lem-const.js: [ master, ] javascript
172:   'needle': ['intro-finale/items-needle-thread', 'intro-finale/items-needle'],
223:     'needle', 'halo', 'noodles', 'neutron', 'nose'
github.com/apache/incubator-openwhisk-client-js:package.json: [ master, ] json
57:     "needle": "^2.1.0"
github.com/google/rekall:rekall-core/rekall/scan.py: [ master, ] python
170:     needle = None
171:     needle_offset = None
540:     needles = []
59:         """Is the needle found at 'offset'?
63:             checked for the needle.
173:     def __init__(self, needle=None, needle_offset=0, **kwargs):
175:         self.needle = needle
176:         self.needle_offset = needle_offset
180:         buffer_offset = buffer_as.get_buffer_offset(offset) + self.needle_offset
181:         if buffer_as.data.startswith(self.needle, buffer_offset):
182:             return self.needle
185:         # Search the rest of the buffer for the needle.
186:         buffer_offset = buffer_as.get_buffer_offset(offset) + self.needle_offset
187:         dindex = buffer_as.data.find(self.needle, buffer_offset + 1)
532:             yield ("StringCheck", dict(needle=expected_bytes,
533:                                        needle_offset=rel_offset + array_offset))
553:                 needle=self.needles[0])
96:     def __init__(self, needles=None, **kwargs):
100:           needles: A list of strings we search for.
103:           RuntimeError: No needles provided.
109:         if not needles:
110:             raise RuntimeError("No needles provided to search.")
114:         if max([len(x) for x in needles]) > 50:
118:         # sure all the needles are bytes too.
119:         byte_needles = [utils.SmartStr(x) for x in needles]
120:         tree = acora.AcoraBuilder(*byte_needles)
539:     # Override with the needles to check for.
542:     def __init__(self, needles=None, **kwargs):
544:         if needles is not None:
545:             self.needles = needles
550:         if len(needles) == 1:
557:                 needles=self.needles)
587:         self.needles = []
595:             self.needles.append(tmp.obj_vm.read(0, tmp.obj_size))
597:         # The common string between all the needles.
599:             ("MultiStringFinderCheck", dict(needles=self.needles)),
github.com/yeoman/generator-angular:route/index.js: [ master, ] javascript
63:     needle: '.otherwise',
github.com/fuchsia-mirror/third_party-clang:lib/Sema/AnalysisBasedWarnings.cpp: [ master, ] c++ Duplicate result
github.com/apache/airavata-django-portal:django_airavata/apps/api/package-lock.json: [ master, ] json
1226:             "needle": "^2.2.0",
1207:         "needle": {
android.googlesource.com/platform/external/qt:Mac-4.7.4/src/scripttools/debugging/qscriptsyntaxhighlighter.cpp: [ master, ] c++
129:     const QString needle;
128:     inline KeywordHelper(const QString &word) : needle(word) {}
134:     return helper.needle < QLatin1String(kw);
139:     return QLatin1String(kw) < helper.needle;
chromium.googlesource.com/chromium/src/third_party:abseil-cpp/absl/strings/str_replace_benchmark.cc: [ master, ] c++
30:   const char* needle;
76:       const char* needle_string = nullptr;
79:         auto needlepos = after_replacing_many->find(r.needle, pos);
82:           needle_string = r.needle;
87:       after_replacing_many->replace(next_pos, strlen(needle_string),
80:         if (needlepos != std::string::npos && needlepos < next_pos) {
81:           next_pos = needlepos;
github.com/google/docsy-example:package-lock.json: [ master, ] json
1045:             "needle": "2.2.0",
1026:         "needle": {
github.com/GoogleChrome/chrome-app-samples:samples/text-editor/lib/ace/search.js: [ master, ] javascript
49:         needle: "",
74:         if (!this.$options.needle)
94:         if (!options.needle)
204:             var needle = this.$options.needle;
206:             needle = lang.escapeRegExp(this.$options.needle);
210:             needle = "\\b" + needle + "\\b";
218:         var re = new RegExp(needle, modifier);
github.com/GoogleChrome/chrome-app-samples:samples/text-editor/lib/ace/mode/text.js: [ master, ] javascript
135:             needle: needle
117:         var needle = line.substring(Math.max(startOuter, 0),
121:         if ((startOuter >= 0 && /^[\w\d]/.test(needle)) ||
122:             (endOuter <= lineCols && /[\w\d]$/.test(needle)))
125:         needle = line.substring(selection.start.column, selection.end.column);
126:         if (!/^[\w\d]+$/.test(needle))
github.com/fuchsia-mirror/third_party-cmake:Source/cmTarget.cxx: [ master, ] c++
627:   const cmSourceFileLocation& Needle;
643:   const cmSourceFileLocation& Needle;
629:   LocationMatcher(const cmSourceFileLocation& needle)
630:     : Needle(needle)
636:     return loc.Matches(this->Needle);
646:   TargetPropertyEntryFinder(const cmSourceFileLocation& needle)
647:     : Needle(needle)
658:                    CreateLocation(this->Needle.GetMakefile()));
661:                         LocationMatcher(this->Needle)) != locations.end();
github.com/fuchsia-mirror/third_party-rust:src/librustc_mir/util/collect_writes.rs: [ master, ] rust
33:     needle: Local,
24:             let mut visitor = FindLocalAssignmentVisitor{ needle: local, locations: vec![]};
42:         if self.needle != *local {
github.com/apache/incubator-openwhisk-client-js:lib/client.js: [ master, ] javascript
8: const needle = require('needle')
13:  * This implements a request-promise-like facade over the needle
14:  * library. There are two gaps between needle and rp that need to be
16:  * needle's non-excepting >=400 statusCode responses into exceptions
36:   // this situation than needle
39:   return needle(opts.method.toLowerCase(), // needle takes e.g. 'put' not 'PUT'
android.googlesource.com/platform/external/qt:Windows-4.7.4/src/scripttools/debugging/qscriptsyntaxhighlighter.cpp: [ master, ] c++
129:     const QString needle;
128:     inline KeywordHelper(const QString &word) : needle(word) {}
134:     return helper.needle < QLatin1String(kw);
139:     return QLatin1String(kw) < helper.needle;
github.com/chromium/chromium:third_party/abseil-cpp/absl/strings/str_replace_benchmark.cc: [ master, ] c++ Duplicate result
chromium.googlesource.com/ios-chromium-mirror:third_party/abseil-cpp/absl/strings/str_replace_benchmark.cc: [ master, ] c++ Duplicate result
chromium.googlesource.com/chromium/src:third_party/abseil-cpp/absl/strings/str_replace_benchmark.cc: [ master, ] c++ Duplicate result
chromium.googlesource.com/arc/arc:third_party/chromium-ppapi/third_party/abseil-cpp/absl/strings/str_replace_benchmark.cc: [ master, ] c++
30:   const char* needle;
76:       const char* needle_string = nullptr;
79:         auto needlepos = after_replacing_many->find(r.needle, pos);
82:           needle_string = r.needle;
87:       after_replacing_many->replace(next_pos, strlen(needle_string),
80:         if (needlepos != std::string::npos && needlepos < next_pos) {
81:           next_pos = needlepos;
chromium.googlesource.com/chromium/codesearch:src/third_party/abseil-cpp/absl/strings/str_replace_benchmark.cc: [ master, ] c++ Duplicate result
github.com/apache/marmotta:libraries/kiwi/kiwi-sparql/src/main/java/org/apache/marmotta/kiwi/sparql/builder/collect/SQLProjectionFinder.java: [ master, ] java
39:     private String needle;
43:     public SQLProjectionFinder(TupleExpr expr, String needle) {
44:         this.needle = needle;
50:         if(node.getName().equals(needle)) {
59:             if(g.equals(needle)) {
68:         if(node.getName().equals(needle)) {
77:             if(elem.getSourceName().equals(needle)) {
github.com/firebase/firebase-ios-sdk:Firestore/third_party/abseil-cpp/absl/strings/str_replace_benchmark.cc: [ master, ] c++ Duplicate result
github.com/PolymerLabs/actor-boilerplate:package-lock.json: [ master, ] json
868:             "needle": "^2.2.0",
851:         "needle": {
github.com/PolymerLabs/actor-helpers:package-lock.json: [ master, ] json
1359:             "needle": "^2.2.0",
1340:         "needle": {
eclipse.googlesource.com/jgit/jgit:org.eclipse.jgit/src/org/eclipse/jgit/util/RawSubStringPattern.java: [ master, ] java
59: 	private final byte[] needle;
57: 	private final String needleString;
75: 		needle = new byte[b.length];
77: 			needle[i] = lc(b[i]);
91: 		final int needleLen = needle.length;
92: 		final byte first = needle[0];
109: 				if (neq(needle[j], text[si]))
72: 		needleString = patternText;
96: 		final int maxPos = rcs.endPtr - needleLen;
108: 			for (int j = 1; j < needleLen; j++, si++) {
131: 		return needleString;
github.com/googlearchive/chrome-app-samples:samples/text-editor/lib/ace/search.js: [ master, ] javascript Duplicate result
github.com/googlearchive/chrome-app-samples:samples/text-editor/lib/ace/mode/text.js: [ master, ] javascript Duplicate result
github.com/GoogleCloudPlatform/gcsbeat:vendor/github.com/gobwas/glob/match/contains.go: [ master, ] go
9: 	Needle string
13: func NewContains(needle string, not bool) Contains {
14: 	return Contains{needle, not}
18: 	return strings.Contains(s, self.Needle) != self.Not
24: 	idx := strings.Index(s, self.Needle)
31: 		offset = idx + len(self.Needle)
57: 	return fmt.Sprintf("<contains:%s[%s]>", not, self.Needle)
github.com/asciidoctor/asciidoctor-reveal.js:test/js-babel/package-lock.json: [ master, ] json
1491:             "needle": "^2.2.0",
1472:         "needle": {
github.com/angular/protractor:testapp/package-lock.json: [ master, ] json
1493:             "needle": "^2.2.0",
1474:         "needle": {
github.com/src-d/kmcuda:src/test.R: [ develop, ] r
96:     needle <- "--file="
97:     match <- grep(needle, cmdArgs)
99:       return(normalizePath(sub(needle, "", cmdArgs[match])))
github.com/hanwen/artisjokke:needle2d/needle-inserter.hh: [ master, ] c++
6: #define NEEDLE_INSERTER
13: class Needle_inserter : public Deformation_hook
29:   Link_array<Node> needle_;
36:   Array<Vector2> needle_params_;
2:   declare Needle_inserter
5: #ifndef NEEDLE_INSERTER
44:   Auto_needle_insert * auto_insert_;
49:   void dump_needle_forces (const char *);
54:   Needle_inserter (Maubach_tree*, Deformation_state*);
55:   void move_needle (Vector2 h, Vector2 t);
58:   void auto_needle_insert ();
61:   void refine_around_needle_tip (Vector2,Vector2);
64:   void print_needle ();  
android.googlesource.com/platform/external/opencv3:modules/cudalegacy/src/cuda/needle_map.cu: [ master, ] cuda
51:         #define NEEDLE_MAP_SCALE 16
54:         __global__ void NeedleMapAverageKernel(const PtrStepSzf u, const PtrStepf v, PtrStepf u_avg, PtrStepf v_avg)
116:         void NeedleMapAverage_gpu(PtrStepSzf u, PtrStepSzf v, PtrStepSzf u_avg, PtrStepSzf v_avg)
127:         __global__ void NeedleMapVertexKernel(const PtrStepSzf u_avg, const PtrStepf v_avg, float* vertex_data, float* color_data,...(44 bytes skipped)...
207:         void CreateOpticalFlowNeedleMap_gpu(PtrStepSzf u_avg, PtrStepSzf v_avg, float* vertex_buffer, float* color_data, float max_flow,...(28 bytes skipped)...
56:             __shared__ float smem[2 * NEEDLE_MAP_SCALE];
59:             volatile float* v_col_sum = u_col_sum + NEEDLE_MAP_SCALE;
61:             const int x = blockIdx.x * NEEDLE_MAP_SCALE + threadIdx.x;
62:             const int y = blockIdx.y * NEEDLE_MAP_SCALE;
68:             for(int i = 0; i < NEEDLE_MAP_SCALE; ++i)
106:                 const float coeff = 1.0f / (NEEDLE_MAP_SCALE * NEEDLE_MAP_SCALE);
118:             const dim3 block(NEEDLE_MAP_SCALE);
133:             const float arrow_x = x * NEEDLE_MAP_SCALE + NEEDLE_MAP_SCALE / 2.0f;
134:             const float arrow_y = y * NEEDLE_MAP_SCALE + NEEDLE_MAP_SCALE / 2.0f;
121:             NeedleMapAverageKernel<<<grid, block>>>(u, v, u_avg, v_avg);
212:             NeedleMapVertexKernel<<<grid, block>>>(u_avg, v_avg, vertex_buffer, color_data, max_flow, xscale, yscale);...(0 bytes skipped)...
github.com/apache/kudu:www/epoch.0.5.2.min.css: [ master, ] css
1: ...(1125 bytes skipped)....inner{stroke-width:1px;stroke:#555}.epoch .gauge .tick{stroke-width:1px;stroke:#555}.epoch .gauge .needle{fill:orange}.epoch .gauge .needle-base{fill:#666}.epoch div.ref.category1,.epoch.category10 div.ref.category1{background-color:#1f77b...(24132 bytes skipped)...
github.com/googleglass/gdk-compass-sample:app/src/main/java/com/google/android/glass/sample/compass/CompassView.java: [ master, ] java
53:     private static final float NEEDLE_WIDTH = 6;
54:     private static final float NEEDLE_HEIGHT = 125;
55:     private static final int NEEDLE_COLOR = Color.RED;
341:     private void drawNeedle(Canvas canvas, boolean bottom) {
216:         mPaint.setColor(NEEDLE_COLOR);
336:      * Draws a needle that is centered at the top or bottom of the compass.
339:      * @param bottom true to draw the bottom needle, or false to draw the top needle
346:         // Flip the vertical coordinates if we're drawing the bottom needle.
355:         float needleHalfWidth = NEEDLE_WIDTH / 2;
359:         mPath.lineTo(centerX - needleHalfWidth, origin + sign * (NEEDLE_HEIGHT - 4));
360:         mPath.lineTo(centerX, origin + sign * NEEDLE_HEIGHT);
361:         mPath.lineTo(centerX + needleHalfWidth, origin + sign * (NEEDLE_HEIGHT - 4));
48:  * marks at the half-winds. The red "needles" in the display mark the current heading.
217:         drawNeedle(canvas, false);
218:         drawNeedle(canvas, true);
358:         mPath.moveTo(centerX - needleHalfWidth, origin);
362:         mPath.lineTo(centerX + needleHalfWidth, origin);
github.com/google/coursebuilder-core:coursebuilder/modules/gitkit/gitkit.py: [ master, ] python
150: _BAD_CRYPTO_NEEDLE = 'PKCS12 format is not supported by the PyCrypto library'
627:             if _BAD_CRYPTO_NEEDLE in e.message:
github.com/google/coursebuilder-android-container-module:android/worker.py: [ master, ] python
110: _ACCEPT_LICENSE_NEEDLE = 'Do you accept the license'
133: _GRADLEW_INSTALL_SUCCESS_NEEDLE = 'BUILD SUCCESSFUL'
145: _TEST_FAILURE_NEEDLE = 'FAILURES!!!\r'
779:         return _GRADLEW_INSTALL_SUCCESS_NEEDLE not in result
782:         return _TEST_FAILURE_NEEDLE in result
1111:             if _ACCEPT_LICENSE_NEEDLE in line and not process.poll():
github.com/GoogleCloudPlatform/IoT-Icebreaker:appengine/sensordata-to-ui/public/third_party/epoch/epoch.min.css: [ master, ] css
1: ...(1365 bytes skipped)....inner{stroke-width:1px;stroke:#555}.epoch .gauge .tick{stroke-width:1px;stroke:#555}.epoch .gauge .needle{fill:orange}.epoch .gauge .needle...(24288 bytes skipped)...nner{stroke:#AAA}.epoch-theme-dark .epoch .gauge .tick{stroke:#AAA}.epoch-theme-dark .epoch .gauge .needle{fill:#F3DE88}.epoch-theme-dark .epoch .gauge .needle-base{fill:#999}.epoch-theme-dark .epoch div.ref.category1,.epoch-theme-dark .epoch.category10 div.r...(32086 bytes skipped)...
github.com/hanwen/artisjokke:visualize/artisjokke-drawer.hh: [ master, ] c++
38:   Drag_state needle_drag_;
76:   virtual void set_needle ();
79:   virtual void draw_needle ();
chromium.googlesource.com/chromium/chromium:content/public/android/javatests/src/org/chromium/content/browser/ClipboardTest.java: [ trunk, ] java
35:     private static final String EXPECTED_HTML_NEEDLE = "http://www.example.com/";
88:             assertTrue(htmlText.contains(EXPECTED_HTML_NEEDLE));