Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 141 for _abc (0.07 sec)

  1. 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)
  2. testing/integ-test/src/integTest/groovy/org/gradle/integtests/StdioIntegrationTest.groovy

                    super.connect(snk)
                    write(TextUtil.toPlatformLineSeparators("abc\n123").bytes)
                    close()
                }
            })
    
            when:
            run "echo"
    
            then:
            output.contains("[abc][123]")
        }
    
        def "task can read stdin when stdin has unbounded length"() {
            given:
            buildFile << '''
    task echo {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 30 05:02:18 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. pkg/util/smallset/smallset_test.go

    				_ = set1000.Contains("456")
    				_ = set1000.Contains("abc")
    			}
    		})
    		b.Run("Contains/100", func(b *testing.B) {
    			for range b.N {
    				_ = set100.Contains("45")
    				_ = set100.Contains("abc")
    			}
    		})
    		b.Run("Contains/2", func(b *testing.B) {
    			for range b.N {
    				_ = set2.Contains("1")
    				_ = set2.Contains("abc")
    			}
    		})
    	})
    	b.Run("SmallSet", func(b *testing.B) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/demo/demoSimple/SimpleAnalysisDemo.kt

        types = listOf(Abc::class, C::class, D::class),
        externalFunctions = listOf(::newD),
        defaultImports = listOf(DefaultFqName("com.example", "newD"))
    )
    
    
    object SimpleAnalysisDemo {
        @JvmStatic
        fun main(args: Array<String>) {
            printResolutionResults(
                schema.resolve(
                    """
                        val myB = b()
    
                        a = myB
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:01 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. 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)
  6. maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/VersionTest.java

            assertOrder(X_GT_Y, "1-abc", "1-alpha");
            assertOrder(X_GT_Y, "1-abc", "1-beta");
            assertOrder(X_GT_Y, "1-abc", "1-milestone");
            assertOrder(X_GT_Y, "1-abc", "1-rc");
            assertOrder(X_GT_Y, "1-abc", "1-snapshot");
            assertOrder(X_GT_Y, "1-abc", "1");
            assertOrder(X_GT_Y, "1-abc", "1-sp");
        }
    
        @Test
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue May 21 09:54:32 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  7. okhttp-coroutines/src/test/kotlin/okhttp3/coroutines/ExecuteAsyncTest.kt

        this.server = server
      }
    
      @Test
      fun suspendCall() {
        runTest {
          server.enqueue(MockResponse(body = "abc"))
    
          val call = client.newCall(request)
    
          call.executeAsync().use {
            withContext(Dispatchers.IO) {
              assertThat(it.body.string()).isEqualTo("abc")
            }
          }
        }
      }
    
      @Test
      fun timeoutCall() {
        runTest {
          server.enqueue(
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 18 01:24:38 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  8. internal/ioutil/ioutil_test.go

    		expected string
    	}{
    		{bytes.NewBuffer([]byte("")), 0, ""},
    		{bytes.NewBuffer([]byte("")), 1, ""},
    		{bytes.NewBuffer([]byte("abc")), 0, "abc"},
    		{bytes.NewBuffer([]byte("abc")), 1, "bc"},
    		{bytes.NewBuffer([]byte("abc")), 2, "c"},
    		{bytes.NewBuffer([]byte("abc")), 3, ""},
    		{bytes.NewBuffer([]byte("abc")), 4, ""},
    	}
    	for i, testCase := range testCases {
    		r := NewSkipReader(testCase.src, testCase.skipLen)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  9. security/pkg/util/jwtutil_test.go

    		"65xiNg"
    
    	// oneAudString includes one `aud` claim "abc" of type string.
    	oneAudString = "header.eyJhdWQiOiJhYmMiLCJleHAiOjQ3MzI5OTQ4MDEsImlhdCI6MTU3OTM5NDgwMSwiaXNzIjoidGVzdC1pc3N1ZXItMUBpc3Rpby5pbyIsInN1YiI6InN1Yi0xIn0.signature" // nolint: lll
    
    	// twoAudList includes two `aud` claims ["abc", "xyz"] of type []string.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 16:07:11 UTC 2024
    - 6K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheSupportedTypesIntegrationTest.groovy

            "DirectoryProperty"           | "objects.directoryProperty()"         | "file('abc')"        | new File('abc')
            "DirectoryProperty"           | "objects.directoryProperty()"         | "null"               | "null"
            "RegularFileProperty"         | "objects.fileProperty()"              | "file('abc')"        | new File('abc')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 26.1K bytes
    - Viewed (0)
Back to top