Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 42 for minimatch (0.04 sec)

  1. src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java

            // filename bytes, then null terminator
            byte[] nameBytes = name.getBytes();
            for (int i = 0; i < nameBytes.length; i++) {
                assertEquals(nameBytes[i], dst[12 + i], "Filename byte mismatch at index " + i);
            }
            assertEquals((byte) 0x00, dst[12 + nameBytes.length], "Filename must be null-terminated");
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  2. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/scopes/Maven4ScopeManagerConfiguration.java

            // == sanity check
            if (result.size() != org.apache.maven.api.DependencyScope.values().length - 1) { // sans "undefined"
                throw new IllegalStateException("Maven4 API dependency scope mismatch");
            }
    
            return result;
        }
    
        @Override
        public Collection<org.eclipse.aether.scope.ResolutionScope> buildResolutionScopes(
                InternalScopeManager internalScopeManager) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/pac/ASN1Util.java

         * @param limit the maximum length limit
         * @param in the ASN.1 input stream
         * @return coded bytes of the tagged object
         * @throws IOException if reading fails or tag mismatch
         */
        public static byte[] readUnparsedTagged(final int expectTag, final int limit, final ASN1InputStream in) throws IOException {
            final int ftag = in.read();
            final int tag = readTagNumber(in, ftag);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java

                int result = testRequest.encode(buffer, 0);
    
                assertEquals(64, result);
            }
    
            @Test
            @DisplayName("encode should throw exception when size mismatch")
            void testEncodeSizeMismatch() {
                byte[] buffer = new byte[1024];
                testRequest.setTestSize(64);
                testRequest.setTestLength(128);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

                // Validate key length matches expected cipher requirements
                if (keyCopy.length != keyLength) {
                    throw new IllegalArgumentException("Key length mismatch: expected " + keyLength + ", got " + keyCopy.length);
                }
    
                // Create cipher with the copy - algorithm is just "AES" for SecretKeySpec
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/generate-clients.md

    This also means that if something changed, it will be **reflected** on the client code automatically. And if you **build** the client, it will error out if you have any **mismatch** in the data used.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 10.1K bytes
    - Viewed (1)
  7. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java

            assertEquals(1, od.getChunksWritten());
            assertEquals(2, od.getChunkBytesWritten());
            assertEquals(3, od.getTotalBytesWritten());
    
            // Type mismatch should raise SmbException
            assertThrows(SmbException.class, () -> resp.getOutputData(SrvRequestResumeKeyResponse.class));
        }
    
        @Test
        void decodesPipePeekOnBufferOverflowStatus() throws Exception {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java

            byte[] actualData = response.getData();
            assertEquals(16, actualData.length);
            for (int i = 0; i < 16; i++) {
                assertEquals(expectedData[i], actualData[i], "Data mismatch at index " + i);
            }
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java

            assertTrue(ex.getMessage().contains("Malformed Kerberos Ticket"));
        }
    
        @Test
        @DisplayName("byte[] ctor: top-level non-SEQUENCE triggers PACDecodingException (type mismatch)")
        void byteArrayConstructor_topLevelNotSequence_throws() throws Exception {
            // Arrange: Encoded INTEGER instead of SEQUENCE
            byte[] notASequence = new ASN1Integer(42).getEncoded();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java

                totalParamField.setAccessible(true);
                assertEquals(pos * 10, totalParamField.get(response), "Value mismatch at position " + pos);
            }
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.3K bytes
    - Viewed (0)
Back to top