Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 44 for shorterOf (1.47 sec)

  1. guava/src/com/google/common/primitives/UnsignedBytes.java

       * compares, using {@link #compare(byte, byte)}), the first pair of values that follow any common
       * prefix, or when one array is a prefix of the other, treats the shorter array as the lesser. For
       * example, {@code [] < [0x01] < [0x01, 0x7F] < [0x01, 0x80] < [0x02]}. Values are treated as
       * unsigned.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  2. src/cmd/gofmt/gofmt.go

    		no, erro := fout.WriteAt(orig, 0)
    		if erro != nil {
    			// That failed too.
    			restoreFail(erro)
    			return err
    		}
    
    		if no < n {
    			// Original file is shorter. Truncate.
    			if erro = fout.Truncate(int64(no)); erro != nil {
    				restoreFail(erro)
    				return err
    			}
    		}
    
    		if erro := fout.Close(); erro != nil {
    			restoreFail(erro)
    			return err
    		}
    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. src/encoding/asn1/marshal.go

    }
    
    func (s setEncoder) Encode(dst []byte) {
    	// Per X690 Section 11.6: The encodings of the component values of a
    	// set-of value shall appear in ascending order, the encodings being
    	// compared as octet strings with the shorter components being padded
    	// at their trailing end with 0-octets.
    	//
    	// First we encode each element to its TLV encoding and then use
    	// octetSort to get the ordering expected by X690 DER rules before
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  4. src/syscall/fs_wasip1.go

    		dirFd,
    		pathPtr,
    		pathLen,
    		unsafe.Pointer(&buf[0]),
    		size(len(buf)),
    		unsafe.Pointer(&nwritten),
    	)
    	// For some reason wasmtime returns ERANGE when the output buffer is
    	// shorter than the symbolic link value. os.Readlink expects a nil
    	// error and uses the fact that n is greater or equal to the buffer
    	// length to assume that it needs to try again with a larger size.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

          afe.initCause(t);
          throw afe;
        }
      }
    
      /**
       * Delays, via Thread.sleep, for the given millisecond delay, but if the sleep is shorter than
       * specified, may re-sleep or yield until time elapses.
       */
      static void delay(long millis) throws InterruptedException {
        long startTime = System.nanoTime();
        long ns = millis * 1000 * 1000;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  6. src/runtime/mprof.go

    // Copyright 2009 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Malloc profiling.
    // Patterned after tcmalloc's algorithms; shorter code.
    
    package runtime
    
    import (
    	"internal/abi"
    	"internal/profilerecord"
    	"internal/runtime/atomic"
    	"runtime/internal/sys"
    	"unsafe"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  7. src/cmd/go/internal/load/test.go

    		ptest.Target = ""
    		// Note: The preparation of the vet config requires that common
    		// indexes in ptest.Imports and ptest.Internal.RawImports
    		// all line up (but RawImports can be shorter than the others).
    		// That is, for 0 ≤ i < len(RawImports),
    		// RawImports[i] is the import string in the program text, and
    		// Imports[i] is the expanded import string (vendoring applied or relative path expanded away).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 14:01:23 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  8. src/go/types/unify.go

    	enableInterfaceInference bool // use shared methods for better inference
    }
    
    // newUnifier returns a new unifier initialized with the given type parameter
    // and corresponding type argument lists. The type argument list may be shorter
    // than the type parameter list, and it may contain nil types. Matching type
    // parameters and arguments must have the same index.
    func newUnifier(tparams []*TypeParam, targs []Type, enableInterfaceInference bool) *unifier {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/unify.go

    	enableInterfaceInference bool // use shared methods for better inference
    }
    
    // newUnifier returns a new unifier initialized with the given type parameter
    // and corresponding type argument lists. The type argument list may be shorter
    // than the type parameter list, and it may contain nil types. Matching type
    // parameters and arguments must have the same index.
    func newUnifier(tparams []*TypeParam, targs []Type, enableInterfaceInference bool) *unifier {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Ordering.java

       * Returns a new ordering which sorts iterables by comparing corresponding elements pairwise until
       * a nonzero result is found; imposes "dictionary order". If the end of one iterable is reached,
       * but not the other, the shorter iterable is considered to be less than the longer one. For
       * example, a lexicographical natural ordering over integers considers {@code [] < [1] < [1, 1] <
       * [1, 2] < [2]}.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 39.4K bytes
    - Viewed (0)
Back to top