Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 664 for constant (0.1 seconds)

  1. src/test/java/jcifs/FileNotifyInformationTest.java

        }
    
        @Nested
        @DisplayName("Action Constants Tests")
        class ActionConstantsTests {
    
            @Test
            @DisplayName("Verify FILE_ACTION_ADDED constant value")
            void testFileActionAdded() {
                assertEquals(0x00000001, FileNotifyInformation.FILE_ACTION_ADDED);
            }
    
            @Test
            @DisplayName("Verify FILE_ACTION_REMOVED constant value")
            void testFileActionRemoved() {
    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)
  2. src/test/java/jcifs/ACETest.java

                    ACE.WRITE_DAC, ACE.WRITE_OWNER, ACE.SYNCHRONIZE })
            @DisplayName("Access constants should be powers of 2")
            void shouldBeValidPowersOfTwo(int constant) {
                assertTrue(constant > 0, "Constant should be positive");
                assertEquals(0, constant & (constant - 1), "Constant should be power of 2: " + Integer.toHexString(constant));
            }
    
            @ParameterizedTest
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 24.4K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/Constants.java

        /** String constant representing boolean true value. */
        public static final String TRUE = "true";
    
        /** String constant representing boolean false value. */
        public static final String FALSE = "false";
    
        /** Boolean constant representing true value. */
        public static final Boolean T = true;
    
        /** Boolean constant representing false value. */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 35.8K bytes
    - Click Count (0)
  4. src/cmd/asm/internal/asm/asm.go

    	case 3:
    		if p.arch.Family == sys.PPC64 {
    			// Special 3-operand jumps.
    			// a[1] is a register number expressed as a constant or register value
    			target = &a[2]
    			prog.From = a[0]
    			if a[0].Type != obj.TYPE_CONST {
    				// Legacy code may use a plain constant, accept it, and coerce
    				// into a constant. E.g:
    				//   BC 4,...
    				// into
    				//   BC $4,...
    				prog.From = obj.Addr{
    					Type:   obj.TYPE_CONST,
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Mar 20 17:02:17 GMT 2026
    - 27.5K bytes
    - Click Count (0)
  5. api/go1.5.txt

    pkg go/constant, const Bool = 1
    pkg go/constant, const Bool Kind
    pkg go/constant, const Complex = 5
    pkg go/constant, const Complex Kind
    pkg go/constant, const Float = 4
    pkg go/constant, const Float Kind
    pkg go/constant, const Int = 3
    pkg go/constant, const Int Kind
    pkg go/constant, const String = 2
    pkg go/constant, const String Kind
    pkg go/constant, const Unknown = 0
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Jul 30 21:14:09 GMT 2015
    - 46.6K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java

                auth2.close();
                auth3.close();
            }
        }
    
        /**
         * Test that the constant-time comparison method is actually used internally.
         */
        @Test
        public void testConstantTimeMethodExists() throws Exception {
            // Use reflection to verify the constant-time method exists
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

            }
        }
    
        /**
         * Encrypt using AES-GCM with constant-time operations
         */
        private EncryptionResult encryptWithGCM(byte[] message, byte[] nonce, byte[] associatedData) throws Exception {
            final Cipher cipher = createGCMCipher(true, nonce);
            cipher.updateAAD(associatedData);
    
            // Use constant-time encryption
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 35.5K bytes
    - Click Count (0)
  8. src/test/java/jcifs/MsrpcDfsRootEnumTest.java

            assertNull(entries[0].getName());
            assertEquals(8, entries[0].getType()); // TYPE_SHARE constant value
    
            assertInstanceOf(SmbShareInfo.class, entries[1]);
            assertEquals("valid_share", entries[1].getName());
            assertEquals(8, entries[1].getType()); // TYPE_SHARE constant value
        }
    
        @Test
        @DisplayName("DCE/RPC flags should be set correctly")
        void testDcerpcFlags() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.9K bytes
    - Click Count (0)
  9. src/cmd/asm/internal/asm/testdata/riscv64error.s

    	MOV	$1234, 0(SP)			// ERROR "constant load must target register"
    	MOV	$1234, 8(SP)			// ERROR "constant load must target register"
    	MOV	$0, 0(SP)			// ERROR "constant load must target register"
    	MOV	$0, 8(SP)			// ERROR "constant load must target register"
    	MOV	$1234, 0(SP)			// ERROR "constant load must target register"
    	MOV	$1234, 8(SP)			// ERROR "constant load must target register"
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Apr 01 04:17:57 GMT 2026
    - 27.2K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java

            @DisplayName("Should have correct FS_SIZE_INFO constant value")
            void testFsSizeInfoConstant() {
                assertEquals((byte) 3, FileSystemInformation.FS_SIZE_INFO);
            }
    
            @Test
            @DisplayName("Should have correct FS_FULL_SIZE_INFO constant value")
            void testFsFullSizeInfoConstant() {
                assertEquals((byte) 7, FileSystemInformation.FS_FULL_SIZE_INFO);
            }
    
            @Test
    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)
Back to Top