Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 112 for linear_1 (0.28 sec)

  1. src/cmd/compile/internal/ssa/nilcheck_test.go

    func BenchmarkNilCheckDeep10000(b *testing.B) { benchmarkNilCheckDeep(b, 10000) }
    
    // benchmarkNilCheckDeep is a stress test of nilcheckelim.
    // It uses the worst possible input: A linear string of
    // nil checks, none of which can be eliminated.
    // Run with multiple depths to observe big-O behavior.
    func benchmarkNilCheckDeep(b *testing.B, depth int) {
    	c := testConfig(b)
    	ptrType := c.config.Types.BytePtr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 23:34:11 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

      }];
    
      let description = [{
    That is for rows we have grad for, we update var, accum and linear as follows:
    accum_new = accum + grad * grad
    linear += grad - (accum_new^(-lr_power) - accum^(-lr_power)) / lr * var
    quadratic = 1.0 / (accum_new^(lr_power) * lr) + 2 * l2
    var = (sign(linear) * l1 - linear) / quadratic if |linear| > l1 else 0.0
    accum = accum_new
      }];
    
      let arguments = (ins
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
  6. 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)
  7. pkg/registry/core/service/storage/alloc.go

    // This is O(N), but we expect haystack to be small;
    // so small that we expect a linear search to be faster
    func containsNumber(haystack []int, needle int) bool {
    	for _, v := range haystack {
    		if v == needle {
    			return true
    		}
    	}
    	return false
    }
    
    // This is O(N), but we expect serviceNodePorts to be small;
    // so small that we expect a linear search to be faster
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:05 UTC 2023
    - 37.3K bytes
    - Viewed (0)
  8. src/mime/multipart/multipart.go

    	//   consisting entirely of two hyphen characters ("-",
    	//   decimal value 45) followed by the boundary parameter
    	//   value from the Content-Type header field, optional linear
    	//   whitespace, and a terminating CRLF.
    	if !bytes.HasPrefix(line, r.dashBoundary) {
    		return false
    	}
    	rest := line[len(r.dashBoundary):]
    	rest = skipLWSPChar(rest)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 16:12:35 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  9. samples/bookinfo/src/productpage/static/tailwind/tailwind.css

    e:i})=>i("colors"),backgroundImage:{none:"none","gradient-to-t":"linear-gradient(to top, var(--tw-gradient-stops))","gradient-to-tr":"linear-gradient(to top right, var(--tw-gradient-stops))","gradient-to-r":"linear-gradient(to right, var(--tw-gradient-stops))","gradient-to-br":"linear-gradient(to bottom right, var(--tw-gradient-stops))","gradient-to-b":"linear-gradient(to bottom, var(--tw-gradient-stops))","gradient-to-bl":"linear-gradient(to bottom left, var(--tw-gradient-stops))","gradient-to-...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 28 14:48:01 UTC 2024
    - 357.1K bytes
    - Viewed (1)
  10. pkg/registry/core/service/ipallocator/ipallocator.go

    		return value
    	}
    
    }
    
    // allocateFromRange allocates an empty IP address from the range of
    // IPs between the first and last address (both included), starting
    // from the start address.
    // TODO: this is a linear search, it can be optimized.
    func (a *Allocator) allocateFromRange(iterator func() netip.Addr, svc *api.Service) (net.IP, error) {
    	for {
    		ip := iterator()
    		if !ip.IsValid() {
    			break
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:04 UTC 2023
    - 17K bytes
    - Viewed (0)
Back to top