Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 113 for linear_1 (0.13 sec)

  1. pkg/proxy/iptables/number_generated_rules_test.go

    // that is modifying the code can have feedback about the performance impact
    // on their changes. It also runs multiple number of rules test cases to check
    // if the number of rules grows linearly.
    func TestNumberIptablesRules(t *testing.T) {
    	testCases := []struct {
    		name                string
    		epsFunc             func(eps *discovery.EndpointSlice)
    		svcFunc             func(svc *v1.Service)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  2. src/compress/lzw/writer.go

    	// will make any future Write calls return errClosed
    	err error
    	// table is the hash table from 20-bit keys to 12-bit values. Each table
    	// entry contains key<<12|val and collisions resolve by linear probing.
    	// The keys consist of a 12-bit code prefix and an 8-bit byte suffix.
    	// The values are a 12-bit code.
    	table [tableSize]uint32
    }
    
    // writeLSB writes the code c for "Least Significant Bits first" data.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:40 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/unicode/letter.go

    // this CaseRange represents a sequence of the form (say)
    // [Upper] [Lower] [Upper] [Lower].
    const (
    	UpperLower = MaxRune + 1 // (Cannot be a valid delta.)
    )
    
    // linearMax is the maximum size table for linear search for non-Latin1 rune.
    // Derived by running 'go test -calibrate'.
    const linearMax = 18
    
    // is16 reports whether r is in the sorted slice of 16-bit ranges.
    func is16(ranges []Range16, r uint16) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 20:02:46 UTC 2023
    - 10K bytes
    - Viewed (0)
  10. src/runtime/asm_wasm.s

    TEXT wasm_pc_f_loop(SB),NOSPLIT,$0
    // Call the function for the current PC_F. Repeat until PAUSE != 0 indicates pause or exit.
    // The WebAssembly stack may unwind, e.g. when switching goroutines.
    // The Go stack on the linear memory is then used to jump to the correct functions
    // with this loop, without having to restore the full WebAssembly stack.
    // It is expected to have a pending call before entering the loop, so check PAUSE first.
    	Get PAUSE
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 21:26:51 UTC 2023
    - 11.8K bytes
    - Viewed (0)
Back to top