Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 455 for constraint (0.04 sec)

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

        @Keep public static final WithPublicConstants FIRST = new WithPublicConstants();
    
        // To test that we pick the first constant alphabetically
        @Keep public static final WithPublicConstants SECOND = new WithPublicConstants();
      }
    
      private static class FirstConstantIsNull {
        // To test that null constant is ignored
        @Keep public static final @Nullable FirstConstantIsNull FIRST = null;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 21.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/it/CrudTestBase.java

        abstract protected String getItemEndpointSuffix();
    
        abstract protected Map<String, Object> createTestParam(int id);
    
        abstract protected Map<String, Object> getUpdateMap();
    
        // ================
        // Constant
        // ================
        protected String getIdKey() {
            return "id";
        }
    
        @BeforeAll
        protected static void initAll() {
            RestAssured.baseURI = getFessUrl();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/SmbConstantsTest.java

            // SmbConstants is an interface with static final fields
            // Verify constants maintain their values
            assertEquals(445, SmbConstants.DEFAULT_PORT);
    
            // Test that the constant values are as expected for protocol compliance
            assertTrue(SmbConstants.DEFAULT_PORT > 0);
            assertTrue(SmbConstants.DEFAULT_RESPONSE_TIMEOUT > 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/util/SystemUtilTest.java

            assertEquals("Should extend org.codelibs.core.lang.SystemUtil", "org.codelibs.core.lang.SystemUtil", superClass.getName());
        }
    
        public void test_constants_reference() {
            // Test that the constant used is accessible and has expected value
            assertEquals("fess.search_engine.http_address", Constants.FESS_SEARCH_ENGINE_HTTP_ADDRESS);
        }
    
        public void test_static_method_signature() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java

                assertNotNull(lock);
            }
        }
    
        @Nested
        @DisplayName("Size Tests")
        class SizeTests {
    
            @Test
            @DisplayName("Should return constant size of 24 bytes")
            void testSize() {
                lock = new Smb2Lock(100L, 200L, Smb2Lock.SMB2_LOCKFLAG_SHARED_LOCK);
    
                assertEquals(24, lock.size());
            }
    
            @ParameterizedTest
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java

                }
    
                mac.update(data, offset, length);
                final byte[] cmp = new byte[SIGNATURE_LENGTH];
                System.arraycopy(mac.doFinal(), 0, cmp, 0, SIGNATURE_LENGTH);
    
                // Use constant-time comparison to prevent timing attacks
                if (!MessageDigest.isEqual(sig, cmp)) {
                    return false; // Signature verification failed
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/util/ResourceUtil.java

        /** Environment variable name for specifying the application type */
        private static final String FESS_APP_TYPE = "FESS_APP_TYPE";
    
        /** Constant value representing Docker application type */
        private static final String FESS_APP_DOCKER = "docker";
    
        /**
         * Protected constructor to prevent instantiation of this utility class.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java

        void testGetAttributes() {
            // Default instance
            assertEquals(SmbConstants.ATTR_READONLY | SmbConstants.ATTR_DIRECTORY, shareInfo.getAttributes());
    
            // Instance with values - attributes are still constant
            SmbShareInfo info = new SmbShareInfo(TEST_NET_NAME, TEST_TYPE, TEST_REMARK);
            assertEquals(SmbConstants.ATTR_READONLY | SmbConstants.ATTR_DIRECTORY, info.getAttributes());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/filter/CorsFilterTest.java

            }
        }
    
        // Test constructor
        public void test_constructor() {
            CorsFilter filter = new CorsFilter();
            assertNotNull(filter);
        }
    
        // Test OPTIONS constant
        public void test_optionsConstant() {
            assertEquals("OPTIONS", CorsFilter.OPTIONS);
        }
    
        // Helper classes for testing
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java

            }
        }
    
        @Nested
        @DisplayName("Pipe Flags Tests")
        class PipeFlagsTests {
    
            @Test
            @DisplayName("Should have correct pipe flags constant")
            void testPipeFlags() {
                int expectedFlags = (0x2019F << 16) | SmbPipeResource.PIPE_TYPE_RDWR | SmbPipeResource.PIPE_TYPE_DCE_TRANSACT;
                assertEquals(expectedFlags, DcerpcPipeHandle.pipeFlags);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
Back to top