Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 87 for sub32a (0.11 sec)

  1. pkg/util/hash/hash_test.go

    		hasher2 := adler32.New()
    		hasher3 := adler32.New()
    		// Act
    		DeepHashObject(hasher1, myUni1)
    		hash1 := hasher1.Sum32()
    		DeepHashObject(hasher1, myUni1)
    		hash1a := hasher1.Sum32()
    		DeepHashObject(hasher2, myUni2)
    		hash2 := hasher2.Sum32()
    		DeepHashObject(hasher3, myUni3)
    		hash3 := hasher3.Sum32()
    
    		// Assert
    		if hash1 != hash1a {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 27 01:24:22 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  2. src/hash/crc32/crc32_test.go

    				t.Errorf("could not unmarshal: %v", err)
    				continue
    			}
    
    			io.WriteString(h, g.in[len(g.in)/2:])
    			io.WriteString(h2, g.in[len(g.in)/2:])
    
    			if h.Sum32() != h2.Sum32() {
    				t.Errorf("IEEE(%s) = 0x%x != marshaled 0x%x", g.in, h.Sum32(), h2.Sum32())
    			}
    		}
    	})
    	t.Run("Castagnoli", func(t *testing.T) {
    		table := MakeTable(Castagnoli)
    		for _, g := range golden {
    			h := New(table)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  3. src/cmd/internal/test2json/testdata/issue29755.test

    === RUN   TestOutputWithSubtest
    === RUN   TestOutputWithSubtest/sub_test
    === RUN   TestOutputWithSubtest/sub_test/sub2
    === RUN   TestOutputWithSubtest/sub_test2
    === RUN   TestOutputWithSubtest/sub_test2/sub2
    --- FAIL: TestOutputWithSubtest (0.00s)
        foo_test.go:6: output before sub tests
        foo_test.go:10: output from root test
        foo_test.go:15: output from root test
        --- PASS: TestOutputWithSubtest/sub_test (0.00s)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 01 16:13:47 UTC 2020
    - 1.1K bytes
    - Viewed (0)
  4. src/cmd/internal/test2json/testdata/issue29755.json

    {"Action":"output","Test":"TestOutputWithSubtest/sub_test2/sub2","Output":"        --- PASS: TestOutputWithSubtest/sub_test2/sub2 (0.00s)\n"}
    {"Action":"output","Test":"TestOutputWithSubtest/sub_test2/sub2","Output":"            foo_test.go:26: output from sub2 test\n"}
    {"Action":"output","Test":"TestOutputWithSubtest","Output":"    foo_test.go:32: output after sub test\n"}
    {"Action":"pass","Test":"TestOutputWithSubtest/sub_test2/sub2"}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 09 17:33:07 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  5. src/math/bits/bits.go

    func Sub(x, y, borrow uint) (diff, borrowOut uint) {
    	if UintSize == 32 {
    		d32, b32 := Sub32(uint32(x), uint32(y), uint32(borrow))
    		return uint(d32), uint(b32)
    	}
    	d64, b64 := Sub64(uint64(x), uint64(y), uint64(borrow))
    	return uint(d64), uint(b64)
    }
    
    // Sub32 returns the difference of x, y and borrow, diff = x - y - borrow.
    // The borrow input must be 0 or 1; otherwise the behavior is undefined.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 17.9K bytes
    - Viewed (0)
  6. subprojects/diagnostics/src/integTest/groovy/org/gradle/api/tasks/diagnostics/TaskReportTaskIntegrationTest.groovy

            buildFile << multiProjectBuild()
            createDirs("sub1", "sub2")
            settingsFile << "include 'sub1', 'sub2'"
    
            when:
            succeeds TASKS_DETAILED_REPORT_TASK
    
            then:
            output.contains("""
    $helloWorldGroupHeader
    a
    sub1:a
    sub2:a
    """)
            output.contains("""
    $otherGroupHeader
    sub1:b
    sub2:b
    c
    """)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 15:00:02 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  7. src/hash/fnv/fnv_test.go

    	if a := h.Sum(nil); !bytes.Equal(sum, a) {
    		t.Fatalf("Sum()=0x%x, but with partial writes, Sum()=0x%x", sum, a)
    	}
    
    	switch h.Size() {
    	case 4:
    		sum32 := h.(hash.Hash32).Sum32()
    		if sum32 != binary.BigEndian.Uint32(sum) {
    			t.Fatalf("Sum()=0x%x, but Sum32()=0x%x", sum, sum32)
    		}
    	case 8:
    		sum64 := h.(hash.Hash64).Sum64()
    		if sum64 != binary.BigEndian.Uint64(sum) {
    			t.Fatalf("Sum()=0x%x, but Sum64()=0x%x", sum, sum64)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 01 21:04:12 UTC 2017
    - 7.3K bytes
    - Viewed (0)
  8. src/hash/adler32/adler32_test.go

    			t.Errorf("could not unmarshal: %v", err)
    			continue
    		}
    
    		io.WriteString(h, g.in[len(g.in)/2:])
    		io.WriteString(h2, g.in[len(g.in)/2:])
    
    		if h.Sum32() != h2.Sum32() {
    			t.Errorf("checksum(%q) = 0x%x != marshaled (0x%x)", g.in, h.Sum32(), h2.Sum32())
    		}
    	}
    }
    
    func BenchmarkAdler32KB(b *testing.B) {
    	b.SetBytes(1024)
    	data := make([]byte, 1024)
    	for i := range data {
    		data[i] = byte(i)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 01 21:04:12 UTC 2017
    - 5.5K bytes
    - Viewed (0)
  9. subprojects/core/src/test/groovy/org/gradle/execution/plan/ValuedVfsHierarchyTest.groovy

            "some/location/intermediate/child/sub1/leaf2"   | ['intermediate/child/sub1/leaf2': [1], 'sub1/leaf2': [4, 3]]
            "some/location/intermediate/child/sub3/leaf"    | ['sub3/leaf': [4, 3], 'intermediate/child/sub3/leaf': [1]]
            "some/location/intermediate/child/non-existing" | ['intermediate/child/non-existing': [1], 'non-existing': [4, 3]]
        }
    
        def "can query child values"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 28 17:21:57 UTC 2022
    - 8.4K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/initialization/InitScriptIntegrationTest.groovy

            output.contains("order: beforeSettings - settings.gradle - settingsEvaluated")
            output.contains("subprojects: :sub1 - :sub2")
        }
    
        @ToBeFixedForConfigurationCache(skip = INVESTIGATE)
        def "can apply settings plugin from init script"() {
            given:
            createDirs("sub1", "sub2")
            def pluginBuilder = new PluginBuilder(file("plugin"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top