Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 40 for sub32 (0.06 sec)

  1. pkg/kubelet/cm/dra/state/checkpoint.go

    	object = strings.Replace(object, "ClaimInfoStateListWithoutResourceHandles", "ClaimInfoStateList", 1)
    	hash := fnv.New32a()
    	fmt.Fprintf(hash, "%v", object)
    	if checkSum != checksum.Checksum(hash.Sum32()) {
    		return errors.ErrCorruptCheckpoint
    	}
    	return nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 18 15:23:10 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  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/compress/zlib/reader.go

    			err = io.ErrUnexpectedEOF
    		}
    		z.err = err
    		return n, z.err
    	}
    	// ZLIB (RFC 1950) is big-endian, unlike GZIP (RFC 1952).
    	checksum := binary.BigEndian.Uint32(z.scratch[:4])
    	if checksum != z.digest.Sum32() {
    		z.err = ErrChecksum
    		return n, z.err
    	}
    	return n, io.EOF
    }
    
    // Calling Close does not close the wrapped [io.Reader] originally passed to [NewReader].
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 23:20:03 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/tests/optimize.mlir

    // CHECK: %[[CLIPBYVALUE_2:.*]] = "tf.ClipByValue"
    // CHECK-SAME: (tensor<1x96x96x1xi32>, tensor<i32>, tensor<i32>) -> tensor<1x96x96x1xi32>
    // CHECK: %[[SUB_2:.*]] = "tf.Sub"(%[[CLIPBYVALUE_2]], {{.*}}) : (tensor<1x96x96x1xi32>, tensor<i32>) -> tensor<1x96x96x1xi32>
    }
    
    func.func @consecutive_add_add(%arg0: tensor<i32>) -> (tensor<i32>) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 8.1K bytes
    - Viewed (0)
Back to top