Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,494 for new (0.01 sec)

  1. src/test/java/jcifs/dcerpc/msrpc/netdfsTest.java

            enumArray200.count = 0;
            enumArray200.s = new netdfs.DfsInfo200[0];
    
            ByteArrayOutputStream bos = new ByteArrayOutputStream();
            // Create buffer for encoding - initially allocate some space
            byte[] encodeBuffer = new byte[1024];
            NdrBuffer dst = new NdrBuffer(encodeBuffer, 0);
            enumArray200.encode(dst);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.9K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleTest.java

            final List<Exception> exceptions = new ArrayList<>();
    
            Thread[] threads = new Thread[threadCount];
            for (int i = 0; i < threadCount; i++) {
                final int threadIndex = i;
                threads[i] = new Thread(new Runnable() {
                    @Override
                    public void run() {
                        try {
                            for (int j = 0; j < matchesPerThread; j++) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/pac/ASN1UtilTest.java

            ASN1Integer expected = new ASN1Integer(10);
            vector.add(expected);
            ASN1Sequence sequence = new DERSequence(vector);
            ASN1Integer result = ASN1Util.as(ASN1Integer.class, sequence, 0);
            assertSame(expected, result);
        }
    
        @Test
        void testAs_ASN1Sequence_Failure() {
            // Test failed casting from sequence
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/netbios/NbtAddressTest.java

            // Test equals method
            mockName = new Name(mockConfig, "TEST1", 0x20, null);
            Name mockName2 = new Name(mockConfig, "TEST2", 0x20, null);
            Name mockName3 = new Name(mockConfig, "TEST3", 0x20, null);
            NbtAddress nbtAddress1 = new NbtAddress(mockName, testAddressInt, false, NbtAddress.H_NODE);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/SIDTest.java

        void testDomainSidAndRelativeSidConstructor() throws SmbException {
            SID domainSid = new SID("S-1-5-21-123-456-789");
            SID relativeSid = new SID("S-1-5-1000"); // This is not a valid relative SID, but tests the logic
            relativeSid.sub_authority_count = 1;
            relativeSid.sub_authority = new int[] { 1000 };
    
            SID userSid = new SID(domainSid, relativeSid);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/pac/kerberos/KerberosTokenTest.java

            // Create AP-REQ structure
            ASN1Sequence apReqSequence = new DERSequence(new ASN1Encodable[] { new DERTaggedObject(true, 0, new ASN1Integer(5)), // pvno
                    new DERTaggedObject(true, 1, new ASN1Integer(14)), // msg-type
            });
    
            // Create CONTEXT tagged object instead of APPLICATION
            DERTaggedObject contextTag = new DERTaggedObject(false, 14, apReqSequence);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/TransformerTest.java

            // Create chain of transformers
            List<Transformer> transformerChain = new ArrayList<>();
            transformerChain.add(new TestTransformer("first"));
            transformerChain.add(new TestTransformer("second"));
            transformerChain.add(new TestTransformer("third"));
    
            ResponseData responseData = new ResponseData();
            responseData.setUrl("http://example.com");
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 28K bytes
    - Viewed (0)
  8. src/test/java/jcifs/RuntimeCIFSExceptionTest.java

            // When/Then
            assertDoesNotThrow(() -> {
                RuntimeCIFSException exception = new RuntimeCIFSException((String) null);
                assertNull(exception.getMessage());
            });
    
            assertDoesNotThrow(() -> {
                RuntimeCIFSException exception = new RuntimeCIFSException(null, new RuntimeException());
                assertNull(exception.getMessage());
            });
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/exception/CrawlerSystemExceptionTest.java

            // With Exception cause
            Exception exceptionCause = new Exception("Exception cause");
            CrawlerSystemException exception1 = new CrawlerSystemException(exceptionCause);
            assertSame(exceptionCause, exception1.getCause());
    
            // With Error cause
            Error errorCause = new Error("Error cause");
            CrawlerSystemException exception2 = new CrawlerSystemException(errorCause);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 20K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java

                Smb2Lock[] locks = new Smb2Lock[] { new Smb2Lock(0L, 100L, Smb2Lock.SMB2_LOCKFLAG_EXCLUSIVE_LOCK),
                        new Smb2Lock(200L, 300L, Smb2Lock.SMB2_LOCKFLAG_SHARED_LOCK), new Smb2Lock(500L, 100L, Smb2Lock.SMB2_LOCKFLAG_UNLOCK) };
    
                Smb2LockRequest req = new Smb2LockRequest(mockConfig, testFileId, locks);
                byte[] buffer = new byte[512];
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.3K bytes
    - Viewed (0)
Back to top