Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 400 for rounds (0.04 sec)

  1. guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java

        return multiset(ImmutableMap.of(value1, count1, value2, count2));
      }
    
      private static <T> ImmutableMultiset<T> multiset(Map<T, Integer> counts) {
        ImmutableMultiset.Builder<T> builder = ImmutableMultiset.builder();
        for (Entry<T, Integer> entry : counts.entrySet()) {
          builder.addCopies(entry.getKey(), entry.getValue());
        }
        return builder.build();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RoutePlanner.kt

     *     a race in fast follow-up.
     *
     *  4. If there's no existing connection, make a list of routes (which may require blocking DNS
     *     lookups) and attempt new connections to them. When failures occur, retries iterate the
     *     list of available routes.
     *
     * If the pool gains an eligible connection while DNS, TCP, or TLS work is in flight, this finder
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancerTest.java

            ChannelInfo first = loadBalancer.selectChannel(mockMessage);
            ChannelInfo second = loadBalancer.selectChannel(mockMessage);
    
            assertNotNull(first);
            assertNotNull(second);
            // Due to round-robin, should get different channels or same order
            assertTrue(Arrays.asList(channel1, channel2).contains(first));
            assertTrue(Arrays.asList(channel1, channel2).contains(second));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/EncdecTest.java

            // Then
            String decoded = new String(buffer);
            assertEquals(testString, decoded);
        }
    
        @Test
        @DisplayName("Should handle buffer bounds checking")
        void testBufferBounds() {
            // Given
            byte[] smallBuffer = new byte[2];
    
            // When/Then
            assertThrows(IndexOutOfBoundsException.class, () -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/DcerpcExceptionTest.java

        }
    
        /**
         * Test getMessageByDcerpcError() with an error code larger than any known.
         * The binary search implementation has a bug where it accesses array out of bounds.
         */
        @Test
        void testGetMessageByDcerpcError_largerThanAny() {
            int unknownCode = 0x7FFFFFFF; // Max int value
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  6. CHANGELOG/CHANGELOG-1.10.md

    * attachdetach controller attaches volumes immediately when Pod's PVCs are bound ([#66863](https://github.com/kubernetes/kubernetes/pull/66863), [@cofyc](https://github.com/cofyc))
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Thu May 05 13:44:43 UTC 2022
    - 341.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/netbios/NameServiceClientImpl.java

         */
        private boolean isBroadcastAddress(final InetAddress svr) {
            return svr.equals(this.baddr) || svr.getAddress()[3] == (byte) 0xFF;
        }
    
        /**
         * Switches to the next available WINS server in round-robin fashion.
         *
         * @return the next WINS server address, or null if no WINS servers are configured
         */
        protected InetAddress switchWINS() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 38.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/Java8Compatibility.java

     * the License.
     */
    
    package com.google.common.hash;
    
    import com.google.common.annotations.GwtIncompatible;
    import java.nio.Buffer;
    
    /**
     * Wrappers around {@link Buffer} methods that are covariantly overridden in Java 9+. See
     * https://github.com/google/guava/issues/3990
     */
    @GwtIncompatible
    final class Java8Compatibility {
      static void clear(Buffer b) {
        b.clear();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/SmbComNtTransactionTest.java

            assertEquals(0, dst[35], "Reserved byte should be 0");
        }
    
        @Test
        void testWriteParameterWordsWireFormat_ZeroCounts() {
            // Test with zero parameter and data counts to check conditional logic.
            smbComNtTransaction.command = ServerMessageBlock.SMB_COM_NT_TRANSACT;
            smbComNtTransaction.parameterCount = 0;
            smbComNtTransaction.dataCount = 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java

            assertEquals(SmbComTransaction.TRANSACTION_BUF_SIZE, buffer.length, "Buffer should have TRANSACTION_BUF_SIZE");
    
            // The validation in getBuffer() ensures size is within bounds (0 < size <= 1MB)
            assertTrue(buffer.length > 0, "Buffer size should be positive");
            assertTrue(buffer.length <= 0x100000, "Buffer size should not exceed 1MB");
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.6K bytes
    - Viewed (0)
Back to top