- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 117 for randint (0.2 sec)
-
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 Apr 21 19:28:08 GMT 2024 - Last Modified: Thu Feb 22 06:26:06 GMT 2024 - 108K bytes - Viewed (0) -
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 Apr 21 09:35:09 GMT 2024 - Last Modified: Thu Mar 21 08:00:02 GMT 2024 - 5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Serialization.java
* of distinct keys in a multimap serialized by {@link #writeMultimap(Multimap, * ObjectOutputStream)}. */ static int readCount(ObjectInputStream stream) throws IOException { return stream.readInt(); } /** * Stores the contents of a map in an output stream, as part of serialization. It does not support * concurrent maps whose content may change while the method is running. *
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Mar 06 16:06:58 GMT 2023 - 8.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/ByteStreamsTest.java
assertThrows(IllegalStateException.class, () -> in.readInt()); } public void testNewDataInput_normal() { ByteArrayDataInput in = ByteStreams.newDataInput(bytes); assertEquals(0x12345678, in.readInt()); assertEquals(0x76543210, in.readInt()); assertThrows(IllegalStateException.class, () -> in.readInt()); } public void testNewDataInput_readFully() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 21.9K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Reader.kt
} val padding = if (flags and FLAG_PADDED != 0) source.readByte() and 0xff else 0 val promisedStreamId = source.readInt() and 0x7fffffff val headerBlockLength = lengthWithoutPadding(length - 4, flags, padding) // - 4 for readInt(). val headerBlock = readHeaderBlock(headerBlockLength, padding, flags, streamId) handler.pushPromise(streamId, promisedStreamId, headerBlock) }
Plain Text - Registered: Fri Apr 19 11:42:09 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 19.9K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacLogonInfo.java
SID groupId = pacStream.readId(); // Groups information int groupCount = pacStream.readInt(); int groupPointer = pacStream.readInt(); // User flags about PAC Logon Info content this.userFlags = pacStream.readInt(); boolean hasExtraSids = ( this.userFlags & PacConstants.LOGON_EXTRA_SIDS ) == PacConstants.LOGON_EXTRA_SIDS;
Java - Registered: Sun Apr 21 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 11.4K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacDataInputStream.java
} public short readShort () throws IOException { align(2); return Short.reverseBytes(this.dis.readShort()); } public int readInt () throws IOException { align(4); return Integer.reverseBytes(this.dis.readInt()); } public long readLong () throws IOException { align(8); return Long.reverseBytes(this.dis.readLong()); }
Java - Registered: Sun Apr 21 00:10:10 GMT 2024 - Last Modified: Sat Jul 21 21:19:58 GMT 2018 - 5.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/ByteStreamsTest.java
assertThrows(IllegalStateException.class, () -> in.readInt()); } public void testNewDataInput_normal() { ByteArrayDataInput in = ByteStreams.newDataInput(bytes); assertEquals(0x12345678, in.readInt()); assertEquals(0x76543210, in.readInt()); assertThrows(IllegalStateException.class, () -> in.readInt()); } public void testNewDataInput_readFully() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 21.9K 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 Apr 23 11:13:09 GMT 2024 - Last Modified: Fri Feb 17 20:31:46 GMT 2023 - 13K bytes - Viewed (0) -
src/main/java/jcifs/pac/Pac.java
int bufferCount = pacStream.readInt(); int version = pacStream.readInt(); if ( version != PacConstants.PAC_VERSION ) { throw new PACDecodingException("Unrecognized PAC version " + version); } for ( int bufferIndex = 0; bufferIndex < bufferCount; bufferIndex++ ) { int bufferType = pacStream.readInt();
Java - Registered: Sun Apr 21 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 6.5K bytes - Viewed (0)