Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 850 for cheese (0.13 sec)

  1. maven-core/src/test/resources/apiv4-repo/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3-sources.jar

    slightly more expressive. * <p/> * For example: * <pre>assertThat(cheese, is(equalTo(smelly)))</pre> * instead of: * <pre>assertThat(cheese, equalTo(smelly))</pre> * */ @Factory public static <T> Matcher<T> is(Matcher<T> matcher) { return new Is<T>(matcher); } /** * A shortcut to the frequently used <code>is(equalTo(x))</code>. * <p/> * For example: * <pre>assertThat(cheese, is(smelly))</pre> * instead of: * <pre>assertThat(cheese, is(equalTo(smelly)))</pre> * */ @Factory public static <T> Matcher<T>...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sun Oct 02 08:41:25 UTC 2022
    - 31.9K bytes
    - Viewed (0)
  2. src/runtime/testdata/testprog/gc.go

    				return
    			}
    		}
    	}
    	fmt.Println("OK")
    }
    
    func GCPhys() {
    	// This test ensures that heap-growth scavenging is working as intended.
    	//
    	// It attempts to construct a sizeable "swiss cheese" heap, with many
    	// allocChunk-sized holes. Then, it triggers a heap growth by trying to
    	// allocate as much memory as would fit in those holes.
    	//
    	// The heap growth should cause a large number of those holes to be
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Oct 02 02:28:27 UTC 2022
    - 12.1K bytes
    - Viewed (0)
  3. src/strings/example_test.go

    	}
    	fmt.Println(strings.ContainsFunc("hello", f))
    	fmt.Println(strings.ContainsFunc("rhythms", f))
    	// Output:
    	// true
    	// false
    }
    
    func ExampleCount() {
    	fmt.Println(strings.Count("cheese", "e"))
    	fmt.Println(strings.Count("five", "")) // before & after each rune
    	// Output:
    	// 3
    	// 5
    }
    
    func ExampleCut() {
    	show := func(s, sep string) {
    		before, after, found := strings.Cut(s, sep)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 09 22:05:38 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  4. src/internal/reflectlite/all_test.go

    	{new(uint16), "16"},
    	{new(uint32), "32"},
    	{new(uint64), "64"},
    	{new(float32), "256.25"},
    	{new(float64), "512.125"},
    	{new(complex64), "532.125+10i"},
    	{new(complex128), "564.25+1i"},
    	{new(string), "stringy cheese"},
    	{new(bool), "true"},
    	{new(*int8), "*int8(0)"},
    	{new(**int8), "**int8(0)"},
    	{new([5]int32), "[5]int32{0, 0, 0, 0, 0}"},
    	{new(**integer), "**reflectlite_test.integer(0)"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 19:26:08 UTC 2023
    - 24.2K bytes
    - Viewed (0)
  5. src/go/parser/parser_test.go

    /* 2a
    */
    // 2b
    const pi = 3.1415
    /* 3a */ // 3b
    /* 3c */ const e = 2.7182
    
    // Example from go.dev/issue/3139
    func ExampleCount() {
    	fmt.Println(strings.Count("cheese", "e"))
    	fmt.Println(strings.Count("five", "")) // before & after each rune
    	// Output:
    	// 3
    	// 5
    }
    `, ParseComments)
    	if err != nil {
    		t.Fatal(err)
    	}
    	expected := [][]string{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 31 20:26:14 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/apis/meta/fuzzer/fuzzer.go

    	if partLen == 0 {
    		return string(runes)
    	}
    
    	runes[0] = validStartEnd[c.Rand.Intn(len(validStartEnd))].choose(c.Rand)
    	for i := range runes[1:] {
    		runes[i+1] = validMiddle[c.Rand.Intn(len(validMiddle))].choose(c.Rand)
    	}
    	runes[len(runes)-1] = validStartEnd[c.Rand.Intn(len(validStartEnd))].choose(c.Rand)
    
    	return string(runes)
    }
    
    func randomDNSLabel(c fuzz.Continue) string {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 03 15:12:26 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  7. test/chan/select5.go

    // Code for enumerating all possible paths through
    // some logic.  The logic should call choose(n) when
    // it wants to choose between n possibilities.
    // On successive runs through the logic, choose(n)
    // will return 0, 1, ..., n-1.  The helper maybe() is
    // similar but returns true and then false.
    //
    // Given a function gen that generates an output
    // using choose and maybe, code can generate all
    // possible outputs using
    //
    //	for next() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 10K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/dep-man/04-modeling-features/feature_variants.adoc

    Consider a situation where your library supports MySQL, Postgres and MongoDB, but that it's only allowed to choose _one_ of those at the same time.
    We can model this restriction by ensuring each feature also provides the same capability, thus making it impossible for these features to be used together in the same graph.
    
    .A producer of multiple features that are mutually exclusive
    ====
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 01 18:45:05 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  9. docs/pl/docs/index.md

    * <a href="https://github.com/Tinche/aiofiles" target="_blank"><code>aiofiles</code></a> - Wymagane jeżeli chcesz korzystać z `FileResponse` albo `StaticFiles`.
    * <a href="https://jinja.palletsprojects.com" target="_blank"><code>jinja2</code></a> - Wymagane jeżeli chcesz używać domyślnej konfiguracji szablonów.
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon Apr 29 05:18:04 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  10. pkg/kubelet/preemption/preemption_test.go

    			insufficientResources: getAdmissionRequirementList(200, 200, 2),
    			expectErr:             true,
    			expectedOutput:        nil,
    		},
    		{
    			testName:              "choose between bestEffort and burstable",
    			preemptor:             allPods[clusterCritical],
    			inputPods:             []*v1.Pod{allPods[burstable], allPods[bestEffort]},
    			insufficientResources: getAdmissionRequirementList(0, 0, 1),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jul 24 10:04:08 UTC 2022
    - 19.2K bytes
    - Viewed (0)
Back to top