Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 64 for sub32 (0.04 sec)

  1. src/testing/helper_test.go

        helperfuncs_test.go:56: 4
        --- FAIL: TestTBHelper/sub \([^)]+\)
            helperfuncs_test.go:59: 5
            helperfuncs_test.go:24: 6
            helperfuncs_test.go:58: 7
        --- FAIL: TestTBHelper/sub2 \([^)]+\)
            helperfuncs_test.go:80: 11
        helperfuncs_test.go:84: recover 12
        helperfuncs_test.go:86: GenericFloat64
        helperfuncs_test.go:87: GenericInt
        helper_test.go:22: 8
        helperfuncs_test.go:73: 9
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:24:47 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  2. src/hash/crc32/crc32.go

    	// initialization in this case.
    	d.crc = update(d.crc, d.tab, p, false)
    	return len(p), nil
    }
    
    func (d *digest) Sum32() uint32 { return d.crc }
    
    func (d *digest) Sum(in []byte) []byte {
    	s := d.Sum32()
    	return append(in, byte(s>>24), byte(s>>16), byte(s>>8), byte(s))
    }
    
    // Checksum returns the CRC-32 checksum of data
    // using the polynomial represented by the [Table].
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 12 05:36:29 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. src/hash/adler32/adler32.go

    		s1 %= mod
    		s2 %= mod
    		p = q
    	}
    	return digest(s2<<16 | s1)
    }
    
    func (d *digest) Write(p []byte) (nn int, err error) {
    	*d = update(*d, p)
    	return len(p), nil
    }
    
    func (d *digest) Sum32() uint32 { return uint32(*d) }
    
    func (d *digest) Sum(in []byte) []byte {
    	s := uint32(*d)
    	return append(in, byte(s>>24), byte(s>>16), byte(s>>8), byte(s))
    }
    
    // Checksum returns the Adler-32 checksum of data.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 12 05:36:29 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. src/cmd/link/internal/loader/loader_test.go

    	addDummyObjSym(t, ldr, or, "type:uint8")
    	es1 := ldr.LookupOrCreateSym("outer", 0)
    	ldr.MakeSymbolUpdater(es1).SetSize(101)
    	es2 := ldr.LookupOrCreateSym("sub1", 0)
    	es3 := ldr.LookupOrCreateSym("sub2", 0)
    	es4 := ldr.LookupOrCreateSym("sub3", 0)
    	es5 := ldr.LookupOrCreateSym("sub4", 0)
    	es6 := ldr.LookupOrCreateSym("sub5", 0)
    
    	// Should not have an outer sym initially
    	if ldr.OuterSym(es1) != 0 {
    		t.Errorf("es1 outer sym set ")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 19:08:09 UTC 2024
    - 12K bytes
    - Viewed (0)
  5. platforms/core-runtime/base-services/src/test/groovy/org/gradle/util/PathTest.groovy

            path = Path.path(':sub')
    
            then:
            path.relativePath(':') == ':'
            path.relativePath(':sub') == ':sub'
            path.relativePath(':sub:path') == 'path'
            path.relativePath(':sub2:path') == ':sub2:path'
            path.relativePath(':other:path') == ':other:path'
        }
    
        def 'converts relative path to relative path'() {
            def path = path(':')
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 02 12:54:37 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  6. src/testing/helperfuncs_test.go

    		wg.Add(1)
    		go func() {
    			notHelperCallingHelper(t, "parallel")
    			wg.Done()
    		}()
    	}
    	wg.Wait()
    }
    
    func helperSubCallingHelper(t *testing.T, msg string) {
    	t.Helper()
    	t.Run("sub2", func(t *testing.T) {
    		t.Helper()
    		t.Fatal(msg)
    	})
    }
    
    func recoverHelper(t *testing.T, msg string) {
    	t.Helper()
    	defer func() {
    		t.Helper()
    		if err := recover(); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:24:47 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  7. pkg/kubelet/cm/cpumanager/state/checkpoint.go

    	object = strings.Replace(object, "CPUManagerCheckpointV1", "CPUManagerCheckpoint", 1)
    	cp.Checksum = ck
    
    	hash := fnv.New32a()
    	fmt.Fprintf(hash, "%v", object)
    	if cp.Checksum != checksum.Checksum(hash.Sum32()) {
    		return errors.ErrCorruptCheckpoint
    	}
    
    	return nil
    }
    
    // VerifyChecksum verifies that current checksum of checkpoint is valid in v2 format
    func (cp *CPUManagerCheckpointV2) VerifyChecksum() error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 27 01:24:22 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  8. src/compress/zlib/writer.go

    	if !z.wroteHeader {
    		z.err = z.writeHeader()
    	}
    	if z.err != nil {
    		return z.err
    	}
    	z.err = z.compressor.Close()
    	if z.err != nil {
    		return z.err
    	}
    	checksum := z.digest.Sum32()
    	// ZLIB (RFC 1950) is big-endian, unlike GZIP (RFC 1952).
    	binary.BigEndian.PutUint32(z.scratch[:], checksum)
    	_, z.err = z.w.Write(z.scratch[0:4])
    	return z.err
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 27 18:51:27 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  9. src/log/slog/handler_test.go

    			}
    			sub1 := h.WithAttrs([]Attr{Bool("sub1", true)})
    			sub2 := h.WithAttrs([]Attr{Bool("sub2", true)})
    			var wg sync.WaitGroup
    			for i := 0; i < count; i++ {
    				sub1Record := NewRecord(time.Time{}, LevelInfo, "hello from sub1", 0)
    				sub1Record.AddAttrs(Int("i", i))
    				sub2Record := NewRecord(time.Time{}, LevelInfo, "hello from sub2", 0)
    				sub2Record.AddAttrs(Int("i", i))
    				wg.Add(1)
    				go func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 02 13:57:53 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  10. subprojects/diagnostics/src/integTest/groovy/org/gradle/api/tasks/diagnostics/HelpTaskIntegrationTest.groovy

         -
    
    BUILD SUCCESSFUL"""
        }
    
        def "listsCommonDynamicAvailableValues"() {
            createDirs("sub1", "sub2")
            when:
            run "help", "--task", "hello"
            then:
            output.contains """Detailed task information for hello
    
    Paths
         :sub1:hello
         :sub2:hello
    
    Type
         CustomTask (CustomTask)
    
    Options
         --stringValue     Configures a string value in CustomTask.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 14K bytes
    - Viewed (0)
Back to top