Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for haystack (0.03 sec)

  1. docs/en/docs/img/sponsors/haystack-fastapi.svg

    haystack-fastapi.svg...
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Oct 02 10:16:55 UTC 2021
    - 31.2K bytes
    - Viewed (0)
  2. ci/official/containers/ml_build_arm64/builder.devtoolset/stringop_trunc.patch

    -#endif
    -
    -
    -/* Find the first occurrence of NEEDLE in HAYSTACK.  Newer gcc versions
    -   do this itself.  */
    -#if !defined _HAVE_STRING_ARCH_strstr && !__GNUC_PREREQ (2, 97)
    -# define strstr(haystack, needle) \
    -  (__extension__ (__builtin_constant_p (needle) && __string2_1bptr_p (needle) \
    -		  ? (((const char *) (needle))[0] == '\0'		      \
    -		     ? (char *) (size_t) (haystack)			      \
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Nov 11 19:25:56 UTC 2024
    - 42.9K bytes
    - Viewed (0)
  3. src/bytes/example_test.go

    	}
    	if !bytes.Equal(a, b) {
    		// a not equal b
    	}
    }
    
    func ExampleCompare_search() {
    	// Binary search to find a matching byte slice.
    	var needle []byte
    	var haystack [][]byte // Assume sorted
    	_, found := slices.BinarySearchFunc(haystack, needle, bytes.Compare)
    	if found {
    		// Found it!
    	}
    }
    
    func ExampleContains() {
    	fmt.Println(bytes.Contains([]byte("seafood"), []byte("foo")))
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon May 12 16:07:54 UTC 2025
    - 16.5K bytes
    - Viewed (0)
Back to top