Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 138 for 012345678Z (0.13 sec)

  1. android/guava-tests/test/com/google/common/io/ByteStreamsTest.java

        assertEquals(0x12345678, in.readInt());
      }
    
      public void testNewDataOutput_empty() {
        ByteArrayDataOutput out = ByteStreams.newDataOutput();
        assertEquals(0, out.toByteArray().length);
      }
    
      public void testNewDataOutput_writeInt() {
        ByteArrayDataOutput out = ByteStreams.newDataOutput();
        out.writeInt(0x12345678);
        out.writeInt(0x76543210);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 21.9K bytes
    - Viewed (0)
  2. src/runtime/vdso_freebsd_x86.go

    	}
    	if p == ^uintptr(0) {
    		return 0, false
    	}
    	return *(*uint32)(unsafe.Pointer(p + _HPET_MAIN_COUNTER)), true
    }
    
    //go:systemstack
    func initHPETTimecounter(idx int) {
    	const digits = "0123456789"
    
    	var devPath [len(hpetDevPath)]byte
    	copy(devPath[:], hpetDevPath)
    	devPath[9] = digits[idx]
    
    	fd := open(&devPath[0], 0 /* O_RDONLY */ |_O_CLOEXEC, 0)
    	if fd < 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. test/fixedbugs/bug440_32.go

    // run
    
    // Test for 8g register move bug.  The optimizer gets confused
    // about 16- vs 32-bit moves during splitContractIndex.
    
    // Issue 3910.
    
    package main
    
    func main() {
    	const c = 0x12345678
    	index, n, offset := splitContractIndex(c)
    	if index != int((c&0xffff)>>5) || n != int(c&(1<<5-1)) || offset != (c>>16)&(1<<14-1) {
    		println("BUG", index, n, offset)
    	}
    }
    
    func splitContractIndex(ce uint32) (index, n, offset int) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 01 14:40:54 UTC 2012
    - 514 bytes
    - Viewed (0)
  4. test/fixedbugs/issue10607.go

    )
    
    func main() {
    	test("internal")
    	test("external") // The 'cgo' build constraint should imply that a linker is available.
    }
    
    func test(linkmode string) {
    	out, err := exec.Command("go", "run", "-ldflags", "-B=0x12345678 -linkmode="+linkmode, filepath.Join("fixedbugs", "issue10607a.go")).CombinedOutput()
    	if err != nil {
    		fmt.Printf("BUG: linkmode=%s %v\n%s\n", linkmode, err, out)
    		os.Exit(1)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 776 bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/testdata/ppc64_p10.s

    	PNOP                                    // 0700000000000000
    	PSTB R1, $1, 12345678(R2)               // 061000bc9822614e
    	PSTD R1, $1, 12345678(R2)               // 041000bcf422614e
    	PSTFD F1, $1, 12345678(R2)              // 061000bcd822614e
    	PSTFS F1, $1, 123456789(R7)             // 0610075bd027cd15
    	PSTH R1, $1, 12345678(R2)               // 061000bcb022614e
    	PSTQ R2, $1, 12345678(R2)               // 041000bcf042614e
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 23 20:52:57 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  6. src/unicode/utf8/utf8_test.go

    	s := []byte("0123456789")
    	for i := 0; i < b.N; i++ {
    		RuneCount(s)
    	}
    }
    
    func BenchmarkRuneCountTenJapaneseChars(b *testing.B) {
    	s := []byte("日本語日本語日本語日")
    	for i := 0; i < b.N; i++ {
    		RuneCount(s)
    	}
    }
    
    func BenchmarkRuneCountInStringTenASCIIChars(b *testing.B) {
    	for i := 0; i < b.N; i++ {
    		RuneCountInString("0123456789")
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 07 06:17:15 UTC 2022
    - 16.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/cache/CacheEvictionTest.java

            CacheBuilder.newBuilder().concurrencyLevel(1).maximumSize(10).build(loader);
        CacheTesting.warmUp(cache, 0, 10);
        Set<Integer> keySet = cache.asMap().keySet();
        assertThat(keySet).containsExactly(0, 1, 2, 3, 4, 5, 6, 7, 8, 9);
    
        // re-order
        getAll(cache, asList(0, 1, 2));
        CacheTesting.drainRecencyQueues(cache);
        assertThat(keySet).containsExactly(3, 4, 5, 6, 7, 8, 9, 0, 1, 2);
    
        // evict 3, 4, 5
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 14.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/cache/CacheEvictionTest.java

            CacheBuilder.newBuilder().concurrencyLevel(1).maximumSize(10).build(loader);
        CacheTesting.warmUp(cache, 0, 10);
        Set<Integer> keySet = cache.asMap().keySet();
        assertThat(keySet).containsExactly(0, 1, 2, 3, 4, 5, 6, 7, 8, 9);
    
        // re-order
        getAll(cache, asList(0, 1, 2));
        CacheTesting.drainRecencyQueues(cache);
        assertThat(keySet).containsExactly(3, 4, 5, 6, 7, 8, 9, 0, 1, 2);
    
        // evict 3, 4, 5
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 14.9K bytes
    - Viewed (0)
  9. test/rotate.go

    	}
    }
    
    const prolog = `
    
    package main
    
    import (
    	"fmt"
    	"os"
    )
    
    var (
    	i8 int8 = 0x12
    	i16 int16 = 0x1234
    	i32 int32 = 0x12345678
    	i64 int64 = 0x123456789abcdef0
    	ui8 uint8 = 0x12
    	ui16 uint16 = 0x1234
    	ui32 uint32 = 0x12345678
    	ui64 uint64 = 0x123456789abcdef0
    
    	ni8 = ^i8
    	ni16 = ^i16
    	ni32 = ^i32
    	ni64 = ^i64
    	nui8 = ^ui8
    	nui16 = ^ui16
    	nui32 = ^ui32
    	nui64 = ^ui64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 3.3K bytes
    - Viewed (0)
  10. src/compress/zlib/writer_test.go

    				break
    			}
    		}
    		if i == 0 && testing.Short() && testenv.Builder() == "" {
    			break
    		}
    	}
    }
    
    func TestWriterDict(t *testing.T) {
    	const dictionary = "0123456789."
    	for i, fn := range filenames {
    		testFileLevelDict(t, fn, DefaultCompression, dictionary)
    		testFileLevelDict(t, fn, NoCompression, dictionary)
    		testFileLevelDict(t, fn, HuffmanOnly, dictionary)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 09 19:12:23 UTC 2020
    - 5.7K bytes
    - Viewed (0)
Back to top