Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for sub32a (0.14 sec)

  1. src/hash/fnv/fnv.go

    func (s *sum64a) Sum64() uint64 { return uint64(*s) }
    
    func (s *sum32) Write(data []byte) (int, error) {
    	hash := *s
    	for _, c := range data {
    		hash *= prime32
    		hash ^= sum32(c)
    	}
    	*s = hash
    	return len(data), nil
    }
    
    func (s *sum32a) Write(data []byte) (int, error) {
    	hash := *s
    	for _, c := range data {
    		hash ^= sum32a(c)
    		hash *= prime32
    	}
    	*s = hash
    	return len(data), nil
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 22:36:41 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r26/TestLauncherCrossVersionSpec.groovy

        }
    
        def "runs all test tasks in multi project build when test class passed by name"() {
            setup:
            settingsFile << "include ':sub1', 'sub2', ':sub2:sub3', ':sub4'"
            ["sub1", "sub2/sub3"].each { projectFolderName ->
                file("${projectFolderName}/src/test/java/example/MyTest.java") << """
                    package example;
                    public class MyTest {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 06:59:43 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  3. pkg/volume/util/nested_volumes_test.go

    								{MountPath: "/ignore", Name: "vol2"},
    								{MountPath: "/mnt/sub1/sub2/sub3", Name: "vol3"},
    								{MountPath: "/mnt/sub1/sub2/sub4", Name: "vol4"},
    								{MountPath: "/mnt/sub1/sub2/sub4/skip", Name: "vol5"},
    								{MountPath: "/mnt/sub1/sub2/sub4/skip2", Name: "vol5a"},
    								{MountPath: "/mnt/sub1/sub2/sub6", Name: "vol6"},
    								{MountPath: "/mnt7", Name: "vol7"},
    							},
    						},
    					},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 09:02:45 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/generic.rules

    // x - (C - z) -> x + (z - C) -> (x + z) - C
    (Sub64 x (Sub64 i:(Const64 <t>) z)) && (z.Op != OpConst64 && x.Op != OpConst64) => (Sub64 (Add64 <t> x z) i)
    (Sub32 x (Sub32 i:(Const32 <t>) z)) && (z.Op != OpConst32 && x.Op != OpConst32) => (Sub32 (Add32 <t> x z) i)
    (Sub16 x (Sub16 i:(Const16 <t>) z)) && (z.Op != OpConst16 && x.Op != OpConst16) => (Sub16 (Add16 <t> x z) i)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 22:21:05 UTC 2024
    - 135.3K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. platforms/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/enterprise/DevelocityBuildLifecycleServiceIntegrationTest.groovy

                    it.tasks.register("myTask") {
                    }
                }
            """
            ['foo', 'bar', 'included/sub1', 'included/sub2'].each { file(it).mkdirs() }
            file('included/settings.gradle') << """
                include 'sub1', 'sub2'
            """
            file('included/build.gradle') << """
                tasks.register("myTask") {
                }
            """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 18:42:29 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  10. internal/ringbuffer/ring_buffer_test.go

    		}
    		t.Fatalf("expect read %d bytes but got %d", wroteBytes, readBytes)
    	}
    	if readHash.Sum32() != wroteHash.Sum32() {
    		t.Fatalf("expect read hash 0x%08x but got 0x%08x", readHash.Sum32(), wroteHash.Sum32())
    	}
    }
    
    func TestRingBuffer_BlockingBig(t *testing.T) {
    	// Typical runtime is ~5-10s.
    	defer timeout(60 * time.Second)()
    	const debug = false
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 26.8K bytes
    - Viewed (0)
Back to top