- Sort Score
- Num 10 results
- Language All
Results 151 - 160 of 1,065 for constants (0.07 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/jcifs/internal/smb1/net/NetServerEnum2Test.java
assertTrue(result.contains("serverTypes=SV_TYPE_DOMAIN_ENUM")); assertTrue(result.endsWith("]")); } @ParameterizedTest @DisplayName("Test constants values") @CsvSource({ "SV_TYPE_ALL, -1", "SV_TYPE_DOMAIN_ENUM, -2147483648" }) void testConstants(String constantName, int expectedValue) { if ("SV_TYPE_ALL".equals(constantName)) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 19.7K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/UnsignedLongs.java
new NumberFormatException("Error parsing value: " + stringValue); decodeException.initCause(e); throw decodeException; } } /* * We move the static constants into this class so ProGuard can inline UnsignedLongs entirely * unless the user is actually calling a parse method. */ private static final class ParseOverflowDetection { private ParseOverflowDetection() {}
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jan 05 22:13:21 GMT 2026 - 17.8K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
if (field.getGenericType() == field.getType() && type.isAssignableFrom(field.getType())) { field.setAccessible(true); try { T constant = type.cast(field.get(null)); if (constant != null) { return constant; } } catch (IllegalAccessException impossible) { throw new AssertionError(impossible); } } } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 20.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java
assertDoesNotThrow(() -> new Smb2ReadRequest(mockConfig, testFileId, buffer, 2048)); } } @Nested @DisplayName("Constants Tests") class ConstantsTests { @Test @DisplayName("Should have correct SMB2_READFLAG_READ_UNBUFFERED value") void testReadUnbufferedFlag() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java
} @Override protected Scheduler scheduler() { numberOfTimesSchedulerCalled.incrementAndGet(); return configuration; } } // Tests for Scheduler: // These constants are arbitrary and just used to make sure that the correct method is called // with the correct parameters. private static final int INITIAL_DELAY = 10; private static final int DELAY = 20;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 22.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java
} @Override protected Scheduler scheduler() { numberOfTimesSchedulerCalled.incrementAndGet(); return configuration; } } // Tests for Scheduler: // These constants are arbitrary and just used to make sure that the correct method is called // with the correct parameters. private static final int INITIAL_DELAY = 10; private static final int DELAY = 20;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 22.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
} @Test @DisplayName("Should support AES-256 cipher constants") void testAES256CipherConstants() { // Verify AES-256 constants are defined assertEquals(0x0003, Smb2EncryptionContext.CIPHER_AES_256_CCM, "AES-256-CCM constant should be defined"); assertEquals(0x0004, Smb2EncryptionContext.CIPHER_AES_256_GCM, "AES-256-GCM constant should be defined");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 44.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java
class Smb2SessionSetupRequestTest extends BaseTest { private Configuration mockConfig; private CIFSContext mockContext; private Smb2SessionSetupRequest request; // Test constants private static final int TEST_SECURITY_MODE = 0x01; private static final int TEST_CAPABILITIES = 0x00000001; private static final long TEST_PREVIOUS_SESSION_ID = 0x1234567890ABCDEFL;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 21.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java
} @ParameterizedTest @CsvSource({ "0x01, FILE_DIRECTORY_INFO", "0x02, FILE_FULL_DIRECTORY_INFO", "0x03, FILE_BOTH_DIRECTORY_INFO" }) @DisplayName("Test constructor with different info class constants") void testConstructorWithDifferentInfoClasses(byte infoClass, String description) { response = new Smb2QueryDirectoryResponse(mockConfig, infoClass);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 23.5K bytes - Click Count (0) -
android/guava/src/com/google/common/io/BaseEncoding.java
import java.util.Objects; import org.jspecify.annotations.Nullable; /** * A binary encoding scheme for reversibly translating between byte sequences and printable ASCII * strings. This class includes several constants for encoding schemes specified by <a * href="http://tools.ietf.org/html/rfc4648">RFC 4648</a>. For example, the expression: * * {@snippet : * BaseEncoding.base32().encode("foo".getBytes(US_ASCII)) * } *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:45:58 GMT 2026 - 41.6K bytes - Click Count (0)