- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 246 for 0500 (0.02 sec)
-
guava-tests/test/com/google/common/io/ByteSourceTest.java
// Test preconditions assertThrows(IllegalArgumentException.class, () -> source.slice(-1, 10)); assertThrows(IllegalArgumentException.class, () -> source.slice(0, -1)); assertCorrectSlice(0, 0, 0, 0); assertCorrectSlice(0, 0, 1, 0); assertCorrectSlice(100, 0, 10, 10); assertCorrectSlice(100, 0, 100, 100); assertCorrectSlice(100, 5, 10, 10); assertCorrectSlice(100, 5, 100, 95);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 15.4K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/RateLimiter.java
* second. This could be accomplished by requiring a permit per byte, and specifying a rate of 5000 * permits per second: * * <pre>{@code * final RateLimiter rateLimiter = RateLimiter.create(5000.0); // rate = 5000 permits per second * void submitPacket(byte[] packet) { * rateLimiter.acquire(packet.length); * networkService.send(packet); * } * }</pre> *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:51:36 UTC 2024 - 21.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/ServerMessageBlock.java
* and simply return 0. These would need to be completed for a server * implementation. */ /** * */ public static final byte SMB_COM_CREATE_DIRECTORY = (byte) 0x00; /** * */ public static final byte SMB_COM_DELETE_DIRECTORY = (byte) 0x01; /** * */ public static final byte SMB_COM_CLOSE = (byte) 0x04; /** *
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Aug 05 09:45:59 UTC 2018 - 32.7K bytes - Viewed (0) -
src/archive/tar/strconv_test.go
in int64 want string ok bool }{ // Test base-8 (octal) encoded values. {0, "0\x00", true}, {7, "7\x00", true}, {8, "\x80\x08", true}, {077, "77\x00", true}, {0100, "\x80\x00\x40", true}, {0, "0000000\x00", true}, {0123, "0000123\x00", true}, {07654321, "7654321\x00", true}, {07777777, "7777777\x00", true}, {010000000, "\x80\x00\x00\x00\x00\x20\x00\x00", true},
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Feb 09 05:28:50 UTC 2021 - 14K bytes - Viewed (0) -
istioctl/pkg/writer/compare/testdata/configdump.json
"@type": "type.googleapis.com/envoy.config.listener.v3.Listener", "name": "connect_terminate", "address": { "socket_address": { "address": "0.0.0.0", "port_value": 15008 } }, "filter_chains": [ { "filters": [ {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Mar 12 10:02:09 UTC 2024 - 52K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java
* */ public class ExecutionEventLogger extends AbstractExecutionListener { private static final int MAX_LOG_PREFIX_SIZE = 8; // "[ERROR] " private static final int PROJECT_STATUS_SUFFIX_SIZE = 20; // "SUCCESS [ 0.000 s]" private static final int MIN_TERMINAL_WIDTH = 60; private static final int DEFAULT_TERMINAL_WIDTH = 80; private static final int MAX_TERMINAL_WIDTH = 130;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 17.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-HostnamesCommon.kt
// we rule out characters that would cause problems in host headers. if (c <= '\u001f' || c >= '\u007f') { return true } // Check for the characters mentioned in the WHATWG Host parsing spec: // U+0000, U+0009, U+000A, U+000D, U+0020, "#", "%", "/", ":", "?", "@", "[", "\", and "]" // (excluding the characters covered above). if (" #%/:?@[\\]".indexOf(c) != -1) { return true } } return false }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 11.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NameServiceClient.java
import java.util.StringTokenizer; import jcifs.smb1.Config; import jcifs.smb1.util.Hexdump; import jcifs.smb1.util.LogStream; class NameServiceClient implements Runnable { static final int DEFAULT_SO_TIMEOUT = 5000; static final int DEFAULT_RCV_BUF_SIZE = 576; static final int DEFAULT_SND_BUF_SIZE = 576; static final int NAME_SERVICE_UDP_PORT = 137; static final int DEFAULT_RETRY_COUNT = 2;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 17.4K bytes - Viewed (0) -
src/archive/zip/writer_test.go
binary.LittleEndian.PutUint32(sig[:], uint32(fileHeaderSignature)) idx := bytes.Index(b, sig[:]) if idx == -1 { t.Fatal("file header not found") } b = b[idx:] if !bytes.Equal(b[6:10], []byte{0, 0, 0, 0}) { // FileHeader.Flags: 0, FileHeader.Method: 0 t.Errorf("unexpected method and flags: %v", b[6:10]) } if !bytes.Equal(b[14:26], make([]byte, 12)) { // FileHeader.{CRC32,CompressSize,UncompressedSize} all zero.
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Sep 23 14:32:33 UTC 2024 - 14.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
} assertEqualsUsingSeed(seed, expected, elements); } } } public void testCorrectOrdering_mediumHeapsPollFirst() { for (int attempts = 0; attempts < reduceIterationsIfGwt(5000); attempts++) { int size = new Random().nextInt(256) + 16; ArrayList<Integer> elements = createOrderedList(size); List<Integer> expected = ImmutableList.copyOf(elements);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 35.9K bytes - Viewed (0)