- Sort Score
- Num 10 results
- Language All
Results 1241 - 1250 of 1,897 for Long (0.02 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilJvm.kt
*/ @JvmStatic fun fragmentBuffer(buffer: Buffer): Buffer { // Write each byte into a new buffer, then clone it so that the segments are shared. // Shared segments cannot be compacted so we'll get a long chain of short segments. val result = Buffer() while (!buffer.exhausted()) { val box = Buffer() box.write(buffer, 1) result.write(box.copy(), 1) } return result }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 4.3K bytes - Click Count (0) -
src/test/java/org/codelibs/core/crypto/CachedCipherTest.java
final CachedCipher cipher = new CachedCipher(); cipher.setKey("mySecretKey"); final StringBuilder sb = new StringBuilder(); for (int i = 0; i < 1000; i++) { sb.append("Long text for testing. "); } final String original = sb.toString(); final String encrypted = cipher.encryptText(original); final String decrypted = cipher.decryptText(encrypted);
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Nov 22 11:21:59 GMT 2025 - 5.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/reqheader/AdminReqheaderAction.java
* @return optional entity containing the request header data, or empty if creation fails */ public static OptionalEntity<RequestHeader> getEntity(final CreateForm form, final String username, final long currentTime) { switch (form.crudMode) { case CrudMode.CREATE: return OptionalEntity.of(new RequestHeader()).map(entity -> { entity.setCreatedBy(username);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 13:56:35 GMT 2025 - 17.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/fileauth/AdminFileauthAction.java
* @param currentTime the current time * @return optional file authentication entity */ public static OptionalEntity<FileAuthentication> getEntity(final CreateForm form, final String username, final long currentTime) { switch (form.crudMode) { case CrudMode.CREATE: return OptionalEntity.of(new FileAuthentication()).map(entity -> { entity.setCreatedBy(username);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 13:56:35 GMT 2025 - 18.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java
byte[] largeBuffer = new byte[10000]; FileFsSizeInformation info = new FileFsSizeInformation(); long startTime = System.nanoTime(); info.decode(largeBuffer, 0, 24); long endTime = System.nanoTime(); // Should complete quickly (under 1ms) assertTrue((endTime - startTime) < 1_000_000); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/dataconfig/AdminDataconfigAction.java
* @param currentTime The current time. * @return An optional entity of a data config. */ public static OptionalEntity<DataConfig> getEntity(final CreateForm form, final String username, final long currentTime) { switch (form.crudMode) { case CrudMode.CREATE: return OptionalEntity.of(new DataConfig()).map(entity -> { entity.setCreatedBy(username);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 11:54:13 GMT 2026 - 21K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/TypeTokenTest.java
assertEquals(List[].class, token.getRawType()); assertThat(token.getType()).isInstanceOf(GenericArrayType.class); } public void testMultiDimensionalGenericArrayType() { TypeToken<List<Long>[][][]> token = new TypeToken<List<Long>[][][]>() {}; assertEquals(List[][][].class, token.getRawType()); assertThat(token.getType()).isInstanceOf(GenericArrayType.class); } public <T> void testGenericVariableTypeArrays() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 89.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/webauth/AdminWebauthAction.java
* @param currentTime the current timestamp * @return an optional WebAuthentication entity */ public static OptionalEntity<WebAuthentication> getEntity(final CreateForm form, final String username, final long currentTime) { switch (form.crudMode) { case CrudMode.CREATE: return OptionalEntity.of(new WebAuthentication()).map(entity -> { entity.setCreatedBy(username);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 13:56:35 GMT 2025 - 19.7K bytes - Click Count (0) -
src/main/java/jcifs/SmbConstants.java
/** * Message is a response from server flag. */ int FLAGS_RESPONSE = 0x80; /** * No flags2 set in SMB header. */ int FLAGS2_NONE = 0x0000; /** * Long file names are supported flag. */ int FLAGS2_LONG_FILENAMES = 0x0001; /** * Extended attributes are supported flag. */ int FLAGS2_EXTENDED_ATTRIBUTES = 0x0002; /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:49:49 GMT 2025 - 12.8K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt
.addHeader("Retry-After", "1") .body("You took too long!") .onResponseEnd(ShutdownConnection) .build(), ) val request = Request(server.url("/")) val response = client.newCall(request).execute() assertThat(response.body.string()).isEqualTo("You took too long!") } @Test fun requestBodyRetransmittedOnClientRequestTimeout() {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Mar 15 09:02:18 GMT 2026 - 146.5K bytes - Click Count (0)