- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 234 for Zeros (0.13 sec)
-
src/runtime/mpallocbits.go
k := uint(1) // current minimum length of runs of ones in x. for { // Shrink all runs of zeros by p places (except the top zeros). for p > 0 { if p <= k { // Shift p ones down into the top of each run of zeros. x |= x >> (p & 63) if x&(x+1) == 0 { // no more zeros (except at the top). continue outer } break }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 18 15:13:43 UTC 2024 - 12.5K bytes - Viewed (0) -
src/cmd/internal/buildid/rewrite.go
cstart := r.start - r.off if cstart < 0 { cstart = 0 } cend := r.end - r.off if cend > int64(n) { cend = int64(n) } zeros := make([]byte, cend-cstart) copy(p[cstart:cend], zeros) } r.off += int64(n) return n, err } func findMachoCodeSignature(r any) (*macho.File, codesign.CodeSigCmd, bool) { ra, ok := r.(io.ReaderAt) if !ok {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 5.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/examples/mnist/mnist_ops_test.py
class MnistOpsDefsTest(test_utils.OpsDefsTest): def test_new_conv2d_relu(self): input_ = tf.random.uniform([1, 4, 4, 1]) filter_ = tf.random.uniform([2, 2, 1, 8]) bias = tf.zeros([8]) kwargs = { 'input_': input_, 'filter_': filter_, 'bias': bias, 'stride_w': 2, 'stride_h': 2, 'dilation_w': 1, 'dilation_h': 1,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Sep 28 21:37:05 UTC 2021 - 4K bytes - Viewed (0) -
src/net/netip/slow_test.go
// license that can be found in the LICENSE file. package netip_test import ( "fmt" . "net/netip" "strconv" "strings" ) // zeros is a slice of eight stringified zeros. It's used in // parseIPSlow to construct slices of specific amounts of zero fields, // from 1 to 8. var zeros = []string{"0", "0", "0", "0", "0", "0", "0", "0"} // parseIPSlow is like ParseIP, but aims for readability above
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 11 19:54:31 UTC 2024 - 5.8K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/caching/CachedDependencyResolutionIntegrationTest.groovy
changedResolve() } @Issue("GRADLE-2781") def "no leading zeros in sha1 checksums supported"() { given: def sha1 = new File("${module.jarFile.absolutePath}.sha1") server.etags = null server.sendLastModified = false byte[] jarBytes = [0, 0, 0, 5] // this should produce leading zeros module.jarFile.bytes = jarBytes
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 5.7K bytes - Viewed (0) -
src/cmd/internal/obj/x86/pcrelative_test.go
package x86_test import ( "bytes" "fmt" "internal/testenv" "os" "path/filepath" "testing" ) const asmData = ` GLOBL zeros<>(SB),8,$64 TEXT ·testASM(SB),4,$0 VMOVUPS zeros<>(SB), %s // PC relative relocation is off by 1, for Y8-Y15, Z8-15 and Z24-Z31 RET ` const goData = ` package main func testASM() func main() { testASM() } `
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 15 23:16:01 UTC 2024 - 2.3K bytes - Viewed (0) -
src/math/big/intconv.go
length := len(sign) + len(prefix) + zeros + len(digits) if width, widthSet := s.Width(); widthSet && length < width { // pad as specified switch d := width - length; { case s.Flag('-'): // pad on the right with spaces; supersedes '0' when both specified right = d case s.Flag('0') && !precisionSet: // pad with zeros unless precision also specified zeros = d default: // pad on the left with spaces
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 11:59:09 UTC 2023 - 6.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/BenchmarkHelpers.java
static { StringBuilder sb = new StringBuilder(); String zeros = "0\u0660\u06f0\u07c0\u0966\u09e6\u0a66\u0ae6\u0b66\u0be6\u0c66" + "\u0ce6\u0d66\u0e50\u0ed0\u0f20\u1040\u1090\u17e0\u1810\u1946" + "\u19d0\u1b50\u1bb0\u1c40\u1c50\ua620\ua8d0\ua900\uaa50\uff10"; for (char base : zeros.toCharArray()) { for (int offset = 0; offset < 10; offset++) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3K bytes - Viewed (0) -
hack/verify-netparse-cve.sh
\) -name '*.go' } # find files using net.ParseIP() netparseip_matches=$(find_files | xargs grep -nE "net.ParseIP\(.*\)" 2>/dev/null) || true if [[ -n "${netparseip_matches}" ]]; then echo "net.ParseIP reject leading zeros in the dot-decimal notation of IPv4 addresses since golang 1.17:" >&2 echo "${netparseip_matches}" >&2 echo >&2 echo "Use k8s.io/utils/net ParseIPSloppy() to parse IP addresses. Kubernetes #100895" >&2 echo >&2
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:07:31 UTC 2024 - 2.3K bytes - Viewed (0) -
src/internal/bytealg/indexbyte_arm64.s
NEG R4<<1, R4 LSL R4, R6, R6 LSR R4, R6, R6 tail: // Check that we have found a character CBZ R6, fail // Count the trailing zeros using bit reversing RBIT R6, R6 // Compensate the last post-increment SUB $0x20, R3, R3 // And count the leading zeros CLZ R6, R6 // R6 is twice the offset into the fragment ADD R6>>1, R3, R0 // Compute the offset result SUB R11, R0, R0 MOVD R0, (R8)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 08 20:52:47 UTC 2018 - 3.3K bytes - Viewed (0)