Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 74 for 012345678Z (0.25 sec)

  1. src/time/format_test.go

    	{"2021-09-29T16:04:33.012345678Z", 12_345_678},
    	// 10 digits, truncates
    	{"2021-09-29T16:04:33.0000000000Z", 0},
    	{"2021-09-29T16:04:33.0000000001Z", 0},
    	{"2021-09-29T16:04:33.1000000000Z", 100_000_000},
    	{"2021-09-29T16:04:33.1000000009Z", 100_000_000},
    	{"2021-09-29T16:04:33.9999999999Z", 999_999_999},
    	{"2021-09-29T16:04:33.0123456789Z", 12_345_678},
    	// 11 digits, truncates
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:58:29 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  2. platforms/core-execution/hashing/src/test/groovy/org/gradle/internal/hash/HashCodeTest.groovy

            expect:
            HashCode.fromString("12345678").toZeroPaddedString(8) == "12345678"
            HashCode.fromString("12345678").toZeroPaddedString(7) == "12345678"
            HashCode.fromString("12345678").toZeroPaddedString(0) == "12345678"
            HashCode.fromString("12345678").toZeroPaddedString(9) == "012345678"
            HashCode.fromString("12345678").toZeroPaddedString(16) == "0000000012345678"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:43:29 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  3. platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/incremental/CompilationStateSerializerTest.groovy

            def fileEmpty = new File("empty")
            def fileStates = [:]
            fileStates.put(fileEmpty, compilationFileState(TestHashCodes.hashCodeFrom(0x12345678), []))
    
            def fileTwo = new File("two")
            def stateTwo = compilationFileState(TestHashCodes.hashCodeFrom(0x23456789), ["ONE", "TWO"])
            fileStates.put(fileTwo, stateTwo)
            def state = compilationState(fileStates)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  4. src/strings/strings_test.go

    	// 8-byte needle
    	{"xxxxxxxxxxxx", "01234567", false},
    	{"01234567xxxx", "01234567", true},
    	{"xx01234567xx", "01234567", true},
    	{"xxxx01234567", "01234567", true},
    	{"01234567xxxxx"[1:], "01234567", false},
    	{"xxxxx01234567"[:12], "01234567", false},
    	// 9-15-byte needle
    	{"xxxxxxxxxxxxx", "012345678", false},
    	{"012345678xxxx", "012345678", true},
    	{"xx012345678xx", "012345678", true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 53K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

        }
      }
    
      public void testDecodeInt() {
        assertThat(UnsignedInts.decode("0xffffffff")).isEqualTo(0xffffffff);
        assertThat(UnsignedInts.decode("01234567")).isEqualTo(01234567); // octal
        assertThat(UnsignedInts.decode("#12345678")).isEqualTo(0x12345678);
        assertThat(UnsignedInts.decode("76543210")).isEqualTo(76543210);
        assertThat(UnsignedInts.decode("0x13579135")).isEqualTo(0x13579135);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 06 16:10:08 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

        }
      }
    
      public void testDecodeInt() {
        assertThat(UnsignedInts.decode("0xffffffff")).isEqualTo(0xffffffff);
        assertThat(UnsignedInts.decode("01234567")).isEqualTo(01234567); // octal
        assertThat(UnsignedInts.decode("#12345678")).isEqualTo(0x12345678);
        assertThat(UnsignedInts.decode("76543210")).isEqualTo(76543210);
        assertThat(UnsignedInts.decode("0x13579135")).isEqualTo(0x13579135);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 06 16:10:08 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  7. pkg/kubelet/cm/cpumanager/cpu_assignment_test.go

    		{
    			"take two cpus from single socket with HT",
    			topoSingleSocketHT,
    			cpuset.New(0, 1, 2, 3, 4, 5, 6, 7),
    			2,
    			"",
    			cpuset.New(0, 4),
    		},
    		{
    			"take all cpus from single socket with HT",
    			topoSingleSocketHT,
    			cpuset.New(0, 1, 2, 3, 4, 5, 6, 7),
    			8,
    			"",
    			cpuset.New(0, 1, 2, 3, 4, 5, 6, 7),
    		},
    		{
    			"take two cpus from single socket with HT, only one core totally free",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 09 17:31:37 UTC 2023
    - 22.7K bytes
    - Viewed (0)
  8. src/maps/iter_test.go

    		1: 1,
    		2: 1,
    	}
    	for i, v := range map[int]int{
    		0: 1,
    		2: 3,
    		4: 5,
    		6: 7,
    		8: 9,
    	} {
    		want[i] = v
    	}
    
    	if !Equal(got, want) {
    		t.Errorf("Insert got: %v, want: %v", got, want)
    	}
    }
    
    func TestCollect(t *testing.T) {
    	m := map[int]int{
    		0: 1,
    		2: 3,
    		4: 5,
    		6: 7,
    		8: 9,
    	}
    	got := Collect(All(m))
    	if !Equal(got, m) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:44:19 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  9. src/runtime/profbuf_test.go

    	t.Run("BasicWriteRead", func(t *testing.T) {
    		b := NewProfBuf(2, 11, 1)
    		write(t, b, unsafe.Pointer(&myTags[0]), 1, []uint64{2, 3}, []uintptr{4, 5, 6, 7, 8, 9})
    		read(t, b, []uint64{10, 1, 2, 3, 4, 5, 6, 7, 8, 9}, []unsafe.Pointer{unsafe.Pointer(&myTags[0])})
    		read(t, b, nil, nil) // release data returned by previous read
    		write(t, b, unsafe.Pointer(&myTags[2]), 99, []uint64{101, 102}, []uintptr{201, 202, 203, 204})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 15 20:04:56 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  10. test/fixedbugs/issue47227.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build cgo
    
    package main
    
    // void f(int *p) { *p = 0x12345678; }
    import "C"
    
    func main() {
    	var x C.int
    	func() {
    		defer C.f(&x)
    	}()
    	if x != 0x12345678 {
    		panic("FAIL")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 382 bytes
    - Viewed (0)
Back to top