Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 415 for 1L (0.02 sec)

  1. src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java

            OptionalEntity<CharMappingItem> result = charMappingFile.get(1L);
            assertFalse(result.isPresent());
        }
    
        // Test get method with valid data
        public void test_get_validData() throws Exception {
            writeTestFile("a,b => c\nd,e => f\n");
    
            OptionalEntity<CharMappingItem> result1 = charMappingFile.get(1L);
            assertTrue(result1.isPresent());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

                } ?: return
              }
            } catch (thrown: Throwable) {
              // A task failed. Update execution state and re-throw the exception.
              withLock {
                afterRun(task, -1L, false)
              }
              if (thrown is InterruptedException) {
                Thread.currentThread().interrupt()
              } else {
                throw thrown
              }
            } finally {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCookieResourceProviderTest.java

            originalFessConfig = ComponentUtil.getFessConfig();
    
            // Set up test FessConfig
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
                private static final long serialVersionUID = 1L;
    
                @Override
                public String getCookieDefaultPath() {
                    return "/test/path";
                }
    
                @Override
                public Integer getCookieDefaultExpireAsInteger() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/com/SmbComCloseTest.java

         */
        @Test
        public void testWriteBytesWireFormat() {
            // Given
            SmbComClose smbComClose = new SmbComClose(config, 1, 1L);
            byte[] dst = new byte[0];
    
            // When
            int bytesWritten = smbComClose.writeBytesWireFormat(dst, 0);
    
            // Then
            assertEquals(0, bytesWritten);
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/SignedBytesTest.java

        }
        assertCastFails(GREATEST + 1L);
        assertCastFails(LEAST - 1L);
        assertCastFails(Long.MAX_VALUE);
        assertCastFails(Long.MIN_VALUE);
      }
    
      public void testSaturatedCast() {
        for (byte value : VALUES) {
          assertThat(SignedBytes.saturatedCast((long) value)).isEqualTo(value);
        }
        assertThat(SignedBytes.saturatedCast(GREATEST + 1L)).isEqualTo(GREATEST);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7K bytes
    - Viewed (0)
  6. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/ServerSentEventReader.kt

            }
    
            in 18..19 -> {
              val retryMs = source.readRetryMs()
              if (retryMs != -1L) {
                callback.onRetryChange(retryMs)
              }
            }
    
            -1 -> {
              val lineEnd = source.indexOfElement(CRLF)
              if (lineEnd != -1L) {
                // Skip the line and newline
                source.skip(lineEnd)
                source.select(options)
              } else {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:47:47 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/ExecutionListTest.java

        assertEquals(3L, countDownLatch.getCount());
    
        list.execute();
    
        // Verify that all of the runnables execute in a reasonable amount of time.
        assertTrue(countDownLatch.await(1L, SECONDS));
      }
    
      public void testExecute_idempotent() {
        AtomicInteger runCalled = new AtomicInteger();
        list.add(
            new Runnable() {
              @Override
              public void run() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/AllocInfoTest.java

        @DisplayName("Edge Cases and Boundary Tests")
        class EdgeCasesTests {
    
            @ParameterizedTest
            @DisplayName("Should handle boundary values for capacity")
            @ValueSource(longs = { 0L, 1L, -1L, 1024L, 1048576L, 1073741824L, Long.MAX_VALUE, Long.MIN_VALUE, Long.MAX_VALUE - 1,
                    Long.MIN_VALUE + 1 })
            void shouldHandleBoundaryValuesForCapacity(long capacity) {
                // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java

            // Verify through toString that value is set
            assertTrue(info.toString().contains("endOfFile=" + endOfFile));
        }
    
        @ParameterizedTest
        @ValueSource(longs = { 0L, 1L, 100L, 1024L, Long.MAX_VALUE, -1L, Long.MIN_VALUE })
        @DisplayName("Test constructor with various end of file values")
        void testConstructorWithVariousValues(long endOfFile) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/util/SMBUtilTest.java

        @ValueSource(longs = { 0L, 1L, 0xFFFFFFFFL, 0x12345678L, 0x80000000L })
        void testWriteReadInt4RoundTrip(long input) {
            byte[] buffer = new byte[8];
            SMBUtil.writeInt4(input, buffer, 0);
            int result = SMBUtil.readInt4(buffer, 0);
            assertEquals((int) (input & 0xFFFFFFFFL), result);
        }
    
        @ParameterizedTest
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
Back to top