Search Options

Results per page
Sort
Preferred Languages
Advance

Results 631 - 640 of 814 for 5000 (0.04 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/RecordingEventListener.kt

        }
    
        if (elapsedMs != -1L) {
          assertThat(
            TimeUnit.NANOSECONDS
              .toMillis(actualElapsedNs)
              .toDouble(),
          ).isCloseTo(elapsedMs.toDouble(), 100.0)
        }
    
        return result
      }
    
      fun recordedEventTypes() = eventSequence.map { it.name }
    
      fun clearAllEvents() {
        while (eventSequence.isNotEmpty()) {
          takeEvent()
        }
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

            // Given
            Smb2EncryptionContext context = new Smb2EncryptionContext(1, DialectVersion.SMB311, testEncryptionKey, testDecryptionKey);
            Set<String> nonces = new HashSet<>();
            int numNonces = 1000;
    
            // When generating multiple nonces
            for (int i = 0; i < numNonces; i++) {
                byte[] nonce = context.generateNonce();
                assertNotNull(nonce, "Nonce should not be null");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/util/SystemUtilTest.java

            }
        }
    
        public void test_getSearchEngineHttpAddress_withLongValue() {
            // Test with a very long URL
            StringBuilder longUrl = new StringBuilder("http://");
            for (int i = 0; i < 1000; i++) {
                longUrl.append("a");
            }
            longUrl.append(".example.com:9200");
    
            String originalValue = System.getProperty(Constants.FESS_SEARCH_ENGINE_HTTP_ADDRESS);
    
            try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/multichannel/ChannelFailover.java

            public FailoverState(String channelId) {
                this.channelId = channelId;
                this.failureTime = System.currentTimeMillis();
                this.retryCount = 0;
                this.nextRetryTime = failureTime + 1000; // Initial 1 second delay
            }
    
            /**
             * Get channel ID
             *
             * @return channel identifier
             */
            public String getChannelId() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java

            // Set large buffer offset
            SMBUtil.writeInt2(1000, buffer, bufferIndex + 2);
            // Set buffer length
            SMBUtil.writeInt4(8, buffer, bufferIndex + 4);
    
            response = spy(response);
            when(response.getHeaderStart()).thenReturn(0);
    
            // Write FileInternalInfo data at the large offset
            SMBUtil.writeInt8(0x123456789ABCDEFL, buffer, 1000);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/it/CrudTestBase.java

    import io.restassured.path.json.JsonPath;
    import io.restassured.response.Response;
    
    public abstract class CrudTestBase extends ITBase {
    
        protected static final int NUM = 20;
        protected static final int SEARCH_ALL_NUM = 1000;
    
        private static final Logger logger = LogManager.getLogger(CrudTestBase.class);
    
        // ================
        // Abstract Methods
        // ================
        abstract protected String getNamePrefix();
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndX.java

    /* jcifs smb client library in Java
     * Copyright (C) 2000  "Michael B. Allen" <jcifs at samba dot org>
     *
     * This library is free software; you can redistribute it and/or
     * modify it under the terms of the GNU Lesser General Public
     * License as published by the Free Software Foundation; either
     * version 2.1 of the License, or (at your option) any later version.
     *
     * This library is distributed in the hope that it will be useful,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeTest.java

        }
    
        @Test
        @DisplayName("Test with maximum offset boundary")
        void testMaxOffsetBoundary() {
            // Arrange
            byte[] largeData = new byte[1000];
            for (int i = 0; i < largeData.length; i++) {
                largeData[i] = (byte) (i % 256);
            }
            int offset = 990;
            int length = 10;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java

            }
        }
    
        protected int getBoundaryLimitSize() {
            // one HTTP proxy tool already limits the size (e.g. 3450 bytes)
            // so specify this size for test
            return 2000; // you can override as you like it
        }
    
        protected void throwTooLongBoundarySizeException(final String contentType, final int boundarySize, final int limitSize) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java

            if (valueSeparator.length() > 0) {
                final String[] values = rolesStr.split(valueSeparator);
                if (maxAge > 0) {
                    try {
                        final long time = getCurrentTime() / 1000 - Long.parseLong(values[0]);
                        if (time > maxAge || time < 0) {
                            if (logger.isDebugEnabled()) {
                                logger.debug("role info is expired: {} > {}", time, maxAge);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15.1K bytes
    - Viewed (0)
Back to top