Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 126 for hundred (0.18 sec)

  1. docs/contribute/concurrency.md

    Sometimes there's an action required like calling the application layer or responding to a ping, and the thread discovering the action is not the thread that should do the work. We enqueue a runnable on this executor and it gets handled by one of the executor's threads.
    
    ### Locks
    
    We have 3 different things that we synchronize on.
    
    #### Http2Connection
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 16:35:36 UTC 2022
    - 7K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CacheControl.kt

      /**
       * The "s-maxage" directive is the max age for shared caches. Not to be confused with "max-age"
       * for non-shared caches, As in Firefox and Chrome, this directive is not honored by this cache.
       */
      @get:JvmName("sMaxAgeSeconds") val sMaxAgeSeconds: Int,
      val isPrivate: Boolean,
      val isPublic: Boolean,
      @get:JvmName("mustRevalidate") val mustRevalidate: Boolean,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 10K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/util/SMBUtilTest.java

                        - SmbConstants.MILLISECONDS_BETWEEN_1970_AND_1601;
                assertEquals(expectedTime, readTime);
            }
    
            // Test zero time separately - it's handled specially
            SMBUtil.writeTime(0L, buffer, 0);
            long readTime = SMBUtil.readTime(buffer, 0);
            // When writing 0, it writes 0 directly, and when reading 0, it returns negative offset
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt

     * This is typical for Java but atypical for HTTP/2. This is motivated by exception transparency:
     * an [IOException] that was triggered by a certain caller can be caught and handled by that caller.
     */
    @Suppress("NAME_SHADOWING")
    class Http2Connection internal constructor(
      builder: Builder,
    ) : Closeable,
      Lockable {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/MsrpcDfsRootEnumTest.java

            assertEquals(expectedFlags, dfsRootEnum.getFlags());
        }
    
        @Test
        @DisplayName("Multiple server names should be handled correctly")
        void testDifferentServerNames() {
            // Test with different server names
            String[] serverNames = { "server1", "domain.local", "192.168.1.100", "FILESERVER" };
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java

            buffer[bufferIndex + 36] = 0x00;
    
            int bytesRead = response.readParameterWordsWireFormat(buffer, bufferIndex);
    
            assertEquals(37, bytesRead);
    
            // Verify maximum values are correctly handled
            Field setupCountField = response.getClass().getSuperclass().getSuperclass().getDeclaredField("setupCount");
            setupCountField.setAccessible(true);
            assertEquals(255, setupCountField.get(response));
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java

            }
        }
    
        @Nested
        @DisplayName("Async Handling Tests")
        class AsyncHandlingTests {
    
            @Test
            @DisplayName("Should get and set async handled")
            void testAsyncHandled() {
                assertFalse(response.isAsyncHandled());
    
                response.setAsyncHandled(true);
    
                assertTrue(response.isAsyncHandled());
            }
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/netbios/NbtAddress.java

    import jcifs.NetbiosName;
    
    /**
     * This class represents a NetBIOS over TCP/IP address. Under normal
     * conditions, users of jCIFS need not be concerned with this class as
     * name resolution and session services are handled internally by the smb package.
     *
     *
     *  * Applications can use the methods <code>getLocalHost</code>,
     * <code>getByName</code>, and
     * <code>getAllByAddress</code> to create a new NbtAddress instance. This
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/spnego/NegTokenInitTest.java

                // Should not throw when converting to byte array
                assertDoesNotThrow(() -> init.toByteArray());
            }
    
            @Test
            @DisplayName("Large MIC values are handled correctly")
            void testLargeMicValue() throws Exception {
                byte[] largeMic = new byte[1024];
                Arrays.fill(largeMic, (byte) 0xAB);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  10. src/test/java/jcifs/util/SmbCircuitBreakerTest.java

                    }
                });
            }
    
            assertTrue(latch.await(10, TimeUnit.SECONDS), "Concurrent operations should complete");
            executor.shutdown();
    
            // Circuit breaker should have handled concurrent operations
            assertTrue(successCount.get() > 0, "Should have some successful operations");
            assertTrue(failureCount.get() > 0, "Should have some failed operations");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.2K bytes
    - Viewed (0)
Back to top