Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 361 - 370 of 659 for BOTH (0.03 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/jcifs/smb/NtlmUtilTest.java

            byte[] viaPassword = NtlmUtil.nTOWFv2(domain, user, password);
    
            // Assert: overloads consistent
            assertArrayEquals(viaHash, viaPassword, "Both overloads must compute same NTLMv2 key");
    
            // Changing domain should change the key (domain is part of MAC input)
            byte[] differentDomain = NtlmUtil.nTOWFv2("DOMAIN", user, password);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 12K bytes
    - Click Count (1)
  2. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

            allHeaders.put(null, Collections.singletonList(statusLine)); // Status line
            when(conn.getHeaderFields()).thenReturn(allHeaders);
    
            // Mock individual header access by both string key and index
            if (headers != null) {
                // Mock by header name
                for (Map.Entry<String, List<String>> entry : headers.entrySet()) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java

            byte[] packet = buildPacket(header, body, null, null);
            resp.decode(packet, 0, false); // marks as received
    
            // Create a request that implements both CommonServerMessageBlockRequest and RequestWithFileId
            CommonServerMessageBlockRequest next =
                    mock(CommonServerMessageBlockRequest.class, withSettings().extraInterfaces(RequestWithFileId.class));
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java

        void testMultipleReads() throws SMBProtocolDecodingException {
            // Given
            byte[] buffer1 = new byte[256];
            byte[] buffer2 = new byte[256];
    
            // Prepare both buffers with valid structure
            SMBUtil.writeInt2(4, buffer1, 0);
            SMBUtil.writeInt2(0, buffer1, 2);
            SMBUtil.writeInt2(4, buffer2, 10);
            SMBUtil.writeInt2(0, buffer2, 12);
    
            // When
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  5. cmd/bucket-policy-handlers_test.go

    	wg.Wait()
    	if ok != 1 {
    		t.Fatalf("want 1 ok, got %d", ok)
    	}
    	if errs != n-1 {
    		t.Fatalf("want %d errors, got %d", n-1, errs)
    	}
    }
    
    // Wrapper for calling Put Bucket Policy HTTP handler tests for both Erasure multiple disks and single node setup.
    func TestPutBucketPolicyHandler(t *testing.T) {
    	ExecObjectLayerAPITest(ExecObjectLayerAPITestArgs{t: t, objAPITest: testPutBucketPolicyHandler, endpoints: []string{"PutBucketPolicy"}})
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 32.9K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/util/MemoryUtilTest.java

            }
    
            long listSize = MemoryUtil.sizeOf(testData);
            assertTrue(listSize > 0);
    
            String memoryLog2 = MemoryUtil.getMemoryUsageLog();
    
            // Both logs should be well-formed
            assertNotNull(memoryLog1);
            assertNotNull(memoryLog2);
            assertTrue(memoryLog1.contains("Mem:"));
            assertTrue(memoryLog2.contains("Mem:"));
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/RangeMap.java

       * returned from {@link #asMapOfRanges} will be different if there were existing entries which
       * connect to the given range and value.
       *
       * <p>Even if the input range is empty, if it is connected on both sides by ranges mapped to the
       * same value those two ranges will be coalesced.
       *
       * <p><b>Note:</b> coalescing requires calling {@code .equals()} on any connected values, which
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 7.6K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb1/smb1/SmbNamedPipe.java

        /**
         * The pipe should be opened only for writing.
         */
    
        public static final int PIPE_TYPE_WRONLY = O_WRONLY;
    
        /**
         * The pipe should be opened for both reading and writing.
         */
    
        public static final int PIPE_TYPE_RDWR = O_RDWR;
    
        /**
         * Pipe operations should behave like the <code>CallNamedPipe</code> Win32 Named Pipe function.
         */
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  9. fess-crawler-lasta/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

                final String sessionId2 = crawler2.execute();
    
                assertFalse(sessionId1 == sessionId2);
                assertFalse(crawler1.crawlerContext == crawler2.crawlerContext);
    
                // Wait for both crawlers to start with polling
                long startTime = System.currentTimeMillis();
                while ((crawler1.crawlerContext.getStatus() != CrawlerStatus.RUNNING
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Jan 15 01:11:43 GMT 2026
    - 13.1K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java

    import org.eclipse.sisu.Typed;
    
    import static java.util.Objects.requireNonNull;
    import static org.apache.maven.internal.impl.CoreUtils.map;
    
    /**
     * This implementation of {@code ProjectManager} is explicitly bound to
     * both {@code ProjectManager} and {@code Service} interfaces so that it can be retrieved using
     * {@link InternalSession#getAllServices()}.
     */
    @Named
    @Typed({ProjectManager.class, Service.class})
    @SessionScoped
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Dec 17 16:17:01 GMT 2025
    - 10.9K bytes
    - Click Count (0)
Back to Top