- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 357 for Constant (0.18 sec)
-
src/test/java/jcifs/internal/dtyp/SecurityInfoTest.java
String name = field.getName(); // Check that constant names follow UPPER_SNAKE_CASE convention assertTrue(name.matches("[A-Z_]+"), "Constant " + name + " should follow UPPER_SNAKE_CASE convention"); // Check that all constants end with _SECURITY_INFO assertTrue(name.endsWith("_SECURITY_INFO"), "Constant " + name + " should end with _SECURITY_INFO"); } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7.5K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcErrorTest.java
void testDcerpcFaultInvalidTag() { assertEquals(0x1C000006, DcerpcError.DCERPC_FAULT_INVALID_TAG); } @Test @DisplayName("Should verify DCERPC_FAULT_CONTEXT_MISMATCH constant value") void testDcerpcFaultContextMismatch() { assertEquals(0x1C00001A, DcerpcError.DCERPC_FAULT_CONTEXT_MISMATCH); } @Test @DisplayName("Should verify DCERPC_FAULT_OP_RNG_ERROR constant value")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FileInformation.java
*/ byte FILE_STANDARD_INFO = 0x5; /** * File internal information class constant. */ byte FILE_INTERNAL_INFO = 0x6; /** * File rename information class constant. */ byte FILE_RENAME_INFO = 10; /** * Gets the file information level/class for this file information object. * * @return the file information class
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.9K bytes - Viewed (0) -
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
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.4K bytes - Viewed (0) -
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() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FileSystemInformation.java
* used in query file system information operations, with constants for information levels. * * @author mbechler */ public interface FileSystemInformation extends Decodable { /** * SMB information allocation constant. */ byte SMB_INFO_ALLOCATION = -1; /** * File system size information constant. */ byte FS_SIZE_INFO = 3; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.6K bytes - Viewed (0) -
src/test/java/jcifs/SmbPipeResourceTest.java
import org.junit.jupiter.api.Test; /** * Tests for the SmbPipeResource interface. * This test class primarily verifies the constant values defined in the interface. */ class SmbPipeResourceTest { /** * Test if the PIPE_TYPE_RDONLY constant has the correct value. */ @Test void testPipeTypeRdonly() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/TestingWeighers.java
} static final class ConstantWeigher implements Weigher<Object, Object> { private final int constant; ConstantWeigher(int constant) { this.constant = constant; } @Override public int weigh(Object key, Object value) { return constant; } } static final class IntKeyWeigher implements Weigher<Integer, Object> { @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 2K bytes - Viewed (0) -
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,
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Aug 05 17:31:25 UTC 2025 - 26.2K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacMac.java
cipher.init(Cipher.ENCRYPT_MODE, new SecretKeySpec(keybytes, "AES"), new IvParameterSpec(ZERO_IV, 0, ZERO_IV.length)); if (constant.length != cipher.getBlockSize()) { constant = expandNFold(constant, cipher.getBlockSize()); } byte[] enc = constant; int klen = keybytes.length; byte[] dk = new byte[klen]; for (int n = 0; n < klen;) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 9K bytes - Viewed (0)