Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1541 - 1550 of 4,560 for long (0.02 seconds)

  1. src/main/java/jcifs/internal/smb1/trans/TransTransactNamedPipe.java

            return 0;
        }
    
        @Override
        protected int writeDataWireFormat(final byte[] dst, final int dstIndex) {
            if (dst.length - dstIndex < this.pipeDataLen) {
                log.debug("TransTransactNamedPipe data too long for buffer");
                return 0;
            }
            System.arraycopy(this.pipeData, this.pipeDataOff, dst, dstIndex, this.pipeDataLen);
            return this.pipeDataLen;
        }
    
        @Override
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java

                Long expiration = System.currentTimeMillis() + 10000L;
                echoResponse.setExpiration(expiration);
    
                assertEquals(expiration, echoResponse.getExpiration());
            }
    
            @Test
            @DisplayName("Should handle null expiration")
            void testNullExpiration() {
                Long expiration = 1000L;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/cache/Cache.java

       * with a differently behaving {@code loader}. For example, a call that requests a short timeout
       * for an RPC may wait for a similar call that requests a long timeout, or a call by an
       * unprivileged user may return a resource accessible only to a privileged user making a similar
       * call. To prevent this problem, create a key object that includes all values that affect the
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 8.3K bytes
    - Click Count (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. android/guava/src/com/google/common/collect/ImmutableEnumMap.java

          this.delegate = delegate;
        }
    
        Object readResolve() {
          return new ImmutableEnumMap<>(delegate);
        }
    
        @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/UnmodifiableSortedMultiset.java

        return Multisets.unmodifiableSortedMultiset(delegate().tailMultiset(lowerBound, boundType));
      }
    
      @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 4K bytes
    - Click Count (0)
Back to Top