Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for 012345678 (0.13 sec)

  1. 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)
  2. src/cmd/compile/internal/test/memcombine_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package test
    
    import (
    	"encoding/binary"
    	"testing"
    )
    
    var gv = [16]byte{0, 1, 2, 3, 4, 5, 6, 7, 8}
    
    //go:noinline
    func readGlobalUnaligned() uint64 {
    	return binary.LittleEndian.Uint64(gv[1:])
    }
    
    func TestUnalignedGlobal(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 30 18:35:50 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  3. src/cmd/internal/buildid/buildid_test.go

    		results    []string // expected results of reads
    	}{
    		{12, 15, []string{"0123456789", "ab\x00\x00\x00fghij", "klmn"}},                              // within one read
    		{8, 21, []string{"01234567\x00\x00", "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "\x00lmn"}}, // across multiple reads
    		{10, 20, []string{"0123456789", "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "klmn"}},         // a whole read
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:28 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. src/cmd/internal/notsha256/sha256block_386.s

    	SHA256ROUND0(5, 0x59f111f1, 3, 4, 5, 6, 7, 0, 1, 2)
    	SHA256ROUND0(6, 0x923f82a4, 2, 3, 4, 5, 6, 7, 0, 1)
    	SHA256ROUND0(7, 0xab1c5ed5, 1, 2, 3, 4, 5, 6, 7, 0)
    	SHA256ROUND0(8, 0xd807aa98, 0, 1, 2, 3, 4, 5, 6, 7)
    	SHA256ROUND0(9, 0x12835b01, 7, 0, 1, 2, 3, 4, 5, 6)
    	SHA256ROUND0(10, 0x243185be, 6, 7, 0, 1, 2, 3, 4, 5)
    	SHA256ROUND0(11, 0x550c7dc3, 5, 6, 7, 0, 1, 2, 3, 4)
    	SHA256ROUND0(12, 0x72be5d74, 4, 5, 6, 7, 0, 1, 2, 3)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  7. 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)
  8. src/encoding/json/tagkey_test.go

    // license that can be found in the LICENSE file.
    
    package json
    
    import (
    	"testing"
    )
    
    type basicLatin2xTag struct {
    	V string `json:"$%-/"`
    }
    
    type basicLatin3xTag struct {
    	V string `json:"0123456789"`
    }
    
    type basicLatin4xTag struct {
    	V string `json:"ABCDEFGHIJKLMO"`
    }
    
    type basicLatin5xTag struct {
    	V string `json:"PQRSTUVWXYZ_"`
    }
    
    type basicLatin6xTag struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 25 16:00:37 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  9. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/collections/ImmutableFilteredListTest.groovy

     * Tests {@link ImmutableFilteredList}.
     */
    class ImmutableFilteredListTest extends Specification {
    
        def "can construct from an existing list"() {
            when:
            def list = ImmutableFilteredList.allOf([1, 2, 3, 4, 5, 6, 7, 8])
    
            then:
            list.size() == 8
            for (int i = 0; i < 8; i++) {
                assert list.get(i) == i + 1
            }
        }
    
        def "list equality works"() {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  10. 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)
Back to top