Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 587 for relative (0.06 sec)

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

        try {
          long remainingNanos = unit.toNanos(timeout);
          long end = System.nanoTime() + remainingNanos;
    
          while (true) {
            try {
              // TimeUnit.timedJoin() treats negative timeouts just like zero.
              NANOSECONDS.timedJoin(thread, remainingNanos);
              return;
            } catch (InterruptedException e) {
              interrupted = true;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/score/ScoreUpdaterTest.java

            String result = scoreUpdater.execute();
            // NullPointerException message should be captured
            assertTrue(result.contains("null") || result.contains("NullPointer"));
        }
    
        // Test with negative priority
        public void test_addScoreBooster_negativePriority() {
            PriorityTrackingBooster booster1 = new PriorityTrackingBooster(-1, 100L);
            PriorityTrackingBooster booster2 = new PriorityTrackingBooster(0, 200L);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java

            assertEquals("EndOfFileInformation[endOfFile=12345]", str2);
        }
    
        @Test
        @DisplayName("Test toString with various values")
        void testToStringWithVariousValues() {
            // Test negative value
            FileEndOfFileInformation info1 = new FileEndOfFileInformation(-100L);
            assertEquals("EndOfFileInformation[endOfFile=-100]", info1.toString());
    
            // Test zero
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  4. docs/en/docs/alternatives.md

    ### <a href="https://www.djangoproject.com/" class="external-link" target="_blank">Django</a> { #django }
    
    It's the most popular Python framework and is widely trusted. It is used to build systems like Instagram.
    
    It's relatively tightly coupled with relational databases (like MySQL or PostgreSQL), so, having a NoSQL database (like Couchbase, MongoDB, Cassandra, etc) as the main store engine is not very easy.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/ACETest.java

                // Note: GENERIC_READ (0x80000000) is negative, so it's less than positive values in signed comparison
                assertTrue(ACE.GENERIC_WRITE > 0 && ACE.GENERIC_READ < 0, "GENERIC_WRITE is positive, GENERIC_READ is negative");
            }
    
            @Test
            @DisplayName("Should validate constant bit ranges")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/net/InternetDomainName.java

       * The index in the {@link #parts()} list at which the public suffix begins. For example, for the
       * domain name {@code myblog.blogspot.co.uk}, the value would be 1 (the index of the {@code
       * blogspot} part). The value is negative (specifically, {@link #NO_SUFFIX_FOUND}) if no public
       * suffix was found.
       */
      private int publicSuffixIndex() {
        int publicSuffixIndexLocal = publicSuffixIndexCache;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrConnect2Test.java

                // Act & Assert
                assertDoesNotThrow(() -> new MsrpcSamrConnect2(null, 0, ph));
            }
    
            @Test
            @DisplayName("should accept negative access mask values")
            void testNegativeAccessMaskAccepted() {
                // Arrange
                SamrPolicyHandle ph = createMockPolicyHandle();
    
                // Act & Assert
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/NtTransQuerySecurityDescTest.java

            assertEquals(0, cmd.readDataWireFormat(buf, 0, buf.length));
        }
    
        @ParameterizedTest
        @CsvSource({ "0, 0", // all zeros
                "-1, 2147483647", // negative fid, max positive security
                "12345, 999" // arbitrary numbers
        })
        void toString_includesCorrectHexValues(int fid, int securityInformation) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/net/HostSpecifierTest.java

    import com.google.common.testing.NullPointerTester;
    import java.text.ParseException;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * {@link TestCase} for {@link HostSpecifier}. This is a relatively cursory test, as HostSpecifier
     * is a thin wrapper around {@link InetAddresses} and {@link InternetDomainName}; the unit tests for
     * those classes explore numerous corner cases. The intent here is to confirm that everything is
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/cache/CacheRefreshTest.java

    import com.google.common.cache.TestingCacheLoaders.IncrementingLoader;
    import com.google.common.testing.FakeTicker;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests relating to automatic cache refreshing.
     *
     * @author Charles Fry
     */
    @NullUnmarked
    public class CacheRefreshTest extends TestCase {
      public void testAutoRefresh() {
        FakeTicker ticker = new FakeTicker();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top