Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 132 for badlen (0.08 sec)

  1. test/fixedbugs/bug273.go

    	g4 = make(chan cblock, big)
    }
    
    func overflowchan() {
    	const ptrSize = unsafe.Sizeof(uintptr(0))
    	g4 = make(chan cblock, 1<<(30*(ptrSize/4)))
    }
    
    func main() {
    	shouldfail(badlen, "badlen")
    	shouldfail(biglen, "biglen")
    	shouldfail(badcap, "badcap")
    	shouldfail(badcap1, "badcap1")
    	shouldfail(bigcap, "bigcap")
    	shouldfail(badchancap, "badchancap")
    	shouldfail(bigchancap, "bigchancap")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 26 14:06:28 UTC 2018
    - 1.3K bytes
    - Viewed (0)
  2. src/runtime/testdata/testprog/badtraceback.go

    	// no GCs actively in progress.
    	runtime.GC()
    
    	// Run badLR1 on its own stack to minimize the stack size and
    	// exercise the stack bounds logic in the hex dump.
    	go badLR1()
    	select {}
    }
    
    //go:noinline
    func badLR1() {
    	// We need two frames on LR machines because we'll smash this
    	// frame's saved LR.
    	badLR2(0)
    }
    
    //go:noinline
    func badLR2(arg int) {
    	// Smash the return PC or saved LR.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 06 23:02:28 UTC 2021
    - 1.2K bytes
    - Viewed (0)
  3. src/vendor/golang.org/x/crypto/chacha20poly1305/chacha20poly1305_generic.go

    	"golang.org/x/crypto/internal/poly1305"
    )
    
    func writeWithPadding(p *poly1305.MAC, b []byte) {
    	p.Write(b)
    	if rem := len(b) % 16; rem != 0 {
    		var buf [16]byte
    		padLen := 16 - rem
    		p.Write(buf[:padLen])
    	}
    }
    
    func writeUint64(p *poly1305.MAC, n int) {
    	var buf [8]byte
    	binary.LittleEndian.PutUint64(buf[:], uint64(n))
    	p.Write(buf[:])
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 00:11:50 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/mod_internal.txt

    go get ./baddep
    ! go build ./baddep
    stderr golang.org[/\\]notx[/\\]useinternal
    stderr 'use of internal package golang.org/x/.* not allowed'
    
    # Replacing an internal module should keep it internal to the same paths.
    go mod edit -module=golang.org/notx
    go mod edit -replace golang.org/x/internal=./replace/golang.org/notx/internal
    go get ./throughdep
    
    go get ./baddep
    ! go build ./baddep
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  5. README.md

    </div>
    
    [![Python](https://img.shields.io/pypi/pyversions/tensorflow.svg)](https://badge.fury.io/py/tensorflow)
    [![PyPI](https://badge.fury.io/py/tensorflow.svg)](https://badge.fury.io/py/tensorflow)
    [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.4724125.svg)](https://doi.org/10.5281/zenodo.4724125)
    [![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/1486/badge)](https://bestpractices.coreinfrastructure.org/projects/1486)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 05 15:00:10 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  6. src/crypto/sha1/sha1.go

    	tmp[0] = 0x80
    	var t uint64
    	if len%64 < 56 {
    		t = 56 - len%64
    	} else {
    		t = 64 + 56 - len%64
    	}
    
    	// Length in bits.
    	len <<= 3
    	padlen := tmp[:t+8]
    	byteorder.BePutUint64(padlen[t:], len)
    	d.Write(padlen)
    
    	if d.nx != 0 {
    		panic("d.nx != 0")
    	}
    
    	var digest [Size]byte
    
    	byteorder.BePutUint32(digest[0:], d.h[0])
    	byteorder.BePutUint32(digest[4:], d.h[1])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:50:58 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/util/MD4.java

            // pad output to 56 mod 64; as RFC1320 puts it: congruent to 448 mod 512
            int bufferNdx = (int)(count % BLOCK_LENGTH);
            int padLen = (bufferNdx < 56) ? (56 - bufferNdx) : (120 - bufferNdx);
    
            // padding is alwas binary 1 followed by binary 0s
            byte[] tail = new byte[padLen + 8];
            tail[0] = (byte)0x80;
    
            // append length before final transform:
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 9.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java

          h ^= fingerprint(buf, bufLen);
          h = remix(h);
          buf[bufLen++] = getChar(h);
    
          int x0 = buf[bufLen - 1] & 0xff;
          int x1 = buf[bufLen - 2] & 0xff;
          int x2 = buf[bufLen - 3] & 0xff;
          int x3 = buf[bufLen / 2] & 0xff;
          buf[((x0 << 16) + (x1 << 8) + x2) % bufLen] ^= x3;
          buf[((x1 << 16) + (x2 << 8) + x3) % bufLen] ^= i % 256;
        }
        assertEquals(0x7a1d67c50ec7e167L, h);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 26 15:56:47 UTC 2017
    - 6.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/FilteredMultimapTest.java

            public boolean apply(Entry<String, Integer> entry) {
              return !"badkey".equals(entry.getKey()) && !((Integer) 55556).equals(entry.getValue());
            }
          };
    
      protected Multimap<String, Integer> create() {
        Multimap<String, Integer> unfiltered = HashMultimap.create();
        unfiltered.put("foo", 55556);
        unfiltered.put("badkey", 1);
        return Multimaps.filterEntries(unfiltered, ENTRY_PREDICATE);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.3K bytes
    - Viewed (0)
  10. operator/cmd/mesh/testdata/manifest-generate/input/flag_force.yaml

    apiVersion: install.istio.io/v1alpha1
    kind: IstioOperator
    spec:
      profile: empty
      components:
        pilot:
          enabled: true
      values:
        global:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 07 02:36:43 UTC 2020
    - 171 bytes
    - Viewed (0)
Back to top