Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 69 for nonZero (0.15 sec)

  1. test/fixedbugs/issue8606b.go

    // contents.  There's no way to verify this in the language, and
    // codegen tests in test/codegen can't really detect ordering
    // optimizations like this. Instead, we generate invalid strings with
    // bad backing store pointers but nonzero length, so we can check that
    // the backing store never gets compared.
    //
    // We use two different bad strings so that pointer comparisons of
    // backing store pointers fail.
    
    package main
    
    import (
    	"fmt"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  2. src/cmd/gofmt/gofmt.go

    // avoid invoking the reporter until it has finished any parallelizable work.)
    //
    // If f returns a non-nil error, that error will be reported after f's output
    // (if any) and will cause a nonzero final exit code.
    func (s *sequencer) Add(weight int64, f func(*reporter) error) {
    	if weight < 0 || weight > s.maxWeight {
    		weight = s.maxWeight
    	}
    	if err := s.sem.Acquire(context.TODO(), weight); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/primitives/UnsignedBytes.java

                 * corresponds to the least significant nonzero byte in lw ^ rw, since lw and rw are
                 * little-endian. Long.numberOfTrailingZeros(diff) tells us the least significant
                 * nonzero bit, and zeroing out the first three bits of L.nTZ gives us the shift to get
                 * that least significant nonzero byte.
                 */
                int n = Long.numberOfTrailingZeros(lw ^ rw) & ~0x7;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  4. src/cmd/link/internal/ld/elf_test.go

    	if section.Addr != 0 {
    		t.Fatalf("expected Addr == 0 for .shstrtab got %x", section.Addr)
    	}
    	if section.Size == 0 {
    		t.Fatal("expected nonzero Size for .shstrtab got 0")
    	}
    	if section.Flags&elf.SHF_ALLOC != 0 {
    		t.Fatal("expected zero alloc flag got nonzero for .shstrtab")
    	}
    	for idx, p := range elfFile.Progs {
    		if section.Offset >= p.Off && section.Offset < p.Off+p.Filesz {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 13:44:07 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/UnsignedBytes.java

                 * corresponds to the least significant nonzero byte in lw ^ rw, since lw and rw are
                 * little-endian. Long.numberOfTrailingZeros(diff) tells us the least significant
                 * nonzero bit, and zeroing out the first three bits of L.nTZ gives us the shift to get
                 * that least significant nonzero byte.
                 */
                int n = Long.numberOfTrailingZeros(lw ^ rw) & ~0x7;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  6. hack/lib/logging.sh

      kube::log::error_exit "Error in ${BASH_SOURCE[1]}:${BASH_LINENO[0]}. '${BASH_COMMAND}' exited with status ${err}" "${1:-1}" 1
    }
    
    kube::log::install_errexit() {
      # trap ERR to provide an error handler whenever a command exits nonzero  this
      # is a more verbose version of set -o errexit
      trap 'kube::log::errexit' ERR
    
      # setting errtrace allows our ERR trap handler to be propagated to functions,
      # expansions and subshells
      set -o errtrace
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 06 14:40:08 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. src/net/fd_windows.go

    	if err := fd.init(); err != nil {
    		return nil, err
    	}
    
    	if ctx.Done() != nil {
    		// Propagate the Context's deadline and cancellation.
    		// If the context is already done, or if it has a nonzero deadline,
    		// ensure that that is applied before the call to ConnectEx begins
    		// so that we don't return spurious connections.
    		defer fd.pfd.SetWriteDeadline(noDeadline)
    
    		if ctx.Err() != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 16:46:10 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/WebSocket.kt

       * is used to calculate this value. It also doesn't include any bytes buffered by the operating
       * system or network intermediaries. This method returns 0 if no messages are waiting in the
       * queue. If may return a nonzero value after the web socket has been canceled; this indicates
       * that enqueued messages were not transmitted.
       */
      fun queueSize(): Long
    
      /**
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/testdata/mips.s

    	NOP	F2
    
    	//	LNOP imm
    	//	{
    	//		outcode(int($1), &$2, 0, &nullgen);
    	//	}
    	NOP	$4
    
    	//
    	// special
    	//
    	SYSCALL
    	BREAK
    	SYNC
    
    	//
    	// conditional move on zero/nonzero gp value
    	//
    	CMOVN	R1, R2, R3
    	CMOVZ	R1, R2, R3
    
    	//
    	// conditional move on fp false/true
    	//
    	CMOVF	R1, R2
    	CMOVT	R1, R2
    
    	//
    	// conditional traps
    	//
    	TEQ	$1, R1, R2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 08 12:17:12 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  10. src/reflect/benchmark_test.go

    		// b.Fatalf("%v has no ptrToThis field; was it removed from rtype?", t)
    	}
    	if ptrToThis.Int() != 0 {
    		b.Fatalf("%v.ptrToThis unexpectedly nonzero", t)
    	}
    	b.ResetTimer()
    
    	// Now benchmark calling PointerTo on it: we'll have to hit the ptrMap cache on
    	// every call.
    	b.RunParallel(func(pb *testing.PB) {
    		for pb.Next() {
    			PointerTo(t)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Nov 19 17:09:03 UTC 2023
    - 8.8K bytes
    - Viewed (0)
Back to top