Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 84 for linear_1 (0.18 sec)

  1. guava/src/com/google/common/collect/SortedLists.java

        checkNotNull(presentBehavior);
        checkNotNull(absentBehavior);
        if (!(list instanceof RandomAccess)) {
          list = Lists.newArrayList(list);
        }
        // TODO(lowasser): benchmark when it's best to do a linear search
    
        int lower = 0;
        int upper = list.size() - 1;
    
        while (lower <= upper) {
          int middle = (lower + upper) >>> 1;
          int c = comparator.compare(key, list.get(middle));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/SortedLists.java

        checkNotNull(presentBehavior);
        checkNotNull(absentBehavior);
        if (!(list instanceof RandomAccess)) {
          list = Lists.newArrayList(list);
        }
        // TODO(lowasser): benchmark when it's best to do a linear search
    
        int lower = 0;
        int upper = list.size() - 1;
    
        while (lower <= upper) {
          int middle = (lower + upper) >>> 1;
          int c = comparator.compare(key, list.get(middle));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  3. src/mime/encodedword.go

    // one byte of non-whitespace.
    func hasNonWhitespace(s string) bool {
    	for _, b := range s {
    		switch b {
    		// Encoded-words can only be separated by linear white spaces which does
    		// not include vertical tabs (\v).
    		case ' ', '\t', '\n', '\r':
    		default:
    			return true
    		}
    	}
    	return false
    }
    
    // qDecode decodes a Q encoded string.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 16:12:35 UTC 2024
    - 10K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/decompose_reduce_dataset.cc

          return WalkResult::advance();
        OpBuilder builder(reduce_dataset);
        Location loc = reduce_dataset.getLoc();
    
        // Get reduce function signature for dataset iteration types.
        // Note: lookupSymbol is a linear lookup which means the overall
        // complexity = # ReduceDataset ops x # of functions in module.
        func::FuncOp reduce_func =
            function->getParentOfType<ModuleOp>().lookupSymbol<FuncOp>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/xla_device.h

    limitations under the License.
    ==============================================================================*/
    
    // The XlaDevice executes a TensorFlow graph using the XLA linear algebra
    // runtime.
    //
    // Operators assigned to an XlaDevice are compiled into XLA computations.
    // Tensors on an XlaDevice are thin wrappers around XLA ScopedShapedBuffers.
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  6. src/runtime/runtime.go

    	unlock(&ticks.lock)
    }
    
    // minTimeForTicksPerSecond is the minimum elapsed time we require to consider our ticksPerSecond
    // measurement to be of decent enough quality for profiling.
    //
    // There's a linear relationship here between minimum time and error from the true value.
    // The error from the true ticks-per-second in a linux/amd64 VM seems to be:
    // -   1 ms -> ~0.02% error
    // -   5 ms -> ~0.004% error
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:47 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/math/BigIntegerMath.java

        }
      }
    
      /*
       * The maximum number of bits in a square root for which we'll precompute an explicit half power
       * of two. This can be any value, but higher values incur more class load time and linearly
       * increasing memory consumption.
       */
      @VisibleForTesting static final int SQRT2_PRECOMPUTE_THRESHOLD = 256;
    
      @VisibleForTesting
      static final BigInteger SQRT2_PRECOMPUTED_BITS =
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/math/BigIntegerMath.java

        }
      }
    
      /*
       * The maximum number of bits in a square root for which we'll precompute an explicit half power
       * of two. This can be any value, but higher values incur more class load time and linearly
       * increasing memory consumption.
       */
      @VisibleForTesting static final int SQRT2_PRECOMPUTE_THRESHOLD = 256;
    
      @VisibleForTesting
      static final BigInteger SQRT2_PRECOMPUTED_BITS =
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  9. src/internal/trace/gc.go

    	// We think of the mutator utilization over time as the
    	// box-filtered utilization function, which we call the
    	// "windowed mutator utilization function". The resulting
    	// function is continuous and piecewise linear (unless
    	// window==0, which we handle elsewhere), where the boundaries
    	// between segments occur when either edge of the window
    	// encounters a change in the instantaneous mutator
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 26K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/stackalloc.go

    // TODO: this could be quadratic if lots of variables are live across lots of
    // basic blocks. Figure out a way to make this function (or, more precisely, the user
    // of this function) require only linear size & time.
    func (s *stackAllocState) computeLive(spillLive [][]ID) {
    	s.live = make([][]ID, s.f.NumBlocks())
    	var phis []*Value
    	live := s.f.newSparseSet(s.f.NumValues())
    	defer s.f.retSparseSet(live)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 21:29:41 UTC 2024
    - 12.6K bytes
    - Viewed (0)
Back to top