- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 533 for Constant (0.04 sec)
-
guava/src/com/google/common/escape/ArrayBasedEscaperMap.java
replacements[c] = map.get(c).toCharArray(); } return replacements; } // Immutable empty array for when there are no replacements. @SuppressWarnings("ConstantCaseForConstants") // An empty array is a constant. private static final char[][] EMPTY_REPLACEMENT_ARRAY = new char[0][0];
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 28 01:26:26 UTC 2024 - 3.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/RequestParamTest.java
// Happy path: values() returns all constants in declaration order @Test @DisplayName("values() returns all declared constants in order") void valuesContainsAllInOrder() { RequestParam[] values = RequestParam.values(); assertNotNull(values, "values() must not return null"); assertEquals(4, values.length, "There must be exactly 4 constants"); assertArrayEquals(
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.2K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacSignature.java
throw new PACDecodingException("Malformed PAC signature", e); } } /** * Gets the checksum type of this signature. * * @return the checksum type constant */ public int getType() { return this.type; } /** * Gets the checksum data. * * @return the checksum bytes */ public byte[] getChecksum() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java
void testNullProtocolId() { // Protocol ID is a constant in transform header, not settable // This test is not applicable - the protocol ID is always TRANSFORM_PROTOCOL_ID assertTrue(true); } @Test @DisplayName("Should handle invalid protocol ID length") void testInvalidProtocolIdLength() { // Protocol ID is a constant in transform header, not settable
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/WinErrorTest.java
} @Test @DisplayName("Constants: values match Windows error codes") void constants_have_expected_values() { // Ensure each public constant has its documented numeric value (happy path) assertAll(() -> assertEquals(0, WinError.ERROR_SUCCESS), () -> assertEquals(5, WinError.ERROR_ACCESS_DENIED),
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.4K bytes - Viewed (0) -
guava/src/com/google/common/base/CaseFormat.java
UPPER_CAMEL(CharMatcher.inRange('A', 'Z'), "") { @Override String normalizeWord(String word) { return firstCharOnlyToUpper(word); } }, /** Java and C++ constant naming convention, e.g., "UPPER_UNDERSCORE". */ UPPER_UNDERSCORE(CharMatcher.is('_'), "_") { @Override String normalizeWord(String word) { return Ascii.toUpperCase(word); } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Apr 15 22:14:00 UTC 2025 - 6.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/action/FessLabelsTest.java
} } assertEquals("Should have exactly one serialVersionUID", 1, serialVersionUIDCount); assertTrue("Should have many label constants", labelConstantCount > 100); } /** * Test that label constant values match their field names */ public void test_labelConstantValueMatchesName() throws Exception { Field[] fields = FessLabels.class.getDeclaredFields();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 13.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/pager/RelatedContentPager.java
this.pageNumberList = pageNumberList; } /** * Gets the default current page number from system constants. * * @return default current page number */ protected int getDefaultCurrentPageNumber() { return Constants.DEFAULT_ADMIN_PAGE_NUMBER; } /** * Gets the default page size from system configuration. *
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 6.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java
assertEquals("Test", result); } } @Nested @DisplayName("SMB Command Constant Tests") class SMBCommandConstantTests { @Test @DisplayName("Test SMB command constants have correct values") void testSMBCommandConstants() { assertEquals((byte) 0x00, ServerMessageBlock.SMB_COM_CREATE_DIRECTORY);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 36.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java
Arrays.copyOfRange(largeBuffer, 500, 500 + largeEncodedSize)); } } @Nested @DisplayName("Constants Tests") class ConstantsTest { @Test @DisplayName("Should have correct constant values for PreauthIntegrityNegotiateContext") void testPreauthConstants() { assertEquals(0x1, PreauthIntegrityNegotiateContext.NEGO_CTX_PREAUTH_TYPE);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.4K bytes - Viewed (0)