- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for CanUint (0.2 sec)
-
logger/sql.go
v, _ = valuer.Value() convertParams(v, idx) } else if rv.Kind() == reflect.Ptr && !rv.IsZero() { convertParams(reflect.Indirect(rv).Interface(), idx) } else if isNumeric(rv.Kind()) { if rv.CanInt() || rv.CanUint() { vars[idx] = fmt.Sprintf("%d", rv.Interface()) } else { vars[idx] = fmt.Sprintf("%.6f", rv.Interface()) } } else { for _, t := range convertibleTypes {
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Thu Mar 21 08:00:02 GMT 2024 - 5K bytes - Viewed (0) -
api/go1.18.txt
pkg reflect, func PointerTo(Type) Type pkg reflect, method (*MapIter) Reset(Value) pkg reflect, method (Value) CanComplex() bool pkg reflect, method (Value) CanFloat() bool pkg reflect, method (Value) CanInt() bool pkg reflect, method (Value) CanUint() bool pkg reflect, method (Value) FieldByIndexErr([]int) (Value, error) pkg reflect, method (Value) SetIterKey(*MapIter) pkg reflect, method (Value) SetIterValue(*MapIter)
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Fri Feb 17 20:31:46 GMT 2023 - 13K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ComparisonChainTest.java
FALSE, MAYBE, TRUE, } static class Foo { private final String aString; private final int anInt; private final @Nullable TriState anEnum; Foo(String aString, int anInt, @Nullable TriState anEnum) { this.aString = aString; this.anInt = anInt; this.anEnum = anEnum; } @Override public String toString() { return toStringHelper(this)
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Feb 27 13:27:08 GMT 2024 - 7.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/ComparisonChain.java
* * <p>Example usage of {@code ComparisonChain}: * * <pre>{@code * public int compareTo(Foo that) { * return ComparisonChain.start() * .compare(this.aString, that.aString) * .compare(this.anInt, that.anInt) * .compare(this.anEnum, that.anEnum, Ordering.natural().nullsLast()) * .result(); * } * }</pre> * * <p>The value of this expression will have the same sign as the <i>first nonzero</i> comparison
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Wed Sep 21 17:28:11 GMT 2022 - 11.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/PreconditionsTest.java
// matches with the second parameter being boxed and without it being boxed. The cast to Object // avoids this. Preconditions.checkState(aBoolean, "", aBoolean ? "" : anInt, (Object) anInt); // ambiguous without the .booleanValue() call since the boxing forces us into phase 2 resolution short s = 2; Preconditions.checkState(boxedBoolean.booleanValue(), "", s); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 19.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ComparisonChain.java
* * <pre>{@code * public int compareTo(Foo that) { * return ComparisonChain.start() * .compare(this.aString, that.aString) * .compare(this.anInt, that.anInt) * .compare(this.anEnum, that.anEnum, Ordering.natural().nullsLast()) * .result(); * } * }</pre> * * <p>The value of this expression will have the same sign as the <i>first nonzero</i> comparison
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Jan 24 17:47:51 GMT 2022 - 9.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/PreconditionsTest.java
// matches with the second parameter being boxed and without it being boxed. The cast to Object // avoids this. Preconditions.checkState(aBoolean, "", aBoolean ? "" : anInt, (Object) anInt); // ambiguous without the .booleanValue() call since the boxing forces us into phase 2 resolution short s = 2; Preconditions.checkState(boxedBoolean.booleanValue(), "", s); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 19.8K bytes - Viewed (0) -
cmd/server_test.go
// generate a random number between 13 and 200. randInt := getRandomRange(13, 200, -1) // write into buffer till length of the buffer is greater than the generated random number. for i := 0; i <= randInt; i += 10 { buffer.WriteString(data) } // String content which is used for put object range test. putBytes := buffer.Bytes() putBytes = putBytes[:randInt]
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Feb 22 06:26:06 GMT 2024 - 108K bytes - Viewed (0)