Search Options

Results per page
Sort
Preferred Languages
Advance

Results 501 - 510 of 2,036 for wong (0.05 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache2/FileOperator.kt

    internal class FileOperator(
      private val fileChannel: FileChannel,
    ) {
      /** Write [byteCount] bytes from [source] to the file at [pos]. */
      @Throws(IOException::class)
      fun write(
        pos: Long,
        source: Buffer,
        byteCount: Long,
      ) {
        if (byteCount < 0L || byteCount > source.size) {
          throw IndexOutOfBoundsException()
        }
        var mutablePos = pos
        var mutableByteCount = byteCount
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbFileOutputStream.java

        private final boolean append;
    
        private boolean useNTSmbs;
        private int openFlags;
    
        private final int access;
    
        private int writeSize;
    
        private int writeSizeFile;
        private long fp;
        private byte[] tmp = new byte[1];
        private SmbComWriteAndX reqx;
        private SmbComWriteAndXResponse rspx;
        private SmbComWrite req;
        private SmbComWriteResponse rsp;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt

          "CallEnd",
        )
      }
    
      private fun assertBytesReadWritten(
        listener: RecordingEventListener,
        requestHeaderLength: Matcher<Long?>?,
        requestBodyBytes: Matcher<Long?>?,
        responseHeaderLength: Matcher<Long?>?,
        responseBodyBytes: Matcher<Long?>?,
      ) {
        if (requestHeaderLength != null) {
          val responseHeadersEnd = listener.removeUpToEvent<RequestHeadersEnd>()
          MatcherAssert.assertThat(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 60.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/config/BaseConfiguration.java

         */
        protected long witnessHeartbeatTimeout = 120000; // 2 minutes
        /**
         * Timeout in milliseconds for witness registration
         */
        protected long witnessRegistrationTimeout = 300000; // 5 minutes
        /**
         * Delay in milliseconds before attempting witness reconnection
         */
        protected long witnessReconnectDelay = 1000; // 1 second
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCookieResourceProviderTest.java

            super.setUp();
    
            originalFessConfig = ComponentUtil.getFessConfig();
    
            // Set up test FessConfig
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
                private static final long serialVersionUID = 1L;
    
                @Override
                public String getCookieDefaultPath() {
                    return "/test/path";
                }
    
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            assertTrue(file.canRead(), "Should be readable");
            assertTrue(file.canWrite(), "Should be writable");
    
            // Test timestamps
            long createTime = file.createTime();
            long lastModified = file.lastModified();
            long lastAccess = file.lastAccess();
    
            assertTrue(createTime > 0, "Create time should be set");
            assertTrue(lastModified > 0, "Last modified time should be set");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java

        public void testAuthenticationTimestamp() throws InterruptedException {
            long beforeCreation = System.currentTimeMillis();
    
            NtlmPasswordAuthenticator auth = new NtlmPasswordAuthenticator("user", "TimestampPass123!");
    
            long afterCreation = System.currentTimeMillis();
    
            // Set a reasonable TTL
            auth.setAuthenticationTTL(1000); // 1 second
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/witness/WitnessClient.java

        // Polling and backoff constants (in ms)
        private static final long MAX_POLL_INTERVAL = 5000; // Normal polling: max 5 seconds
        private static final long MAX_ERROR_BACKOFF = 30000; // Error polling: max 30 seconds
        private static final long BASE_POLL_INTERVAL = 1000;
        private static final long BASE_ERROR_DELAY = 1000;
        private static final int MAX_FAILURE_LIMIT = 5; // Limit failures for backoff calculation
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/opensearch/config/exentity/ScheduledJob.java

        public String getId() {
            return asDocMeta().id();
        }
    
        public void setId(final String id) {
            asDocMeta().id(id);
        }
    
        public Long getVersionNo() {
            return asDocMeta().version();
        }
    
        public void setVersionNo(final Long version) {
            asDocMeta().version(version);
        }
    
        @Override
        public String toString() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/opensearch/log/exentity/FavoriteLog.java

        private static final long serialVersionUID = 1L;
    
        private Map<String, Object> fields;
    
        @Override
        public String getId() {
            return asDocMeta().id();
        }
    
        public void setId(final String id) {
            asDocMeta().id(id);
        }
    
        @Override
        public Long getVersionNo() {
            return asDocMeta().version();
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 2.7K bytes
    - Viewed (0)
Back to top