- Sort Score
- Result 10 results
- Languages All
Results 1171 - 1180 of 3,763 for int (0.04 sec)
-
guava-tests/test/com/google/common/io/MultiInputStreamTest.java
joinHelper(1, 1, 1, 1, 1, 1, 1, 1); joinHelper(1, 0, 1, 0, 1, 0, 1, 0); } public void testOnlyOneOpen() throws Exception { final ByteSource source = newByteSource(0, 50); final int[] counter = new int[1]; ByteSource checker = new ByteSource() { @Override public InputStream openStream() throws IOException { if (counter[0]++ != 0) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/CaseInsensitiveMapTest.java
@Test public void testPerformance() throws Exception { for (int j = 0; j < 3; ++j) { final int num = 100000; final Map<String, String> hmap = new HashMap<String, String>(); final Map<String, String> cimap = new CaseInsensitiveMap<String>(); long start = System.currentTimeMillis(); for (int i = 0; i < num; i++) { hmap.put("a" + String.valueOf(i), null);
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 4K bytes - Viewed (0) -
internal/s3select/jstream/scanner_test.go
} t.Logf("pos=%d remaining=%d (%s)", i, r.Len(), string(c)) i++ } } type mockReader struct { pos int mockData byte failAfter int } func newMockReader(failAfter int, data byte) *mockReader { return &mockReader{0, data, failAfter} } func (r *mockReader) Read(p []byte) (n int, err error) { if r.pos >= r.failAfter { return 0, fmt.Errorf("intentionally unexpected reader error") } r.pos++
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 23 19:35:41 UTC 2024 - 3.2K bytes - Viewed (0) -
internal/grid/handlers.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 09 16:58:30 UTC 2024 - 27.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/TestInputStream.java
throwIf(OPEN_THROWS); } public boolean closed() { return closed; } @Override public int read() throws IOException { throwIf(closed); throwIf(READ_THROWS); return in.read(); } @Override public int read(byte[] b, int off, int len) throws IOException { throwIf(closed); throwIf(READ_THROWS); return in.read(b, off, len); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 2.5K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/MultilineMessageHelper.java
repeat(sb, '*', DEFAULT_MAX_SIZE); return sb.toString(); } public static List<String> format(String... lines) { int size = DEFAULT_MAX_SIZE; int remainder = size - 4; // 4 chars = 2 box_char + 2 spaces List<String> result = new ArrayList<>(); StringBuilder sb = new StringBuilder(size); // first line sb.setLength(0); repeat(sb, BOX_CHAR, size);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/RangeTest.java
public void testOpen() { Range<Integer> range = Range.open(4, 8); checkContains(range); assertTrue(range.hasLowerBound()); assertEquals(4, (int) range.lowerEndpoint()); assertEquals(OPEN, range.lowerBoundType()); assertTrue(range.hasUpperBound()); assertEquals(8, (int) range.upperEndpoint()); assertEquals(OPEN, range.upperBoundType()); assertFalse(range.isEmpty()); assertEquals("(4..8)", range.toString());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 23.9K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NbtAddress.java
}; Name hostName; int address, nodeType; boolean groupName, isBeingDeleted, isInConflict, isActive, isPermanent, isDataFromNodeStatus; byte[] macAddress; String calledName; NbtAddress ( Name hostName, int address, boolean groupName, int nodeType ) { this.hostName = hostName; this.address = address;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 15.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/ws/WebSocketRecorder.kt
fun assertPong(payload: ByteString) { assertThat(nextEvent()).isEqualTo(Pong(payload)) } fun assertClosing( code: Int, reason: String, ) { assertThat(nextEvent()).isEqualTo(Closing(code, reason)) } fun assertClosed( code: Int, reason: String, ) { assertThat(nextEvent()).isEqualTo(Closed(code, reason)) } fun assertExhausted() {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 6.9K bytes - Viewed (0) -
mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/RecordedRequest.kt
import okhttp3.TlsVersion import okio.Buffer class RecordedRequest { val requestLine: String val headers: Headers val chunkSizes: List<Int> val bodySize: Long val body: Buffer val sequenceNumber: Int val failure: IOException? val method: String? val path: String? val handshake: Handshake? val requestUrl: HttpUrl? @get:JvmName("-deprecated_utf8Body")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.1K bytes - Viewed (0)