Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 248 for toInstant (0.04 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. api/go1.18.txt

    pkg go/ast, type IndexListExpr struct, Lbrack token.Pos
    pkg go/ast, type IndexListExpr struct, Rbrack token.Pos
    pkg go/ast, type IndexListExpr struct, X Expr
    pkg go/ast, type TypeSpec struct, TypeParams *FieldList
    pkg go/constant, method (Kind) String() string
    pkg go/token, const TILDE = 88
    pkg go/token, const TILDE Token
    pkg go/types, func Instantiate(*Context, Type, []Type, bool) (Type, error)
    pkg go/types, func NewContext() *Context
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Feb 17 20:31:46 UTC 2023
    - 13K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java

            // Then - response is created even with null config
            assertNotNull(response);
        }
    
        @Test
        @DisplayName("Should verify SMB2 header length constant usage")
        void testSmb2HeaderLengthUsage() {
            // Given
            Configuration mockConfig = mock(Configuration.class);
            Smb2TreeDisconnectRequest request = new Smb2TreeDisconnectRequest(mockConfig);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  9. cmd/apierrorcode_string.go

    // Code generated by "stringer -type=APIErrorCode -trimprefix=Err api-errors.go"; DO NOT EDIT.
    
    package cmd
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[ErrNone-0]
    	_ = x[ErrAccessDenied-1]
    	_ = x[ErrBadDigest-2]
    	_ = x[ErrEntityTooSmall-3]
    	_ = x[ErrEntityTooLarge-4]
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 16 07:34:24 UTC 2025
    - 21.6K bytes
    - Viewed (0)
  10. cmd/xl-storage-format-v1.go

    		return err
    	}
    
    	if !c.Algorithm.Available() {
    		internalLogIf(GlobalContext, errBitrotHashAlgoInvalid)
    		return errBitrotHashAlgoInvalid
    	}
    	return nil
    }
    
    // constant and shouldn't be changed.
    const (
    	legacyDataDir = "legacy"
    )
    
    func (m *xlMetaV1Object) ToFileInfo(volume, path string) (FileInfo, error) {
    	if !m.valid() {
    		return FileInfo{}, errFileCorrupt
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top