Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 729 for 1100 (0.03 seconds)

  1. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        assertFalse(MinMaxPriorityQueue.isEvenLevel(2));
        assertTrue(MinMaxPriorityQueue.isEvenLevel(3));
    
        assertFalse(MinMaxPriorityQueue.isEvenLevel((1 << 10) - 2));
        assertTrue(MinMaxPriorityQueue.isEvenLevel((1 << 10) - 1));
    
        int i = 1 << 29;
        assertTrue(MinMaxPriorityQueue.isEvenLevel(i - 2));
        assertFalse(MinMaxPriorityQueue.isEvenLevel(i - 1));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 36.2K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/multichannel/MultiChannelIntegrationTest.java

            assertFalse(nic.isRdmaCapable());
            assertEquals(address, nic.getAddress());
    
            // Test scoring
            int score = nic.getScore();
            assertEquals(11000, score); // 10000 (link speed) + 1000 (RSS bonus)
    
            // Test encoding/decoding
            byte[] encoded = nic.encode();
            assertNotNull(encoded);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketReaderTest.kt

        val bytes = binaryData(200)
        data.write("0264".decodeHex()).write(bytes, 0, 100)
        data.write("8064".decodeHex()).write(bytes, 100, 100)
        clientReader.processNextFrame()
        callback.assertBinaryMessage(bytes)
      }
    
      @Test fun twoFrameNotContinuation() {
        val bytes = binaryData(200)
        data.write("0264".decodeHex()).write(bytes, 0, 100)
        data.write("8264".decodeHex()).write(bytes, 100, 100)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 16:11:23 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  4. internal/dsync/drwmutex_test.go

    	defer runtime.GOMAXPROCS(runtime.GOMAXPROCS(-1))
    	n := 100
    	if testing.Short() {
    		n = 5
    	}
    	hammerRWMutex(t, 1, 1, n)
    	hammerRWMutex(t, 1, 3, n)
    	hammerRWMutex(t, 1, 10, n)
    	hammerRWMutex(t, 4, 1, n)
    	hammerRWMutex(t, 4, 3, n)
    	hammerRWMutex(t, 4, 10, n)
    	hammerRWMutex(t, 10, 1, n)
    	hammerRWMutex(t, 10, 3, n)
    	hammerRWMutex(t, 10, 10, n)
    	hammerRWMutex(t, 10, 5, n)
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/chat/ChatClientTest.java

        }
    
        @Test
        public void test_smartSummary_headTailRatio() {
            // Use 1000-char content with summaryMaxChars=500, no sources
            // omitMarker="\n...[omitted]...\n" (17 chars), suffix="", bodyBudget=500-0-17=483
            // headChars = (int)(483 * 0.6) = 289, tailChars = 483 - 289 = 194
            final String content = "A".repeat(1000);
            final ChatMessage msg = ChatMessage.assistantMessage(content);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 40.6K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/script/groovy/GroovyEngine.java

     * Class-level state (static fields, metaclass mutations) persists across evaluations
     * of the same script. In Fess, scripts are short expressions configured by
     * administrators (e.g., "data1 &gt; 10", "10 * boost1 + boost2") and do not use
     * static state, so this is acceptable.</p>
     *
     * <p>Resource Management: Each cached entry's GroovyClassLoader is closed on
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 11.9K bytes
    - Click Count (0)
  7. docs/smb3-features/03-multi-channel-design.md

            // Score interface for selection (higher is better)
            int score = linkSpeed;  // Base score is link speed
            
            if (rssCapable) score += 1000;   // Prefer RSS-capable
            if (rdmaCapable) score += 2000;  // Prefer RDMA-capable
            if (!ipv6) score += 100;         // Slight preference for IPv4
            
            return score;
        }
        
        private boolean checkRSSCapability() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 39.6K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/general/EditForm.java

        @Size(max = 1000)
        public String ldapSecurityAuthentication;
    
        /** LDAP initial context factory class name. */
        @Size(max = 1000)
        public String ldapInitialContextFactory;
    
        /** OpenID Connect client ID. */
        @Size(max = 1000)
        public String oicClientId;
    
        /** OpenID Connect client secret. */
        @Size(max = 1000)
        public String oicClientSecret;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 15.8K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java

            @DisplayName("Should throw exception when data exceeds buffer")
            void testWriteBytesWireFormatDataExceedsBuffer() {
                byte[] largeData = new byte[1000];
                request.setData(largeData, 0, largeData.length);
    
                byte[] smallBuffer = new byte[100];
    
                IllegalArgumentException exception =
                        assertThrows(IllegalArgumentException.class, () -> request.writeBytesWireFormat(smallBuffer, 0));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 22.4K bytes
    - Click Count (0)
  10. cmd/object-api-listobjects_test.go

    		shouldPass bool
    	}{
    		{testBuckets[0], "unique/", "", "/", 1000, false, resultCases[0], ListObjectVersionsInfo{}, nil, true},
    		{testBuckets[0], "unique/folder", "", "/", 1000, false, resultCases[0], ListObjectVersionsInfo{}, nil, true},
    		{testBuckets[0], "unique/", "", "", 1000, false, resultCases[1], ListObjectVersionsInfo{}, nil, true},
    		{testBuckets[1], "unique/", "", "/", 1000, false, resultCases[0], ListObjectVersionsInfo{}, nil, true},
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 10 18:57:03 GMT 2025
    - 76.1K bytes
    - Click Count (0)
Back to Top