- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 191 for smallish (0.2 sec)
-
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) -
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) -
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) -
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) -
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) -
test/typeparam/smallest.go
~float32 | ~float64 | ~string } func Smallest[T Ordered](s []T) T { r := s[0] // panics if slice is empty for _, v := range s[1:] { if v < r { r = v } } return r } func main() { vec1 := []float64{5.3, 1.2, 32.8} vec2 := []string{"abc", "def", "aaa"} want1 := 1.2 if got := Smallest(vec1); got != want1 { panic(fmt.Sprintf("got %d, want %d", got, want1)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 01 19:45:34 UTC 2022 - 825 bytes - Viewed (0) -
test/asmhdr.dir/main.go
) type typ struct { a uint64 b [100]uint8 c uint8 } var ( typSize uint64 typA, typB, typC uint64 ) func main() { if smallInt != smallIntAsm { println("smallInt", smallInt, "!=", smallIntAsm) } if bigInt != bigIntAsm { println("bigInt", uint64(bigInt), "!=", bigIntAsm) } if stringVal != string(stringAsm[:]) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 10 21:27:19 UTC 2022 - 1.8K bytes - Viewed (0) -
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) -
test/fixedbugs/issue11674.go
var _ = x / 1e-1000 // GC_ERROR "division by zero" var _ = x / 1e-20i var _ = x / 1e-50i // GC_ERROR "division by zero" var _ = x / 1e-1000i // GC_ERROR "division by zero" var _ = x / 1e-45 // smallest positive float32 var _ = x / (1e-20 + 1e-20i) var _ = x / (1e-50 + 1e-20i) var _ = x / (1e-20 + 1e-50i) var _ = x / (1e-50 + 1e-50i) // GC_ERROR "division by zero"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 22 17:50:13 UTC 2020 - 1.1K bytes - Viewed (0) -
test/abi/idata.go
//go:registerparams func ToFloat(x Value) Value { switch x := x.(type) { case intVal: if smallInt(x.val) { return itor(x) } return itof(x) case ratVal, floatVal: return x case complexVal: if Sign(x.im) == 0 { return ToFloat(x.re) } } return unknownVal{} } //go:noinline //go:registerparams func smallInt(x *big.Int) bool { return false } //go:noinline //go:registerparams
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 05 20:11:08 UTC 2021 - 2.1K bytes - Viewed (0)