Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 186 for 1200 (0.13 sec)

  1. src/main/java/jcifs/smb1/http/NtlmHttpFilter.java

             */
            Config.setProperty("jcifs.smb1.smb.client.soTimeout", "1800000");
            Config.setProperty("jcifs.smb1.netbios.cachePolicy", "1200");
            /* The Filter can only work with NTLMv1 as it uses a man-in-the-middle
             * techinque that NTLMv2 specifically thwarts. A real NTLM Filter would
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/http/NtlmHttpFilter.java

            /*
             * Set jcifs properties we know we want; soTimeout and cachePolicy to 30min.
             */
            p.setProperty("jcifs.smb.client.soTimeout", "1800000");
            p.setProperty("jcifs.netbios.cachePolicy", "1200");
            /*
             * The Filter can only work with NTLMv1 as it uses a man-in-the-middle
             * technique that NTLMv2 specifically thwarts. A real NTLM Filter would
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  3. docs/en/docs/release-notes.md

    * 👷 Update permissions and config for labeler GitHub Action. PR [#12008](https://github.com/fastapi/fastapi/pull/12008) by [@tiangolo](https://github.com/tiangolo).
    * 👷🏻 Add GitHub Action label-checker. PR [#12005](https://github.com/fastapi/fastapi/pull/12005) by [@tiangolo](https://github.com/tiangolo).
    * 👷 Add label checker GitHub Action. PR [#12004](https://github.com/fastapi/fastapi/pull/12004) by [@tiangolo](https://github.com/tiangolo).
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Sep 05 12:48:45 UTC 2025
    - 544.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

        }
    
        @Test
        @DisplayName("Large message is read correctly")
        void largeMessageIsReadCorrectly() throws IOException {
            // Create a message with 1000 bytes
            int size = 1000;
            byte[] data = new byte[size];
            for (int i = 0; i < size; i++) {
                data[i] = (byte) (i % 256);
            }
    
            byte[] fullData = concat(messageHeader(size), data);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/util/InputValidatorTest.java

            assertEquals("teststring", InputValidator.sanitizeForLogging("test\tstring"));
    
            // Test long string truncation
            String longString = "a".repeat(1100);
            String sanitized = InputValidator.sanitizeForLogging(longString);
            assertEquals(1000, sanitized.length());
            assertTrue(sanitized.endsWith("..."));
        }
    
        @Test
        @DisplayName("Test require non-empty validation")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfoTest.java

            assertFalse(loopback.isUsableForChannel());
        }
    
        @Test
        void testGetScore() {
            NetworkInterfaceInfo basic = new NetworkInterfaceInfo(testAddress, 1000);
            assertEquals(1000, basic.getScore()); // Base score is link speed
    
            NetworkInterfaceInfo fast = new NetworkInterfaceInfo(testAddress, 10000);
            assertTrue(fast.getScore() > basic.getScore());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/util/ServerResponseValidatorTest.java

                validator.validateBuffer(buffer, 100, 1024);
            });
        }
    
        @Test
        public void testValidBufferAccess() throws Exception {
            byte[] buffer = new byte[100];
            validator.validateBufferAccess(buffer, 10, 20);
            // Should pass without exception
        }
    
        @Test
        public void testBufferAccessNullBuffer() throws Exception {
            assertThrows(SmbException.class, () -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  8. cmd/storage-datatypes_test.go

    	for b.Loop() {
    		err := v.DecodeMsg(dc)
    		if err != nil {
    			b.Fatal(err)
    		}
    	}
    }
    
    func BenchmarkDecodeDiskInfoMsgp(b *testing.B) {
    	v := DiskInfo{
    		Total:     1000,
    		Free:      1000,
    		Used:      1000,
    		FSType:    "xfs",
    		RootDisk:  true,
    		Healing:   true,
    		Endpoint:  "http://localhost:9001/tmp/drive1",
    		MountPath: "/tmp/drive1",
    		ID:        "uuid",
    		Error:     "",
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  9. 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);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponseTest.java

            Trans2QueryFSInformationResponse.SmbInfoAllocation info = response.new SmbInfoAllocation();
            info.alloc = 1000;
            info.free = 500;
            info.sectPerAlloc = 100;
            info.bytesPerSect = 512;
    
            String infoString = info.toString();
            assertTrue(infoString.contains("alloc=1000"), "toString should contain alloc");
            assertTrue(infoString.contains("free=500"), "toString should contain free");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.6K bytes
    - Viewed (0)
Back to top