Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for linear_1 (0.12 sec)

  1. src/runtime/histogram.go

    // nanoseconds.
    //
    // The accuracy and range of the histogram is defined by the
    // timeHistSubBucketBits and timeHistNumBuckets constants.
    //
    // It is an HDR histogram with exponentially-distributed
    // buckets and linearly distributed sub-buckets.
    //
    // The histogram is safe for concurrent reads and writes.
    type timeHistogram struct {
    	counts [timeHistNumBuckets * timeHistNumSubBuckets]atomic.Uint64
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/SmallCharMatcher.java

    import com.google.common.base.CharMatcher.NamedFastMatcher;
    import java.util.BitSet;
    
    /**
     * An immutable version of CharMatcher for smallish sets of characters that uses a hash table with
     * linear probing to check for matches.
     *
     * @author Christopher Swenson
     */
    @GwtIncompatible // no precomputation is done in GWT
    @ElementTypesAreNonnullByDefault
    final class SmallCharMatcher extends NamedFastMatcher {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/SmallCharMatcher.java

    import com.google.common.base.CharMatcher.NamedFastMatcher;
    import java.util.BitSet;
    
    /**
     * An immutable version of CharMatcher for smallish sets of characters that uses a hash table with
     * linear probing to check for matches.
     *
     * @author Christopher Swenson
     */
    @GwtIncompatible // no precomputation is done in GWT
    @ElementTypesAreNonnullByDefault
    final class SmallCharMatcher extends NamedFastMatcher {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/FlatMapProvider.java

            }
    
            // Note, that the potential side effect of the transformed provider
            // is going to be executed before this fixed side effect.
            // It is not possible to preserve linear execution order in the general case,
            // as the transformed provider can have side effects hidden under other wrapping providers.
            return Providers.internal(transformedProvider).withSideEffect(SideEffect.fixedFrom(value));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 17 23:22:41 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/tests/device_compiler_test_helper.cc

    #include "xla/service/hlo.pb.h"
    #include "tensorflow/core/platform/path.h"
    #include "tensorflow/core/public/session.h"
    
    namespace tensorflow {
    namespace {
    
    // Creates a float tensor of linearly increasing values, starting from offset.
    Tensor CreateInputTensor(const TensorShape& shape, float offset) {
      Tensor tensor(DT_FLOAT, shape);
      for (int64 i = 0; i < tensor.flat<float>().size(); ++i) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 09 08:24:16 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/xla_tensor.cc

      mutex_lock lock(mu_);
      if (!definition_event_) {
        return;
      }
    
      // The set of defined streams is expected to be very small indeed (usually
      // 1-2), so a simple linear scan should be fast enough.
      if (std::find(streams_defined_on_.begin(), streams_defined_on_.end(),
                    stream) != streams_defined_on_.end()) {
        // stream is in streams_defined_on_; it doesn't need to be waited on.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  7. 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)
  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. 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)
  10. 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)
Back to top