Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for sub32 (0.04 sec)

  1. src/math/bits/example_math_test.go

    func ExampleSub32() {
    	// First number is 33<<32 + 23
    	n1 := []uint32{33, 23}
    	// Second number is 21<<32 + 12
    	n2 := []uint32{21, 12}
    	// Sub them together without producing carry.
    	d1, carry := bits.Sub32(n1[1], n2[1], 0)
    	d0, _ := bits.Sub32(n1[0], n2[0], carry)
    	nsum := []uint32{d0, d1}
    	fmt.Printf("%v - %v = %v (carry bit was %v)\n", n1, n2, nsum, carry)
    
    	// First number is 3<<32 + 2147483647
    	n1 = []uint32{3, 0x7fffffff}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 11 21:27:05 UTC 2021
    - 6.3K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/test_json_prints.txt

    stdout '"Action":"output","Package":"p","Test":"Test/Sub1","Output":"Sub2"}'
    stdout '"Action":"output","Package":"p","Test":"Test/Sub1","Output":"--- PASS: Test/Sub1 \([\d.]+s\)\\n"}'
    stdout '"Action":"pass","Package":"p","Test":"Test/Sub1","Elapsed"'
    stdout '"Action":"output","Package":"p","Test":"Test/Sub3","Output":"foo bar"}'
    stdout '"Action":"output","Package":"p","Test":"Test/Sub3","Output":"baz\\n"}'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 19:50:36 UTC 2022
    - 1.5K 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. 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)
  5. 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)
  6. src/hash/fnv/fnv.go

    	s[1] = offset128Lower
    	return &s
    }
    
    func (s *sum32) Reset()   { *s = offset32 }
    func (s *sum32a) Reset()  { *s = offset32 }
    func (s *sum64) Reset()   { *s = offset64 }
    func (s *sum64a) Reset()  { *s = offset64 }
    func (s *sum128) Reset()  { s[0] = offset128Higher; s[1] = offset128Lower }
    func (s *sum128a) Reset() { s[0] = offset128Higher; s[1] = offset128Lower }
    
    func (s *sum32) Sum32() uint32  { return uint32(*s) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 22:36:41 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  7. 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)
  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. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeContinuousBuildIntegrationTest.groovy

                        org.test.Library.print("First");
                    }
                }
            """
            def mainSourceSub2 = file("sub2/src/main/java/com/example/sub2/Main.java")
            mainSourceSub2 << """
                package com.example.sub2;
    
                public class Main {
                    public static void main(String... args) {
                        org.test.Library.print("Second");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 06 08:15:28 UTC 2023
    - 8.3K bytes
    - Viewed (0)
Back to top