Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 5,824 for republic (0.08 sec)

  1. android/guava-tests/test/com/google/common/hash/HashingTest.java

     */
    @NullUnmarked
    public class HashingTest extends TestCase {
      public void testMd5() {
        HashTestUtils.checkAvalanche(Hashing.md5(), 100, 0.4);
        HashTestUtils.checkNo2BitCharacteristics(Hashing.md5());
        HashTestUtils.checkNoFunnels(Hashing.md5());
        HashTestUtils.assertInvariants(Hashing.md5());
        assertEquals("Hashing.md5()", Hashing.md5().toString());
      }
    
      public void testSha1() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/net/MediaTypeTest.java

     */
    @GwtCompatible
    @NullUnmarked
    public class MediaTypeTest extends TestCase {
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public void testParse_useConstants() throws Exception {
        for (MediaType constant : getConstants()) {
          assertSame(constant, MediaType.parse(constant.toString()));
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public void testCreate_useConstants() throws Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/beans/ConstructorDesc.java

         */
        Class<?>[] getParameterTypes();
    
        /**
         * Returns {@literal true} if the constructor is {@literal public}.
         *
         * @return {@literal true} if the constructor is {@literal public}
         */
        boolean isPublic();
    
        /**
         * Returns {@literal true} if the parameter type of the constructor is parameterized.
         *
         * @param index
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

          public InMemoryPrintWriter() {
            super(new StringWriter());
          }
        }
    
        @Keep
        public static final class DeterministicRandom extends Random {
          @Keep
          public DeterministicRandom() {
            super(0);
          }
        }
    
        @Keep
        public static final class DummyScheduledThreadPoolExecutor extends ScheduledThreadPoolExecutor {
          @Keep
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/beans/FieldDesc.java

         * @return the type of the field
         */
        <T> Class<T> getFieldType();
    
        /**
         * Returns {@literal true} if the field is {@literal public}.
         *
         * @return {@literal true} if the field is {@literal public}
         */
        boolean isPublic();
    
        /**
         * Returns {@literal true} if the field is {@literal static}.
         *
         * @return {@literal true} if the field is {@literal static}
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 4K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/util/SystemUtilTest.java

                // Check that it's static
                assertTrue("Method should be static", java.lang.reflect.Modifier.isStatic(method.getModifiers()));
    
                // Check that it's public
                assertTrue("Method should be public", java.lang.reflect.Modifier.isPublic(method.getModifiers()));
    
                // Check parameter count
                assertEquals("Method should have no parameters", 0, method.getParameterCount());
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/https/HandlerTest.java

            }
    
            @Test
            @DisplayName("DEFAULT_HTTPS_PORT should be public static final")
            void testDefaultHttpsPortModifiers() throws NoSuchFieldException {
                // When
                var field = Handler.class.getField("DEFAULT_HTTPS_PORT");
    
                // Then
                assertTrue(Modifier.isPublic(field.getModifiers()));
                assertTrue(Modifier.isStatic(field.getModifiers()));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/spnego/SpnegoConstantsTest.java

            for (Map.Entry<String, String> e : expected.entrySet()) {
                Field f = SpnegoConstants.class.getField(e.getKey());
                int m = f.getModifiers();
    
                assertTrue(Modifier.isPublic(m), e.getKey() + " must be public");
                assertTrue(Modifier.isStatic(m), e.getKey() + " must be static");
                assertTrue(Modifier.isFinal(m), e.getKey() + " must be final");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/SourceSinkTester.java

          throw new AssertionError();
        }
      }
    
      @Override
      public void tearDown() throws IOException {
        factory.tearDown();
      }
    
      static ImmutableList<Method> getTestMethods(Class<?> testClass) {
        List<Method> result = new ArrayList<>();
        for (Method method : testClass.getDeclaredMethods()) {
          if (Modifier.isPublic(method.getModifiers())
              && method.getReturnType() == void.class
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/lang/FieldUtil.java

         */
        public static boolean isInstanceField(final Field field) {
            assertArgumentNotNull("field", field);
    
            return !Modifier.isStatic(field.getModifiers());
        }
    
        /**
         * Checks if the given field is a public field.
         *
         * @param field the field (must not be {@literal null})
         * @return {@literal true} if it is a public field
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 9.8K bytes
    - Viewed (0)
Back to top