Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for Cummings (0.14 sec)

  1. src/cmd/internal/notsha256/sha256.go

    		block(d, p[:n])
    		p = p[n:]
    	}
    	if len(p) > 0 {
    		d.nx = copy(d.x[:], p)
    	}
    	return
    }
    
    func (d *digest) Sum(in []byte) []byte {
    	// Make a copy of d so that caller can keep writing and summing.
    	d0 := *d
    	hash := d0.checkSum()
    	return append(in, hash[:]...)
    }
    
    func (d *digest) checkSum() [Size]byte {
    	len := d.len
    	// Padding. Add a 1 bit and 0 bits until 56 bytes mod 64.
    	var tmp [64]byte
    Registered: 2024-06-12 16:32
    - Last Modified: 2022-04-29 14:23
    - 2.9K bytes
    - Viewed (0)
  2. tensorflow/cc/saved_model/metrics.cc

        "/tensorflow/core/saved_model/read/count",
        "The number of SavedModels successfully loaded.", "write_version");
    
    // Counter that tracks number of calls for each SavedModel write API. Summing
    // across "api_label" is not expected to equal the ".../write/count" cell value
    // because programs can invoke more than one API to save a single SM and
    // because the API may error out before successfully writing a SM.
    Registered: 2024-06-16 05:45
    - Last Modified: 2024-01-18 23:43
    - 13.4K bytes
    - Viewed (0)
  3. src/crypto/md5/md5.go

    		}
    		p = p[n:]
    	}
    	if len(p) > 0 {
    		d.nx = copy(d.x[:], p)
    	}
    	return
    }
    
    func (d *digest) Sum(in []byte) []byte {
    	// Make a copy of d so that caller can keep writing and summing.
    	d0 := *d
    	hash := d0.checkSum()
    	return append(in, hash[:]...)
    }
    
    func (d *digest) checkSum() [Size]byte {
    	// Append 0x80 to the end of the message and then append zeros
    Registered: 2024-06-12 16:32
    - Last Modified: 2024-05-13 18:57
    - 4.3K bytes
    - Viewed (0)
  4. src/crypto/sha1/sha1.go

    		p = p[n:]
    	}
    	if len(p) > 0 {
    		d.nx = copy(d.x[:], p)
    	}
    	return
    }
    
    func (d *digest) Sum(in []byte) []byte {
    	boring.Unreachable()
    	// Make a copy of d so that caller can keep writing and summing.
    	d0 := *d
    	hash := d0.checkSum()
    	return append(in, hash[:]...)
    }
    
    func (d *digest) checkSum() [Size]byte {
    	len := d.len
    	// Padding.  Add a 1 bit and 0 bits until 56 bytes mod 64.
    Registered: 2024-06-12 16:32
    - Last Modified: 2024-05-16 16:50
    - 5.7K bytes
    - Viewed (0)
  5. src/vendor/golang.org/x/crypto/sha3/sha3.go

    func (d *state) Sum(in []byte) []byte {
    	if d.state != spongeAbsorbing {
    		panic("sha3: Sum after Read")
    	}
    
    	// Make a copy of the original hash so that caller can keep writing
    	// and summing.
    	dup := d.clone()
    	hash := make([]byte, dup.outputLen, 64) // explicit cap to allow stack allocation
    	dup.Read(hash)
    	return append(in, hash...)
    Registered: 2024-06-12 16:32
    - Last Modified: 2024-06-04 16:19
    - 5.4K bytes
    - Viewed (0)
  6. src/crypto/sha256/sha256.go

    		p = p[n:]
    	}
    	if len(p) > 0 {
    		d.nx = copy(d.x[:], p)
    	}
    	return
    }
    
    func (d *digest) Sum(in []byte) []byte {
    	boring.Unreachable()
    	// Make a copy of d so that caller can keep writing and summing.
    	d0 := *d
    	hash := d0.checkSum()
    	if d0.is224 {
    		return append(in, hash[:Size224]...)
    	}
    	return append(in, hash[:]...)
    }
    
    func (d *digest) checkSum() [Size]byte {
    	len := d.len
    Registered: 2024-06-12 16:32
    - Last Modified: 2024-05-16 16:50
    - 5.7K bytes
    - Viewed (0)
  7. src/crypto/sha512/sha512.go

    	return
    }
    
    func (d *digest) Sum(in []byte) []byte {
    	if d.function != crypto.SHA512_224 && d.function != crypto.SHA512_256 {
    		boring.Unreachable()
    	}
    	// Make a copy of d so that caller can keep writing and summing.
    	d0 := new(digest)
    	*d0 = *d
    	hash := d0.checkSum()
    	switch d0.function {
    	case crypto.SHA384:
    		return append(in, hash[:Size384]...)
    	case crypto.SHA512_224:
    		return append(in, hash[:Size224]...)
    Registered: 2024-06-12 16:32
    - Last Modified: 2024-05-16 16:50
    - 9.2K bytes
    - Viewed (0)
  8. src/runtime/internal/sys/intrinsics.go

    const m2 = 0x0f0f0f0f0f0f0f0f // 00001111 ...
    
    // OnesCount64 returns the number of one bits ("population count") in x.
    func OnesCount64(x uint64) int {
    	// Implementation: Parallel summing of adjacent bits.
    	// See "Hacker's Delight", Chap. 5: Counting Bits.
    	// The following pattern shows the general approach:
    	//
    	//   x = x>>1&(m0&m) + x&(m0&m)
    	//   x = x>>2&(m1&m) + x&(m1&m)
    Registered: 2024-06-12 16:32
    - Last Modified: 2023-03-14 08:10
    - 7.4K bytes
    - Viewed (0)
  9. src/math/bits/bits.go

    }
    
    // OnesCount64 returns the number of one bits ("population count") in x.
    func OnesCount64(x uint64) int {
    	// Implementation: Parallel summing of adjacent bits.
    	// See "Hacker's Delight", Chap. 5: Counting Bits.
    	// The following pattern shows the general approach:
    	//
    	//   x = x>>1&(m0&m) + x&(m0&m)
    	//   x = x>>2&(m1&m) + x&(m1&m)
    Registered: 2024-06-12 16:32
    - Last Modified: 2023-10-19 11:59
    - 17.9K bytes
    - Viewed (0)
  10. src/testing/benchmark.go

    	r := &b.result
    	// The aggregated BenchmarkResults resemble running all subbenchmarks as
    	// in sequence in a single benchmark.
    	r.N = 1
    	r.T += time.Duration(other.NsPerOp())
    	if other.Bytes == 0 {
    		// Summing Bytes is meaningless in aggregate if not all subbenchmarks
    		// set it.
    		b.missingBytes = true
    		r.Bytes = 0
    	}
    	if !b.missingBytes {
    		r.Bytes += other.Bytes
    	}
    Registered: 2024-06-12 16:32
    - Last Modified: 2024-05-23 01:00
    - 23.9K bytes
    - Viewed (0)
Back to top