Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 167 for smallish (0.29 sec)

  1. src/cmd/internal/src/xpos.go

    func (p XPos) LineNumber() string {
    	if !p.IsKnown() {
    		return "?"
    	}
    	return p.lico.lineNumber()
    }
    
    // FileIndex returns a smallish non-negative integer corresponding to the
    // file for this source position.  Smallish is relative; it can be thousands
    // large, but not millions.
    func (p XPos) FileIndex() int32 {
    	return p.index
    }
    
    func (p XPos) LineNumberHTML() string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 01 15:52:41 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/SmallCharMatcher.java

    import com.google.common.annotations.VisibleForTesting;
    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
    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. android/guava/src/com/google/common/base/SmallCharMatcher.java

    import com.google.common.annotations.VisibleForTesting;
    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
    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. cmd/kube-apiserver/app/options/validation.go

    				errs = append(errs, err)
    			}
    		}
    	}
    
    	return errs
    }
    
    func validateMaxCIDRRange(cidr net.IPNet, maxCIDRBits int, cidrFlag string) error {
    	// Should be smallish sized cidr, this thing is kept in etcd
    	// bigger cidr (specially those offered by IPv6) will add no value
    	// significantly increase snapshotting time.
    	var ones, bits = cidr.Mask.Size()
    	if bits-ones > maxCIDRBits {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:06 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  5. src/cmd/go/internal/modload/import.go

    	// over path prefixes is only O(P × k) with maximum path depth k. For
    	// large projects both M and P may be very large (note that M ≤ P), but k
    	// will tend to remain smallish (if for no other reason than filesystem
    	// path limitations).
    	//
    	// We perform this iteration either one or two times. If mg is initially nil,
    	// then we first attempt to load the package using only the main module and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 15:21:14 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  6. src/strconv/itoa_test.go

    	smallInts := []int64{7, 42}
    	for _, smallInt := range smallInts {
    		b.Run(Itoa(int(smallInt)), func(b *testing.B) {
    			for i := 0; i < b.N; i++ {
    				s := FormatInt(smallInt, 10)
    				BenchSink += len(s)
    			}
    		})
    	}
    }
    
    func BenchmarkAppendIntSmall(b *testing.B) {
    	dst := make([]byte, 0, 30)
    	const smallInt = 42
    	for i := 0; i < b.N; i++ {
    		dst = AppendInt(dst[:0], smallInt, 10)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 15 21:09:39 UTC 2022
    - 5.8K bytes
    - Viewed (0)
  7. src/math/big/float_test.go

    		{"0x0.0000011p-126", math.Float32frombits(0x00000001), Above}, // rounded up to smallest denormal
    		{"0x0.0000018p-126", math.Float32frombits(0x00000001), Above}, // rounded up to smallest denormal
    
    		{"0x1.0000000p-149", math.Float32frombits(0x00000001), Exact}, // smallest denormal
    		{"0x0.0000020p-126", math.Float32frombits(0x00000001), Exact}, // smallest denormal
    		{"0x0.fffffe0p-126", math.Float32frombits(0x007fffff), Exact}, // largest denormal
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 51.9K bytes
    - Viewed (0)
  8. src/encoding/json/fold.go

    			i++
    			continue
    		}
    		// Handle multi-byte Unicode.
    		r, n := utf8.DecodeRune(in[i:])
    		out = utf8.AppendRune(out, foldRune(r))
    		i += n
    	}
    	return out
    }
    
    // foldRune is returns the smallest rune for all runes in the same fold set.
    func foldRune(r rune) rune {
    	for {
    		r2 := unicode.SimpleFold(r)
    		if r2 <= r {
    			return r2
    		}
    		r = r2
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 27 17:37:27 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  9. src/sort/search.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // This file implements binary search.
    
    package sort
    
    // Search uses binary search to find and return the smallest index i
    // in [0, n) at which f(i) is true, assuming that on the range [0, n),
    // f(i) == true implies f(i+1) == true. That is, Search requires that
    // f is false for some (possibly empty) prefix of the input range [0, n)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 28 16:40:32 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/metrics/metrics.go

    		&metrics.HistogramOpts{
    			Subsystem: "apiserver",
    			Name:      "request_body_size_bytes",
    			Help:      "Apiserver request body size in bytes broken out by resource and verb.",
    			// we use 0.05 KB as the smallest bucket with 0.1 KB increments up to the
    			// apiserver limit.
    			Buckets:        metrics.LinearBuckets(50000, 100000, 31),
    			StabilityLevel: metrics.ALPHA,
    		},
    		[]string{"resource", "verb"},
    	)
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 16 02:06:01 UTC 2023
    - 1.8K bytes
    - Viewed (0)
Back to top