Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 317 for 12345x (1.78 sec)

  1. src/test/java/org/codelibs/core/lang/StringUtilTest.java

        @Test
        public void testReplace() throws Exception {
            assertEquals("1", "1bc45", StringUtil.replace("12345", "23", "bc"));
            assertEquals("2", "1234ef", StringUtil.replace("12345", "5", "ef"));
            assertEquals("3", "ab2345", StringUtil.replace("12345", "1", "ab"));
            assertEquals("4", "a234a", StringUtil.replace("12341", "1", "a"));
            assertEquals("5", "ab234abab234ab", StringUtil.replace("1234112341", "1", "ab"));
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 12K bytes
    - Viewed (0)
  2. pkg/wasm/cache_test.go

    				ociURLWithTag: {
    					checksum: dockerImageDigest,
    					resourceVersionByResource: map[string]string{
    						"namespace.resource": "123456",
    					},
    				},
    			},
    			fetchURL: ociURLWithTag,
    			getOptions: GetOptions{
    				ResourceName:    "namespace.resource",
    				ResourceVersion: "123456",
    				RequestTimeout:  time.Second * 10,
    				PullPolicy:      Always,
    			},
    			wantCachedModules: map[moduleKey]*cacheEntry{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/testsanitizers/testdata/msan3.go

    int f(void) __attribute__ ((weak));
    
    int f() {
      int i;
      int *p = GoFn(&i);
      if (*p != 12345)
        return 0;
      return 1;
    }
    */
    import "C"
    
    //export GoFn
    func GoFn(p *C.int) *C.int {
    	*p = C.int(12345)
    	return p
    }
    
    func main() {
    	if r := C.f(); r != 1 {
    		panic(r)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 552 bytes
    - Viewed (0)
  4. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/collections/ImmutableFilteredListTest.groovy

            given:
            def list = ImmutableFilteredList.allOf([1, 2, 3, 4, 5, 6])
    
            expect:
            list.matching(x -> x > 2) == [3, 4, 5, 6]
            list.matching(x -> x < 2) == [1]
            list.matching(x -> x > 2).matching(x -> x < 5) == [3, 4]
            list.matching(x -> x != 5).matching(x -> x != 3) == [1, 2, 4, 6]
            list.matching(x -> x != 1).matching(x -> x != 6) == [2, 3, 4, 5]
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  5. platforms/core-execution/hashing/src/test/groovy/org/gradle/internal/hash/HashingTest.groovy

            hasher.putNull()
            def hash = hasher.hash()
            hash != Hashing.hashString("abc")
        }
    
        def 'hash collision for bytes'() {
            def left = [[1, 2, 3], [4, 5]]
            def right = [[1, 2], [3, 4, 5]]
            expect:
            hashKey(left) != hashKey(right)
        }
    
        def 'hash collision for strings'() {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:43:29 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  6. security/pkg/k8s/tokenreview/k8sauthn_test.go

    						Extra: map[string]authenticationv1.ExtraValue{
    							PodNameKey: []string{"some-pod"},
    							PodUIDKey:  []string{"12345"},
    						},
    					},
    				},
    			},
    			expectedResult: security.KubernetesInfo{
    				PodNamespace:      "default",
    				PodServiceAccount: "example-pod-sa",
    				PodUID:            "12345",
    				PodName:           "some-pod",
    			},
    		},
    	}
    	for _, tc := range testCases {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 13 17:12:41 UTC 2023
    - 4K bytes
    - Viewed (0)
  7. src/internal/diff/testdata/start.txt

    -- old --
    e
    pi
    4
    5
    6
    7
    8
    9
    10
    -- new --
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    -- diff --
    diff old new
    --- old
    +++ new
    @@ -1,5 +1,6 @@
    -e
    -pi
    +1
    +2
    +3
     4
     5
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 18 16:56:29 UTC 2022
    - 142 bytes
    - Viewed (0)
  8. platforms/software/resources/src/test/groovy/org/gradle/internal/resource/transfer/AccessorBackedExternalResourceTest.groovy

            when:
            expectResourceRead(name, "12345")
            def result = resource.writeToIfPresent(file)
    
            then:
            result.bytesRead == 5
            file.text == "12345"
            0 * _
    
            when:
            expectResourceRead(name, "hi")
            result = resource.writeTo(file)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  9. test/stringrange.go

    		offset += size
    		cnum++
    	}
    	if i != len(s)-1 {
    		fmt.Println("after loop i is", i, "not", len(s)-1)
    		ok = false
    	}
    
    	i = 12345
    	c = 23456
    	for i, c = range "" {
    	}
    	if i != 12345 {
    		fmt.Println("range empty string assigned to index:", i)
    		ok = false
    	}
    	if c != 23456 {
    		fmt.Println("range empty string assigned to value:", c)
    		ok = false
    	}
    
    	for _, c := range "a\xed\xa0\x80a" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 08 21:01:23 UTC 2012
    - 1.5K bytes
    - Viewed (0)
  10. src/fmt/doc.go

    If width is provided, it applies after leading spaces are
    trimmed and specifies the maximum number of runes to read
    to satisfy the verb. For example,
    
    	Sscanf(" 1234567 ", "%5s%d", &s, &i)
    
    will set s to "12345" and i to 67 while
    
    	Sscanf(" 12 34 567 ", "%5s%d", &s, &i)
    
    will set s to "12" and i to 34.
    
    In all the scanning functions, a carriage return followed
    immediately by a newline is treated as a plain newline
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:56:20 UTC 2024
    - 14.6K bytes
    - Viewed (0)