Search Options

Results per page
Sort
Preferred Languages
Advance

Results 751 - 760 of 864 for Hero (0.02 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt

    import org.junit.jupiter.api.Tag
    import org.junit.jupiter.api.Test
    
    @Tag("Slow")
    class RealWebSocketTest {
      // NOTE: Fields are named 'client' and 'server' for cognitive simplicity. This differentiation has
      // zero effect on the behavior of the WebSocket API which is why tests are only written once
      // from the perspective of a single peer.
      private val random = Random(0)
      private val taskFaker = TaskFaker()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java

            // Test with exact parameter size
            byte[] paramBuffer = new byte[2];
            written = trans2QueryFSInfo.writeParametersWireFormat(paramBuffer, 0);
            assertEquals(2, written);
    
            // Test with zero-length data buffer
            byte[] dataBuffer = new byte[0];
            written = trans2QueryFSInfo.writeDataWireFormat(dataBuffer, 0);
            assertEquals(0, written);
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/HashFunction.java

     *       produce the same hash code for distinct inputs (a "collision"), every hash function strives
     *       to <i>some</i> degree to make this unlikely. (Without this condition, a function that
     *       always returns zero could be called a hash function. It is not.)
     * </ul>
     *
     * <p>Summarizing the last two points: "equal yield equal <i>always</i>; unequal yield unequal
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/hash/HashFunction.java

     *       produce the same hash code for distinct inputs (a "collision"), every hash function strives
     *       to <i>some</i> degree to make this unlikely. (Without this condition, a function that
     *       always returns zero could be called a hash function. It is not.)
     * </ul>
     *
     * <p>Summarizing the last two points: "equal yield equal <i>always</i>; unequal yield unequal
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/Files.java

        checkNotNull(file1);
        checkNotNull(file2);
        if (file1 == file2 || file1.equals(file2)) {
          return true;
        }
    
        /*
         * Some operating systems may return zero as the length for files denoting system-dependent
         * entities such as devices or pipes, in which case we must fall back on comparing the bytes
         * directly.
         */
        long len1 = file1.length();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 25 20:24:13 UTC 2025
    - 32.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/io/Files.java

        checkNotNull(file1);
        checkNotNull(file2);
        if (file1 == file2 || file1.equals(file2)) {
          return true;
        }
    
        /*
         * Some operating systems may return zero as the length for files denoting system-dependent
         * entities such as devices or pipes, in which case we must fall back on comparing the bytes
         * directly.
         */
        long len1 = file1.length();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 25 20:24:13 UTC 2025
    - 32.8K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/curl/CurlRequestTest.java

            assertNotNull(processor2.getResponse());
            assertNotNull(processor3.getResponse());
        }
    
        @Test
        public void testRequestProcessorWithZeroThreshold() {
            // Test RequestProcessor with zero threshold
            CurlRequest.RequestProcessor processor = new CurlRequest.RequestProcessor("UTF-8", 0);
            assertNotNull(processor.getResponse());
        }
    
        @Test
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Mon Nov 24 03:10:07 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerContextTest.java

            assertEquals(1L, crawlerContext.getAccessCount());
    
            assertEquals(0L, crawlerContext.decrementAndGetAccessCount());
            assertEquals(0L, crawlerContext.getAccessCount());
    
            // Test decrement below zero
            assertEquals(-1L, crawlerContext.decrementAndGetAccessCount());
            assertEquals(-1L, crawlerContext.getAccessCount());
        }
    
        /**
         * Test concurrent access count operations
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java

            int length = testBlock.decode(buffer, 0);
    
            assertTrue(length > 0);
            assertEquals((byte) 0x42, andxBlock.getCommand());
        }
    
        @Test
        @DisplayName("Test decode with zero wordCount")
        void testDecodeWithZeroWordCount() throws SMBProtocolDecodingException {
            testBlock = new TestAndXServerMessageBlock(mockConfig, (byte) 0x25) {
                @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/SmbTransportPoolTest.java

                // Then
                assertEquals(null, result);
            }
    
            @Test
            @DisplayName("Should handle zero port")
            void testZeroPort() {
                // Given
                when(transportPool.getSmbTransport(context, address, 0, false)).thenReturn(transport);
    
                // When
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
Back to top