Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2041 - 2050 of 2,645 for longs (0.02 seconds)

  1. guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

            StringBuffer.class,
            StringBuilder.class,
            Pattern.class,
            MatchResult.class,
            Number.class,
            int.class,
            Integer.class,
            long.class,
            Long.class,
            short.class,
            Short.class,
            byte.class,
            Byte.class,
            boolean.class,
            Boolean.class,
            char.class,
            Character.class,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 18.6K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java

        @Test
        @DisplayName("Test writeUTime with DST scenarios")
        void testWriteUTimeWithDST() {
            when(mockConfig.getLocalTimezone()).thenReturn(mockTimeZone);
    
            byte[] dst = new byte[4];
            long testTime = System.currentTimeMillis();
    
            // Test when both current time and test time are in DST
            when(mockTimeZone.inDaylightTime(any(Date.class))).thenReturn(true);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.1K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java

        @DisplayName("Inherited DfsReferralData Methods Tests")
        class InheritedMethodsTests {
    
            @Test
            @DisplayName("Should get expiration")
            void testGetExpiration() {
                long expiration = System.currentTimeMillis() + 60000;
    
                // Test with mock
                when(mockReferralData.getExpiration()).thenReturn(expiration);
                assertEquals(expiration, mockReferralData.getExpiration());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 28.2K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt

        }.also { expected ->
          assertThat(expected.message).isEqualTo("FRAME_SIZE_ERROR length > 16384: 16777216")
        }
      }
    
      @Test fun windowUpdateRoundTrip() {
        val expectedWindowSizeIncrement: Long = 0x7fffffff
        writeMedium(frame, 4) // length
        frame.writeByte(Http2.TYPE_WINDOW_UPDATE)
        frame.writeByte(FLAG_NONE)
        frame.writeInt(expectedStreamId)
        frame.writeInt(expectedWindowSizeIncrement.toInt())
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 28.1K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/base/PredicatesTest.java

          };
    
      /** Instantiable predicate with reasonable hashCode() and equals() methods. */
      static class IsOdd implements Predicate<@Nullable Integer>, Serializable {
        @GwtIncompatible @J2ktIncompatible     private static final long serialVersionUID = 0x150ddL;
    
        @Override
        public boolean apply(@Nullable Integer i) {
          return (i.intValue() & 1) == 1;
        }
    
        @Override
        public int hashCode() {
          return 0x150dd;
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 32.2K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/exception/LdapOperationExceptionTest.java

            // Messages should not be affected by cause
            assertFalse(exception1.getMessage().equals(exception2.getMessage()));
        }
    
        @Test
        public void test_longMessage() {
            // Test with very long message
            StringBuilder longMessage = new StringBuilder();
            for (int i = 0; i < 1000; i++) {
                longMessage.append("LDAP error ").append(i).append(" ");
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 8.3K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/exception/ScriptEngineExceptionTest.java

            assertEquals("Root cause", exception.getCause().getCause().getMessage());
        }
    
        @Test
        public void test_withLongMessage() {
            // Test with a very long message
            StringBuilder longMessage = new StringBuilder();
            for (int i = 0; i < 1000; i++) {
                longMessage.append("Error message part ").append(i).append(" ");
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/collect/SynchronizedMapTest.java

          return super.hashCode();
        }
    
        @Override
        public String toString() {
          assertTrue(Thread.holdsLock(mutex));
          return super.toString();
        }
    
        private static final long serialVersionUID = 0;
      }
    
      /*
       * This is somewhat of a weak test; we verify that all of the methods are
       * correct, but not that they're actually forwarding correctly. We also rely
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 6K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/base/CaseFormat.java

        }
    
        @Override
        public String toString() {
          return sourceFormat + ".converterTo(" + targetFormat + ")";
        }
    
        @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0L;
      }
    
      abstract String normalizeWord(String word);
    
      String normalizeFirstWord(String word) {
        return normalizeWord(word);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Dec 03 18:46:33 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/EnumHashBiMap.java

         */
        setDelegates(new EnumMap<>(keyTypeOrObjectUnderJ2cl), new HashMap<>());
        Serialization.populateMap(this, stream);
      }
    
      @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 15:50:50 GMT 2025
    - 5.2K bytes
    - Click Count (0)
Back to Top