Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 87 for unkown (0.08 sec)

  1. src/test/java/jcifs/dcerpc/DcerpcExceptionTest.java

         */
        @Test
        void testGetMessageByDcerpcError_unknownCode() {
            int unknownCode = 0x99999999;
            String message = DcerpcException.getMessageByDcerpcError(unknownCode);
            assertEquals("0x99999999", message, "Should return hex string for unknown error code.");
        }
    
        /**
         * Test getMessageByDcerpcError() with an error code smaller than any known.
         */
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/netbios/NbtExceptionTest.java

            String expected = "ERR_NAM_SRVC/Unknown error code: 99";
            assertEquals(expected, NbtException.getErrorString(NbtException.ERR_NAM_SRVC, unknown));
        }
    
        @ParameterizedTest(name = "session error {1} -\\u003e {2}")
        @CsvSource({ "-1,Connection refused", "0x80,Not listening on called name", "0x81,Not listening for calling name",
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/WinErrorTest.java

        @DisplayName("Unknown codes: lookup returns empty Optional")
        void lookup_returns_empty_for_unknown_codes(int unknownCode) {
            // Invalid inputs: codes not present should yield no message
            // Guard to ensure test remains valid if constants change in future
            for (int c : WinError.WINERR_CODES) {
                assertNotEquals(unknownCode, c, "Chosen unknown code unexpectedly clashes with a known code");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoResponse.java

            case FileSystemInformation.FS_FULL_SIZE_INFO -> new FileFsFullSizeInformation();
            case FileSystemInformation.FS_SIZE_INFO -> new FileFsSizeInformation();
            default -> throw new SMBProtocolDecodingException("Unknown filesystem info class " + infoClass);
            };
        }
    
        /**
         * @param infoClass
         * @return
         * @throws SMBProtocolDecodingException
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/DosErrorTest.java

        }
    
        @Test
        @DisplayName("Unknown DOS error code yields empty Optional")
        void testUnknownCode() {
            Optional<Integer> noMatch = findNtStatus(0xdeadbeef);
            assertFalse(noMatch.isPresent(), "Mapping for unknown code should be absent");
        }
    
        @Test
        @DisplayName("Mocked consumer receives correct NTSTATUS value")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/util/MimeMapTest.java

            }
    
            @ParameterizedTest
            @DisplayName("Should handle various default values")
            @ValueSource(strings = { "text/unknown", "application/x-unknown", "custom/type", "" })
            void testVariousDefaultValues(String defaultValue) throws IOException {
                assertEquals(defaultValue, mimeMap.getMimeType("notinmap", defaultValue));
            }
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/nego/CompressionNegotiateContext.java

                this.compressionAlgorithms[i] = SMBUtil.readInt2(buffer, bufferIndex);
                bufferIndex += 2;
    
                // Validate known algorithms
                if (!isValidCompressionAlgorithm(this.compressionAlgorithms[i])) {
                    log.warn("Unknown compression algorithm: 0x{}", Integer.toHexString(this.compressionAlgorithms[i]));
                }
            }
    
            return bufferIndex - start;
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/SmbAuthExceptionTest.java

     */
    @DisplayName("SmbAuthException Tests")
    class SmbAuthExceptionTest {
    
        /**
         * Provides a set of error codes covering normal, edge and unknown cases.
         */
        static Stream<Arguments> errorCodes() {
            return Stream.of(
                    // Known NT status code - NT_STATUS_UNSUCCESSFUL
                    Arguments.of(0xC0000001, "A device attached to the system is not functioning."),
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  9. .gitattributes

    # Always check-out / check-in files with LF line endings.
    * text=auto eol=lf
    
    hack/verify-flags/known-flags.txt merge=union
    test/test_owners.csv merge=union
    
    **/zz_generated.*.go linguist-generated=true
    **/types.generated.go linguist-generated=true
    **/generated.pb.go linguist-generated=true
    **/generated.proto
    **/types_swagger_doc_generated.go linguist-generated=true
    api/openapi-spec/*.json linguist-generated=true
    Registered: Fri Dec 26 09:05:12 UTC 2025
    - Last Modified: Mon Oct 28 20:33:50 UTC 2024
    - 510 bytes
    - Viewed (0)
  10. src/main/java/jcifs/SID.java

        /**
         * SID type indicating a well-known group.
         */
        int SID_TYPE_WKN_GRP = 5;
    
        /**
         * SID type indicating a deleted account.
         */
        int SID_TYPE_DELETED = 6;
    
        /**
         * SID type indicating an invalid SID.
         */
        int SID_TYPE_INVALID = 7;
    
        /**
         * SID type indicating an unknown account type.
         */
        int SID_TYPE_UNKNOWN = 8;
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
Back to top