Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for AbC (0.05 sec)

  1. src/strings/strings_test.go

    	{"x", "a", -1},
    	{"x", "x", 0},
    	{"abc", "a", 0},
    	{"abc", "b", 1},
    	{"abc", "c", 2},
    	{"abc", "x", -1},
    	// test special cases in Index() for short strings
    	{"", "ab", -1},
    	{"bc", "ab", -1},
    	{"ab", "ab", 0},
    	{"xab", "ab", 1},
    	{"xab"[:2], "ab", -1},
    	{"", "abc", -1},
    	{"xbc", "abc", -1},
    	{"abc", "abc", 0},
    	{"xabc", "abc", 1},
    	{"xabc"[:3], "abc", -1},
    	{"xabxc", "abc", -1},
    	{"", "abcd", -1},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 53K bytes
    - Viewed (0)
  2. src/bytes/bytes_test.go

    	}
    }
    
    var cutTests = []struct {
    	s, sep        string
    	before, after string
    	found         bool
    }{
    	{"abc", "b", "a", "c", true},
    	{"abc", "a", "", "bc", true},
    	{"abc", "c", "ab", "", true},
    	{"abc", "abc", "", "", true},
    	{"abc", "", "", "abc", true},
    	{"abc", "d", "abc", "", false},
    	{"", "d", "", "", false},
    	{"", "", "", "", true},
    }
    
    func TestCut(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  3. src/fmt/fmt_test.go

    	{"%q", int64(0xFFFFFFFFF), `'�'`},
    	{"%q", uint64(0xFFFFFFFFF), `'�'`},
    
    	// width
    	{"%5s", "abc", "  abc"},
    	{"%5s", []byte("abc"), "  abc"},
    	{"%2s", "\u263a", " ☺"},
    	{"%2s", []byte("\u263a"), " ☺"},
    	{"%-5s", "abc", "abc  "},
    	{"%-5s", []byte("abc"), "abc  "},
    	{"%05s", "abc", "00abc"},
    	{"%05s", []byte("abc"), "00abc"},
    	{"%5s", "abcdefghijklmnopqrstuvwxyz", "abcdefghijklmnopqrstuvwxyz"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:55 UTC 2024
    - 58.6K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/CollectionPropertySpec.groovy

            def initialValue = toMutable(["abc"])
            property.set(initialValue)
            assertValueIs(["abc"])
            initialValue.add("added")
            assertValueIs(["abc", "added"])
        }
    
        def "queries underlying provider for every call to get()"() {
            def provider = Stub(ProviderInternal)
            provider.type >> List
            provider.calculateValue(_) >>> [["123"], ["abc"]].collect { ValueSupplier.Value.of(it) }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/EventListenerTest.kt

        server.enqueue(
          MockResponse.Builder()
            .body("abc")
            .build(),
        )
        val call =
          client.newCall(
            Request.Builder()
              .url(server.url("/"))
              .build(),
          )
        val response = call.execute()
        assertThat(response.code).isEqualTo(200)
        assertThat(response.body.string()).isEqualTo("abc")
        response.body.close()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 56.9K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

          MockResponse(socketPolicy = ResetStreamAtStart(ErrorCode.REFUSED_STREAM.httpCode)),
        )
        server.enqueue(MockResponse(body = "abc"))
    
        val request = Request(server.url("/"))
        val response = client.newCall(request).execute()
        assertThat(response.body.string()).isEqualTo("abc")
        assertThat(server.takeRequest().sequenceNumber).isEqualTo(0)
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CopyTaskIntegrationSpec.groovy

            run 'copy'
    
            then:
            file('dest').assertHasDescendants('bcd.txt', 'abc.txt.concrete')
            file('dest/abc.txt.concrete').text == 'test file with some value'
        }
    
        def "chained matching rules do not match against destination path set by previous chain element"() {
            given:
            file('path/abc.txt').createFile() << 'test file with $attr'
            file('path/bcd.txt').createFile()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 67.9K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

      /**
       * This URL's fragment, like `"abc"` for `http://host/#abc`. This is null if the URL has no
       * fragment.
       *
       * | URL                    | `fragment()` |
       * | :--------------------- | :----------- |
       * | `http://host/`         | null         |
       * | `http://host/#`        | `""`         |
       * | `http://host/#abc`     | `"abc"`      |
       * | `http://host/#abc|def` | `"abc|def"`  |
       */
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 63.5K bytes
    - Viewed (0)
  9. cmd/object-api-multipart_test.go

    		{
    			bucketNames[0], "asia", "asia/europe/", "abc", "", 0,
    			ListMultipartsInfo{},
    			fmt.Errorf("Invalid combination of uploadID marker '%s' and marker '%s'", "abc", "asia/europe/"), false,
    		},
    		{
    			// Contains a base64 padding character
    			bucketNames[0], "asia", "asia/europe", "abc=", "", 0,
    			ListMultipartsInfo{},
    			fmt.Errorf("Malformed upload id %s", "abc="), false,
    		},
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 77.1K bytes
    - Viewed (0)
  10. pkg/controller/statefulset/stateful_set_utils_test.go

    				Name:       "fred",
    				UID:        "abc",
    			},
    			obj: metav1.ObjectMeta{
    				Name: "fred",
    				UID:  "abc",
    			},
    			schema:      podKind,
    			shouldMatch: true,
    		},
    		{
    			name: "match without UID",
    			ref: metav1.OwnerReference{
    				APIVersion: "v1",
    				Kind:       "Pod",
    				Name:       "fred",
    				UID:        "abc",
    			},
    			obj: metav1.ObjectMeta{
    				Name: "fred",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 50.9K bytes
    - Viewed (0)
Back to top