- Sort Score
- Result 10 results
- Languages All
Results 841 - 850 of 1,376 for sizeof (0.04 sec)
-
src/test/java/jcifs/internal/fscc/FileStandardInfoTest.java
fileStandardInfo.decode(buffer, 0, buffer.length); assertEquals(expectedEndOfFile, fileStandardInfo.getSize()); } @Test @DisplayName("Test size method returns 22") void testSize() { assertEquals(22, fileStandardInfo.size()); } @Test @DisplayName("Test decode with valid data") void testDecodeWithValidData() throws SMBProtocolDecodingException { // Prepare test data
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
docs/pt/docs/tutorial/request-files.md
* `write(data)`: Escreve `data` (`str` ou `bytes`) no arquivo. * `read(size)`: Lê `size` (`int`) bytes/caracteres do arquivo. * `seek(offset)`: Vai para o byte na posição `offset` (`int`) no arquivo. * Por exemplo, `await myfile.seek(0)` irá para o início do arquivo.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sat Nov 09 16:39:20 UTC 2024 - 7.8K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/MapsTest.java
public class MapsTest { /** * @throws Exception */ @Test public void test() throws Exception { final Map<String, Integer> map = map("a", 1).$("b", 2).$("c", 3).$(); assertThat(map.size(), is(3)); assertThat(map.get("a"), is(1)); assertThat(map.get("b"), is(2)); assertThat(map.get("c"), is(3)); }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/LruHashMapTest.java
assertThat(i.next(), is("bbb")); assertThat(i.next(), is("ccc")); assertThat(i.next(), is("aaa")); lru.put("ddd", "444"); assertThat(lru.size(), is(3)); assertThat(lru.get("bbb"), is(nullValue())); i = lru.keySet().iterator(); assertThat(i.next(), is("ccc")); assertThat(i.next(), is("aaa")); assertThat(i.next(), is("ddd"));
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.7K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskQueue.kt
// Insert in chronological order. Always compare deltas because nanoTime() is permitted to wrap. var insertAt = futureTasks.indexOfFirst { it.nextExecuteNanoTime - now > delayNanos } if (insertAt == -1) insertAt = futureTasks.size futureTasks.add(insertAt, task) // Impact the coordinator if we inserted at the front. return insertAt == 0 } /**
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed May 28 23:28:25 UTC 2025 - 7.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt
val peeked = body.source().peek() val buffer = Buffer() peeked.request(byteCount) buffer.write(peeked, minOf(byteCount, peeked.buffer.size)) return buffer.asResponseBody(body.contentType(), buffer.size) } @JvmName("-deprecated_body") @Deprecated( message = "moved to val", replaceWith = ReplaceWith(expression = "body"), level = DeprecationLevel.ERROR,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 28 14:39:28 UTC 2025 - 18.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableTable.java
* added. * * @throws IllegalArgumentException if duplicate key pairs were added * @since 31.0 */ public ImmutableTable<R, C, V> buildOrThrow() { int size = cells.size(); switch (size) { case 0: return of(); case 1: return new SingletonImmutableTable<>(getOnlyElement(cells)); default:
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 17.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java
} responseData.addMetaData(SMB_ALLOWED_SID_ENTRIES, sidAllowSet.toArray(new SID[sidAllowSet.size()])); responseData.addMetaData(SMB_DENIED_SID_ENTRIES, sidDenySet.toArray(new SID[sidDenySet.size()])); } } catch (final IOException e) { throw new CrawlingAccessException("Could not access " + file.getPath(), e); }
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Sep 18 09:30:45 UTC 2025 - 22.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableListCopyOfConcurrentlyModifiedInputTest.java
assertTrue(concurrentlyMutatedList.getAllStates().contains(copyOfIterable)); } private static void runConcurrentlyMutatedTest(WrapWithIterable wrap) { /* * TODO: Iterate over many array sizes and all possible operation lists, * performing adds and removes in different ways. */ runConcurrentlyMutatedTest(elements(), ops(add(1), add(2)), wrap);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 6.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/exception/IllegalBlockSizeRuntimeException.java
import javax.crypto.IllegalBlockSizeException; /** * Signals that this exception has been thrown when a block cipher is supplied with input data whose length is not a multiple of the cipher's block size, or that has been padded to the wrong length. * @author shinsuke */ public class IllegalBlockSizeRuntimeException extends ClRuntimeException { private static final long serialVersionUID = 1L; /**
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat Jul 05 00:11:05 UTC 2025 - 1.4K bytes - Viewed (0)