Found 41045 results in 8841 files, showing top 50 files (show more).
github.com/kubernetes/minikube:site/package-lock.json: [ master, ]
1127:             "needle": "^2.2.1",
1108:         "needle": {
github.com/kubernetes/minikube:site/themes/docsy/userguide/package-lock.json: [ master, ]
1098:             "needle": "^2.2.1",
1079:         "needle": {
github.com/angular/material-start:package-lock.json: [ master, ]
1624:             "needle": "^2.2.1",
1605:         "needle": {
github.com/apache/beam:website/www/site/themes/docsy/userguide/package-lock.json: [ master, ] Duplicate result
github.com/html5rocks/www.html5rocks.com:static/demos/lemdoodle/examples/lem-planes/combined.js: [ master, ]
5051:   'needle': ['intro-finale/items-needle-thread', 'intro-finale/items-needle'],
5102:     'needle', 'halo', 'noodles', 'neutron', 'nose'
13797:     'intro-finale/items-needle-thread',
13798:     'intro-finale/items-needle',
15100:   'intro-finale/items-needle-thread': { width: 68, height: 65, x: 834, y: 0 },
15101:   'intro-finale/items-needle': { top: 8, width: 59, height: 51, x: 904, y: 0 },
github.com/google/skia:modules/canvaskit/package-lock.json: [ master, ]
1560:             "needle": "^2.2.1",
1541:         "needle": {
github.com/html5rocks/www.html5rocks.com:static/demos/lemdoodle/examples/lem-embedded/combined.js: [ master, ]
5024:   'needle': ['intro-finale/items-needle-thread', 'intro-finale/items-needle'],
5075:     'needle', 'halo', 'noodles', 'neutron', 'nose'
13843:             nItems = ['needle', 'noodles'];
15362:     'intro-finale/items-needle-thread',
15363:     'intro-finale/items-needle',
16665:   'intro-finale/items-needle-thread': { width: 68, height: 65, x: 834, y: 0 },
16666:   'intro-finale/items-needle': { top: 8, width: 59, height: 51, x: 904, y: 0 },
github.com/kubernetes/website:themes/docsy/userguide/package-lock.json: [ master, ] Duplicate result
github.com/llvm-mirror/clang:lib/Sema/AnalysisBasedWarnings.cpp: [ master, ]
727:   const DeclRefExpr *Needle;
723: /// a particular declaration (the needle) within any evaluated component of an
732:   ContainsReference(ASTContext &Context, const DeclRefExpr *Needle)
733:     : Inherited(Context), FoundReference(false), Needle(Needle) {}
744:     if (E == Needle)
skia.googlesource.com/skia:modules/canvaskit/package-lock.json: [ master, ] Duplicate result
chromium.googlesource.com/skia:modules/canvaskit/package-lock.json: [ master, ] Duplicate result
github.com/apache/trafficcontrol:traffic_portal/app/src/package-lock.json: [ master, ]
1251:                         "needle": "^2.2.1",
1234:                 "needle": {
skia.googlesource.com/buildbot:autoroll/package-lock.json: [ master, ]
1468:             "needle": "^2.2.1",
1449:         "needle": {
skia.googlesource.com/buildbot:task_scheduler/package-lock.json: [ master, ]
1376:             "needle": "^2.2.1",
1357:         "needle": {
android.googlesource.com/platform/external/clang:lib/Sema/AnalysisBasedWarnings.cpp: [ master, ]
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, ]
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/external/clang_35a:lib/Sema/AnalysisBasedWarnings.cpp: [ master, ]
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:tools/fine_grained_deps_npm/package-lock.json: [ master, ]
768:             "needle": "^2.2.0",
751:         "needle": {
github.com/google/skia-buildbot:task_scheduler/package-lock.json: [ master, ] Duplicate result
github.com/google/kf:docs/kf.dev/themes/docsy/userguide/package-lock.json: [ master, ]
1098:             "needle": "^2.2.1",
1079:         "needle": {
chromium.googlesource.com/chromium:sync/syncable/directory.h: [ trunk, ]
536:     EntryKernel needle;
535:     // look something up in an index.  Needle in haystack metaphor.
chromium.googlesource.com/git/chromium:sync/syncable/directory.h: [ trunk, ] Duplicate result
github.com/apache/hawq:src/backend/optimizer/util/clauses.c: [ master, ]
4526: 	Expr *needle;	/* This is the expression being searched */
4530:  * expression_matching_walker checks if the expression 'needle' in context is a sub-expression of hayStack.
4536: 	Assert(ctx->needle);
4543: 	if (equal(ctx->needle, hayStack))
4558: 	ctx.needle = expr1;
github.com/html5rocks/www.html5rocks.com:content/tutorials/doodles/lem/static/code/lem-const.js: [ master, ]
185:   'needle': ['intro-finale/items-needle-thread', 'intro-finale/items-needle'],
236:     'needle', 'halo', 'noodles', 'neutron', 'nose'
github.com/google/llvm-propeller:clang/lib/Sema/AnalysisBasedWarnings.cpp: [ plo-dev, ] Duplicate result
github.com/google/rekall:rekall-core/rekall/scan.py: [ master, ]
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)),
android.googlesource.com/platform/superproject:external/clang/lib/Sema/AnalysisBasedWarnings.cpp: [ master, ] Duplicate result
github.com/google/docsy:userguide/package-lock.json: [ master, ] Duplicate result
github.com/apache/sling-whiteboard:serverless-microsling/package-lock.json: [ master, ]
992:         "needle": "^2.1.0"
901:     "needle": {
903:       "resolved": "https://registry.npmjs.org/needle/-/needle-2.4.0.tgz",
github.com/google/cargo-raze:examples/vendored/non_cratesio_library/cargo/vendor/memchr-2.0.1/src/lib.rs: [ master, ]
106:     needle: u8,
261:     needle1: u8,
262:     needle2: u8,
330:     needle1: u8,
331:     needle2: u8,
332:     needle3: u8,
114:     /// Creates a new iterator that yields all positions of needle in haystack.
115:     pub fn new(needle: u8, haystack: &[u8]) -> Memchr {
117:             needle: needle,
128:         iter_next!(self, memchr(self.needle, &self.haystack))
138:         iter_next_back!(self, memrchr(self.needle, &self.haystack))
144: /// Returns the index corresponding to the first occurrence of `needle` in
148: /// magnitude faster than `haystack.iter().position(|&b| b == needle)`.
162: pub fn memchr(needle: u8, haystack: &[u8]) -> Option<usize> {
170:     fn memchr_specific(needle: u8, haystack: &[u8]) -> Option<usize> {
175:                         needle as c_int,
190:     fn memchr_specific(needle: u8, haystack: &[u8]) -> Option<usize> {
191:         fallback::memchr(needle, haystack)
198:     fn memchr_specific(needle: u8, haystack: &[u8]) -> Option<usize> {
199:         haystack.iter().position(|&b| b == needle)
202:     memchr_specific(needle, haystack)
207: /// Returns the index corresponding to the last occurrence of `needle` in
221: pub fn memrchr(needle: u8, haystack: &[u8]) -> Option<usize> {
225:     fn memrchr_specific(needle: u8, haystack: &[u8]) -> Option<usize> {
232:                           needle as c_int,
244:     fn memrchr_specific(needle: u8, haystack: &[u8]) -> Option<usize> {
245:         fallback::memrchr(needle, haystack)
252:     fn memrchr_specific(needle: u8, haystack: &[u8]) -> Option<usize> {
253:         haystack.iter().rposition(|&b| b == needle)
256:     memrchr_specific(needle, haystack)
270:     /// Creates a new iterator that yields all positions of needle in haystack.
271:     pub fn new(needle1: u8, needle2: u8, haystack: &[u8]) -> Memchr2 {
273:             needle1: needle1,
274:             needle2: needle2,
285:         iter_next!(self, memchr2(self.needle1, self.needle2, &self.haystack))
295: pub fn memchr2(needle1: u8, needle2: u8, haystack: &[u8]) -> Option<usize> {
306:         if let Some(found) = slow(needle1, needle2, &haystack[..i]) {
310:     let repeated_b1 = repeat_byte(needle1);
311:     let repeated_b2 = repeat_byte(needle2);
325:     slow(needle1, needle2, &haystack[i..]).map(|pos| i + pos)
342:         needle1: u8,
343:         needle2: u8,
344:         needle3: u8,
348:             needle1: needle1,
349:             needle2: needle2,
350:             needle3: needle3,
363:             memchr3(self.needle1, self.needle2, self.needle3, &self.haystack)
374:     needle1: u8,
375:     needle2: u8,
376:     needle3: u8,
389:         if let Some(found) = slow(needle1, needle2, needle3, &haystack[..i]) {
393:     let repeated_b1 = repeat_byte(needle1);
394:     let repeated_b2 = repeat_byte(needle2);
395:     let repeated_b3 = repeat_byte(needle3);
410:     slow(needle1, needle2, needle3, &haystack[i..]).map(|pos| i + pos)
573:                 fn prop(needle: u8, haystack: Vec<u8>) -> bool {
574:                     $memchr(needle, &haystack); true
616:                 fn prop(needle: u8, haystack: Vec<u8>) -> bool {
617:                     $memrchr(needle, &haystack); true
717:         fn prop(needle1: u8, needle2: u8, haystack: Vec<u8>) -> bool {
718:             memchr2(needle1, needle2, &haystack);
772:     // needle
773:     fn positions1<'a>(needle: u8, haystack: &'a [u8])
778:                          .filter(move |&(_, &elt)| elt == needle)
782:     fn positions2<'a>(needle1: u8, needle2: u8, haystack: &'a [u8])
788:             .filter(move |&(_, &elt)| elt == needle1 || elt == needle2)
793:         needle1: u8,
794:         needle2: u8,
795:         needle3: u8,
802:                 elt == needle1 || elt == needle2 || elt == needle3
887:             needle1: u8,
888:             needle2: u8,
889:             needle3: u8,
892:             memchr3(needle1, needle2, needle3, &haystack);
1002:         fn qc_memchr_double_ended_iter(needle: u8, data: Vec<u8>,
1009:             let iter = Memchr::new(needle, &data);
1013:             all_found.iter().cloned().eq(positions1(needle, &data))
1017:             let needle = 0;
1018:             let answer = positions1(needle, &data);
1019:             answer.eq(Memchr::new(needle, &data))
1023:             let needle = 0;
1024:             let answer = positions1(needle, &data);
1025:             answer.rev().eq(Memchr::new(needle, &data).rev())
1029:             let needle1 = 0;
1030:             let needle2 = 1;
1031:             let answer = positions2(needle1, needle2, &data);
1032:             answer.eq(Memchr2::new(needle1, needle2, &data))
1036:             let needle1 = 0;
1037:             let needle2 = 1;
1038:             let needle3 = 2;
1039:             let answer = positions3(needle1, needle2, needle3, &data);
1040:             answer.eq(Memchr3::new(needle1, needle2, needle3, &data))
1045:             let needle = 0;
1046:             let mut iter = Memchr::new(needle, &data);
1049:                 .filter(|&&elt| elt == needle)
github.com/google/cyanobyte:docs/themes/docsy/userguide/package-lock.json: [ master, ] Duplicate result
github.com/google/streetview-publish-client-libraries:client_libraries/nodejs_library/package-lock.json: [ master, ]
1140:             "needle": "^2.2.1",
1125:         "needle": {
github.com/yeoman/generator-angular:route/index.js: [ master, ]
63:     needle: '.otherwise',
github.com/google/gvisor-website:themes/docsy/userguide/package-lock.json: [ master, ] Duplicate result
github.com/apache/openwhisk-client-js:package.json: [ master, ]
53:     "needle": "^2.4.0"
android.googlesource.com/platform/superproject:external/rust/crates/memchr/src/iter.rs: [ master, ]
35:     needle: u8,
73:     needle1: u8,
74:     needle2: u8,
120:     needle1: u8,
121:     needle2: u8,
122:     needle3: u8,
43:     /// Creates a new iterator that yields all positions of needle in haystack.
45:     pub fn new(needle: u8, haystack: &[u8]) -> Memchr {
46:         Memchr { needle: needle, haystack: haystack, position: 0 }
55:         iter_next!(self, memchr(self.needle, self.haystack))
67:         iter_next_back!(self, memrchr(self.needle, self.haystack))
82:     /// Creates a new iterator that yields all positions of needle in haystack.
84:     pub fn new(needle1: u8, needle2: u8, haystack: &[u8]) -> Memchr2 {
86:             needle1: needle1,
87:             needle2: needle2,
99:         iter_next!(self, memchr2(self.needle1, self.needle2, self.haystack))
113:             memrchr2(self.needle1, self.needle2, self.haystack)
133:         needle1: u8,
134:         needle2: u8,
135:         needle3: u8,
139:             needle1: needle1,
140:             needle2: needle2,
141:             needle3: needle3,
155:             memchr3(self.needle1, self.needle2, self.needle3, self.haystack)
170:             memrchr3(self.needle1, self.needle2, self.needle3, self.haystack)
github.com/GoogleCloudPlatform/datashare-toolkit:ingestion/streaming/package-lock.json: [ master, ]
667:             "needle": "^2.2.1",
650:         "needle": {
652:           "resolved": "https://registry.npmjs.org/needle/-/needle-2.4.0.tgz",
github.com/grpc/grpc.io:themes/docsy/userguide/package-lock.json: [ master, ] Duplicate result
github.com/GNOME/libdazzle:src/search/dzl-fuzzy-index-cursor.c: [ mainline, ]
65:   const gchar                     *needle;
408:   lookup.needle = query;
github.com/google/docsy-example:package-lock.json: [ master, ]
1088:             "needle": "^2.2.1",
1069:         "needle": {
github.com/google/cargo-raze:examples/vendored/complicated_cargo_library/cargo/vendor/memchr-2.2.0/src/iter.rs: [ master, ]
35:     needle: u8,
77:     needle1: u8,
78:     needle2: u8,
124:     needle1: u8,
125:     needle2: u8,
126:     needle3: u8,
43:     /// Creates a new iterator that yields all positions of needle in haystack.
45:     pub fn new(needle: u8, haystack: &[u8]) -> Memchr {
47:             needle: needle,
59:         iter_next!(self, memchr(self.needle, self.haystack))
71:         iter_next_back!(self, memrchr(self.needle, self.haystack))
86:     /// Creates a new iterator that yields all positions of needle in haystack.
88:     pub fn new(needle1: u8, needle2: u8, haystack: &[u8]) -> Memchr2 {
90:             needle1: needle1,
91:             needle2: needle2,
103:         iter_next!(self, memchr2(self.needle1, self.needle2, self.haystack))
117:             memrchr2(self.needle1, self.needle2, self.haystack)
137:         needle1: u8,
138:         needle2: u8,
139:         needle3: u8,
143:             needle1: needle1,
144:             needle2: needle2,
145:             needle3: needle3,
159:             memchr3(self.needle1, self.needle2, self.needle3, self.haystack)
174:             memrchr3(self.needle1, self.needle2, self.needle3, self.haystack)
github.com/google/docsy-example:themes/docsy/userguide/package-lock.json: [ master, ] Duplicate result
github.com/googlesamples/functions-as-a-service:package-lock.json: [ master, ]
1274:             "needle": "^2.2.1",
1255:         "needle": {
android.googlesource.com/platform/external/libwebsockets:include/libwebsockets/lws-fts.h: [ master, ]
168: 	const char *needle;
github.com/GNOME/gnome-notes:src/bjb-controller.c: [ mainline, ]
47:   gchar          *needle;
68:   PROP_NEEDLE,
526: bjb_controller_apply_needle (BjbController *self)
777: bjb_controller_set_needle (BjbController *self, const gchar *needle )
787: bjb_controller_get_needle (BjbController *self)
556: on_needle_changed (BjbController *self)
45:   /* needle, notebook and group define what the controller shows */
122:   g_free (self->needle);
147:   case PROP_NEEDLE:
148:     g_value_set_string (value, self->needle);
175:   case PROP_NEEDLE:
176:     self->needle = g_strdup (g_value_get_string (value));
193:   const gchar *needle = NULL;
196:       needle = biji_item_get_uuid (item);
209:     if (needle && g_strcmp0 (item_path, needle) == 0)
213:     else if (!needle && BIJI_IS_NOTE_OBJ (
308:   if (!self->needle || g_strcmp0 (self->needle, "") == 0)
323:     if (g_strrstr (title, self->needle) != NULL)
330:       if (g_strrstr (content, self->needle) != NULL)
529:   gchar *needle;
531:   needle = self->needle;
536:   if (needle == NULL || g_strcmp0 (needle,"") == 0)
552:   biji_get_items_matching_async (self->manager, self->group, needle, update_controller_callback, self);
558:   bjb_controller_apply_needle (self);
598:       bjb_controller_apply_needle (self);
648:     /* Apply the needle to display the relevant items.
656:       bjb_controller_apply_needle (self);
738:   properties[PROP_NEEDLE] = g_param_spec_string ("needle",
739:                                                  "Needle",
761:                     gchar         *needle)
766:               "needle", needle,
779:   if (self->needle)
780:     g_free (self->needle);
782:   self->needle = g_strdup (needle);
783:   on_needle_changed (self);
789:   if (!self->needle)
792:   return self->needle;
827:     bjb_controller_apply_needle (self);
834:   g_clear_pointer (&self->needle, g_free);
836:   self->needle = g_strdup ("");
871:       bjb_controller_apply_needle (self);
877:     bjb_controller_apply_needle (self);
894:     on_needle_changed (self);
android.googlesource.com/platform/external/qt:Windows-4.7.4/src/scripttools/debugging/qscriptsyntaxhighlighter.cpp: [ master, ]
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/tensorflow/tfjs-examples:lstm-text-generation/data.js: [ master, ]
26:     needle: 'Nietzsche'
31:     needle: 'Jules Verne'
36:     needle: 'Shakespeare'
40:     needle: 'TensorFlow.js Code (Compiled, 0.11.7)'
github.com/GoogleChrome/chrome-app-samples:samples/text-editor/lib/ace/search.js: [ master, ]
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, ]
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))
android.googlesource.com/platform/superproject:external/libwebsockets/include/libwebsockets/lws-fts.h: [ master, ] Duplicate result