Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 113 for linear_1 (0.14 sec)

  1. android/guava/src/com/google/common/collect/TopKSelector.java

        }
        return this;
      }
    
      /**
       * Adds each member of {@code elements} as a candidate for the top {@code k} elements. This
       * operation takes amortized linear time in the length of {@code elements}.
       *
       * <p>If all input data to this {@code TopKSelector} is in a single {@code Iterable}, prefer
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/TopKSelector.java

        }
        return this;
      }
    
      /**
       * Adds each member of {@code elements} as a candidate for the top {@code k} elements. This
       * operation takes amortized linear time in the length of {@code elements}.
       *
       * <p>If all input data to this {@code TopKSelector} is in a single {@code Iterable}, prefer
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  3. test/maplinear.go

    		t1 := time.Now()
    		f(n)
    		return time.Since(t1)
    	}
    
    	t0 := time.Now()
    
    	n := tries
    	fails := 0
    	for {
    		t1 := timeF(n)
    		t2 := timeF(2 * n)
    
    		// should be 2x (linear); allow up to 3x
    		if t2 < 3*t1 {
    			if false {
    				fmt.Println(typ, "\t", time.Since(t0))
    			}
    			return
    		}
    		// If n ops run in under a second and the ratio
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  4. src/index/suffixarray/sais.go

    //   is widened to a full integer array.)
    
    // The overall runtime of this code is linear in the input size:
    // it runs a sequence of linear passes to reduce the problem to
    // a subproblem at most half as big, invokes itself recursively,
    // and then runs a sequence of linear passes to turn the answer
    // for the subproblem into the answer for the original problem.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 18 23:57:18 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  5. src/unicode/utf16/utf16_test.go

    	// from https://en.wikipedia.org/wiki/UTF-16
    	{'\u007A', false},     // LATIN SMALL LETTER Z
    	{'\u6C34', false},     // CJK UNIFIED IDEOGRAPH-6C34 (water)
    	{'\uFEFF', false},     // Byte Order Mark
    	{'\U00010000', false}, // LINEAR B SYLLABLE B008 A (first non-BMP code point)
    	{'\U0001D11E', false}, // MUSICAL SYMBOL G CLEF
    	{'\U0010FFFD', false}, // PRIVATE USE CHARACTER-10FFFD (last Unicode code point)
    
    	{rune(0xd7ff), false}, // surr1-1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 19:08:48 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  6. src/cmd/trace/pprof.go

    	// Insert regardless of whether we have a match in m.pcs.
    	// Even if we have a match, we want to keep the newest version
    	// of that stack, since we're much more likely tos see it again
    	// as we iterate through the trace linearly. Simultaneously, we
    	// are likely to never see the old stack again.
    	m.pcs[pcs] = stack
    	m.stacks[stack] = rec
    	return rec
    }
    
    func (m *stackMap) profile() []traceviewer.ProfileRecord {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  7. src/internal/reflectlite/type.go

    	// In both cases the algorithm is a linear scan over the two
    	// lists - T's methods and V's methods - simultaneously.
    	// Since method tables are stored in a unique sorted order
    	// (alphabetical, with no duplicate method names), the scan
    	// through V's methods must hit a match for each of T's
    	// methods along the way, or else V does not implement T.
    	// This lets us run the scan in overall linear time instead of
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:01:54 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  8. src/regexp/syntax/prog.go

    				if r == r1 {
    					return 0
    				}
    			}
    		}
    		return noMatch
    
    	case 2:
    		if r >= rune[0] && r <= rune[1] {
    			return 0
    		}
    		return noMatch
    
    	case 4, 6, 8:
    		// Linear search for a few pairs.
    		// Should handle ASCII well.
    		for j := 0; j < len(rune); j += 2 {
    			if r < rune[j] {
    				return noMatch
    			}
    			if r <= rune[j+1] {
    				return j / 2
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:50:01 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/decompose_resource_ops.mlir

    // CHECK-LABEL: testResourceApplyFtrl
    func.func @testResourceApplyFtrl(%var: tensor<*x!tf_type.resource>, %accum: tensor<*x!tf_type.resource>, %linear: tensor<*x!tf_type.resource>, %grad: tensor<*xf32>, %lr: tensor<*xf32>, %l1: tensor<*xf32>, %l2: tensor<*xf32>, %lr_power: tensor<*xf32>) -> () {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 19:47:48 UTC 2024
    - 51.3K bytes
    - Viewed (0)
  10. src/vendor/golang.org/x/net/http/httpguts/httplex.go

    			// No UTF-8 or non-ASCII allowed in tokens.
    			return false
    		}
    		if lowerASCII(byte(b)) != lowerASCII(t2[i]) {
    			return false
    		}
    	}
    	return true
    }
    
    // isLWS reports whether b is linear white space, according
    // to http://www.w3.org/Protocols/rfc2616/rfc2616-sec2.html#sec2.2
    //
    //	LWS            = [CRLF] 1*( SP | HT )
    func isLWS(b byte) bool { return b == ' ' || b == '\t' }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 8.7K bytes
    - Viewed (0)
Back to top