Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 653 for 1020 (0.02 seconds)

  1. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequestTest.java

            Smb2IoctlRequest request = new Smb2IoctlRequest(mockConfig, TEST_CONTROL_CODE, TEST_FILE_ID);
            when(mockInputData.encode(any(byte[].class), anyInt())).thenReturn(100);
            request.setInputData(mockInputData);
            byte[] buffer = new byte[1024];
    
            int written = request.writeBytesWireFormat(buffer, 0);
    
            assertTrue(written > 57);
            verify(mockInputData).encode(any(byte[].class), anyInt());
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb1/SmbAuthenticationHolderTest.java

            fooAuth.setServer("foo");
            fooAuth.setPort(1000);
            smbAuthenticationHolder.add(fooAuth);
    
            assertEquals(hogeAuth, smbAuthenticationHolder.get("smb1://hoge/"));
            assertEquals(fugaAuth, smbAuthenticationHolder.get("smb1://fuga/"));
            assertEquals(fooAuth, smbAuthenticationHolder.get("smb1://foo:1000/"));
            assertEquals(hogeAuth, smbAuthenticationHolder.get("smb1://hoge/text.txt"));
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sat Mar 15 06:52:00 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/suggest/concurrent/DeferredTest.java

        public void test_doneBeforeResolve() throws Exception {
            final Deferred<SuggestResponse> deferred = new Deferred<>();
    
            Thread th = new Thread(() -> {
                try {
                    Thread.sleep(1000);
                } catch (InterruptedException ignore) {}
                deferred.resolve(new SuggestResponse("", 0, Collections.emptyList(), 0, null));
            });
            th.start();
    
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Sat Mar 15 06:51:20 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/curl/io/ContentCacheTest.java

                byte[] buffer1 = new byte[1024];
                int bytesRead1 = stream1.read(buffer1);
                assertEquals(testContent, new String(buffer1, 0, bytesRead1, "UTF-8"));
            }
    
            // Second read - should work independently
            try (InputStream stream2 = cache.getInputStream()) {
                byte[] buffer2 = new byte[1024];
                int bytesRead2 = stream2.read(buffer2);
    Created: Sat Dec 20 09:13:53 GMT 2025
    - Last Modified: Thu Nov 20 13:34:13 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  5. internal/ringbuffer/ring_buffer_benchmark_test.go

    	"testing"
    )
    
    func BenchmarkRingBuffer_Sync(b *testing.B) {
    	rb := New(1024)
    	data := []byte(strings.Repeat("a", 512))
    	buf := make([]byte, 512)
    
    	for b.Loop() {
    		rb.Write(data)
    		rb.Read(buf)
    	}
    }
    
    func BenchmarkRingBuffer_AsyncRead(b *testing.B) {
    	// Pretty useless benchmark, but it's here for completeness.
    	rb := New(1024)
    	data := []byte(strings.Repeat("a", 512))
    	buf := make([]byte, 512)
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb/SmbAuthenticationTest.java

            smbAuthentication = new SmbAuthentication();
            smbAuthentication.setServer("hoge");
            smbAuthentication.setPort(1000);
            assertEquals("smb://hoge:1000/", smbAuthentication.getPathPrefix());
    
            smbAuthentication = new SmbAuthentication();
            smbAuthentication.setPort(1000);
            assertEquals("smb://", smbAuthentication.getPathPrefix());
        }
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sat Mar 15 06:52:00 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/accesstoken/CreateForm.java

         */
        @ValidateTypeFailure
        public Integer crudMode;
    
        /**
         * The name of the access token.
         * This is a required field with a maximum length of 1000 characters.
         */
        @Required
        @Size(max = 1000)
        public String name;
    
        /**
         * The actual access token string.
         * This is the token value that will be used for authentication.
         * Maximum length is 10000 characters.
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb2/multichannel/ChannelManagerTest.java

            InetAddress addr = InetAddress.getByName("192.168.1.100");
            NetworkInterfaceInfo localInterface = new NetworkInterfaceInfo(addr, 1000);
            NetworkInterfaceInfo remoteInterface = new NetworkInterfaceInfo(addr, 1000);
            ChannelInfo healthyChannel = new ChannelInfo("test-channel", mockTransport, localInterface, remoteInterface);
            healthyChannel.setState(ChannelState.ESTABLISHED);
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb/SmbAuthenticationHolderTest.java

            fooAuth.setServer("foo");
            fooAuth.setPort(1000);
            smbAuthenticationHolder.add(fooAuth);
    
            assertEquals(hogeAuth, smbAuthenticationHolder.get("smb://hoge/"));
            assertEquals(fugaAuth, smbAuthenticationHolder.get("smb://fuga/"));
            assertEquals(fooAuth, smbAuthenticationHolder.get("smb://foo:1000/"));
            assertEquals(hogeAuth, smbAuthenticationHolder.get("smb://hoge/text.txt"));
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sat Mar 15 06:52:00 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/util/MemoryUtil.java

            } else if (size.divide(ONE_PB_BI).compareTo(BigInteger.ZERO) > 0) {
                displaySize = new BigDecimal(size.divide(ONE_TB_BI)).divide(BigDecimal.valueOf(1000)) + "PB";
            } else if (size.divide(ONE_TB_BI).compareTo(BigInteger.ZERO) > 0) {
                displaySize = new BigDecimal(size.divide(ONE_GB_BI)).divide(BigDecimal.valueOf(1000)) + "TB";
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.3K bytes
    - Click Count (0)
Back to Top