Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 766 for Constants (0.05 seconds)

  1. src/test/java/org/codelibs/fess/cors/CorsHandlerTest.java

                        httpResponse.addHeader(ACCESS_CONTROL_ALLOW_PRIVATE_NETWORK, "true");
                    }
                }
            };
        }
    
        // Test that all CORS header constants are defined correctly
        @Test
        public void test_corsHeaderConstants() {
            assertEquals("Access-Control-Allow-Origin", CorsHandler.ACCESS_CONTROL_ALLOW_ORIGIN);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 26.3K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/net/MediaType.java

        return mediaType;
      }
    
      /*
       * The following constants are grouped by their type and ordered alphabetically by the constant
       * name within that type. The constant name should be a sensible identifier that is closest to the
       * "common name" of the media. This is often, but not necessarily the same as the subtype.
       *
       * Be sure to declare all constants with the type and subtype in all lowercase. For types that
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Oct 02 01:46:40 GMT 2025
    - 48K bytes
    - Click Count (0)
  3. cmd/warm-backend-minio.go

    // optimalPartInfo - calculate the optimal part info for a given
    // object size.
    //
    // NOTE: Assumption here is that for any object to be uploaded to any S3 compatible
    // object storage it will have the following parameters as constants.
    //
    //	maxPartsCount - 10000
    //	maxMultipartPutObjectSize - 5TiB
    func optimalPartSize(objectSize int64) (partSize int64, err error) {
    	// object size is '-1' set it to 5TiB.
    	if objectSize == -1 {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 4K bytes
    - Click Count (1)
  4. src/main/java/jcifs/internal/smb2/rdma/disni/DisniMemoryRegion.java

         */
        @SuppressWarnings("unused")
        private int convertAccessFlags(EnumSet<RdmaAccess> access) {
            int flags = 0;
    
            // In real implementation, this would convert to DiSNI constants:
            // if (access.contains(RdmaAccess.LOCAL_READ)) {
            //     flags |= IbvMr.IBV_ACCESS_LOCAL_READ;
            // }
            // if (access.contains(RdmaAccess.LOCAL_WRITE)) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb1/com/SmbComNTCreateAndXTest.java

        @Mock
        ServerMessageBlock mockAndX;
        @Mock
        CIFSContext mockContext;
    
        /**
         * Helper that creates a request instance with the supplied flags.
         * The other arguments are simple constants.
         */
        private SmbComNTCreateAndX createRequest(int flags, int createOptions) {
            return new SmbComNTCreateAndX(mockConfig, "test.txt", flags, SmbConstants.FILE_READ_EA, // desired access
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/DosErrorTest.java

    import org.mockito.ArgumentCaptor;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    @ExtendWith(MockitoExtension.class)
    class DosErrorTest {
    
        // Helper that performs a lookup over the constants exposed by DosError.
        // Returns -1 if the DOS code is not mapped.
        private static int findNtStatusOrMinusOne(int dosCode) {
            for (int[] pair : DosError.DOS_ERROR_CODES) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb1/smb1/SmbComTransactionTest.java

        }
    
        @Test
        @DisplayName("Test default buffer size constant")
        void testBufferSizeConstant() {
            assertEquals(0xFFFF, SmbComTransaction.TRANSACTION_BUF_SIZE, "TRANSACTION_BUF_SIZE should be 0xFFFF");
        }
    
        @Test
        @DisplayName("Test transaction subcommand constants")
        void testSubcommandConstants() {
            // Test Trans2 subcommands
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/base/StandardSystemProperty.java

       *   <li>Unusual environments like GWT may have their own special handling of system properties.
       * </ul>
       *
       * <p>Note that {@code StandardSystemProperty} does not provide constants for more recently added
       * properties, including:
       *
       * <ul>
       *   <li>{@code java.vendor.version} (added in Java 11, listed as optional as of Java 13)
       *   <li>{@code jdk.module.*} (added in Java 9, optional)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 06 10:03:30 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java

                    fail("Should not throw exception: " + e.getMessage());
                }
            }
    
            @Test
            @DisplayName("Should verify cipher constants")
            void testCipherConstants() {
                // Verify the cipher constants are correctly defined
                assertEquals(0x1, EncryptionNegotiateContext.CIPHER_AES128_CCM);
                assertEquals(0x2, EncryptionNegotiateContext.CIPHER_AES128_GCM);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.8K bytes
    - Click Count (0)
  10. guava/src/com/google/common/base/StandardSystemProperty.java

       *   <li>Unusual environments like GWT may have their own special handling of system properties.
       * </ul>
       *
       * <p>Note that {@code StandardSystemProperty} does not provide constants for more recently added
       * properties, including:
       *
       * <ul>
       *   <li>{@code java.vendor.version} (added in Java 11, listed as optional as of Java 13)
       *   <li>{@code jdk.module.*} (added in Java 9, optional)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 06 10:03:30 GMT 2025
    - 4.9K bytes
    - Click Count (0)
Back to Top