Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for 4380 (0.02 sec)

  1. src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java

            tcField.setAccessible(true);
            tcField.set(handle, mockContext);
    
            // Set max_recv field using reflection (default is 4280 in parent class)
            Field maxRecvField = DcerpcHandle.class.getDeclaredField("max_recv");
            maxRecvField.setAccessible(true);
            maxRecvField.set(handle, 4280);
    
            // Inject mocks using reflection
            Field pipeField = DcerpcPipeHandle.class.getDeclaredField("pipe");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java

            buffer.putInt(123456789); // sessionKey
            buffer.putInt(SmbConstants.CAP_UNICODE | SmbConstants.CAP_NT_SMBS); // capabilities
            buffer.putLong(new Date().getTime()); // serverTime
            buffer.putShort((short) -480); // serverTimeZone
            buffer.put((byte) 8); // encryptionKeyLength
    
            byte[] paramWords = buffer.array();
    
            // Call the method to test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/NetShareEnumResponseTest.java

            System.arraycopy("IPC$".getBytes(StandardCharsets.US_ASCII), 0, data, 20, 4);
            data[34] = 0x03;
            data[35] = 0x00; // type = 3
            data[36] = 60;
            data[37] = 0;
            data[38] = 0;
            data[39] = 0; // remark offset
    
            // Remarks data
            System.arraycopy("Remark 1".getBytes(StandardCharsets.US_ASCII), 0, data, 40, 8);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/context/SingletonContext.java

         * URL class the following exception will occur:
         * <blockquote>
         *
         * <pre>
         * Exception MalformedURLException: unknown protocol: smb
         *     at java.net.URL.&lt;init&gt;(URL.java:480)
         *     at java.net.URL.&lt;init&gt;(URL.java:376)
         *     at java.net.URL.&lt;init&gt;(URL.java:330)
         *     at jcifs.smb.SmbFile.&lt;init&gt;(SmbFile.java:355)
         *     ...
         * </pre>
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/primitives/IntsTest.java

        assertThat(converter.convert("0xFF")).isEqualTo(255);
        assertThat(converter.convert("-0xFF")).isEqualTo(-255);
        assertThat(converter.convert("#0000FF")).isEqualTo(255);
        assertThat(converter.convert("0666")).isEqualTo(438);
      }
    
      public void testStringConverter_convertError() {
        assertThrows(NumberFormatException.class, () -> Ints.stringConverter().convert("notanumber"));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

                        final String protocol = url.getProtocol();
                        int port = url.getPort();
                        if (port == -1) {
                            port = "https".equalsIgnoreCase(protocol) ? 443 : 80;
                        }
                        final PasswordAuthentication auth = Authenticator.requestPasswordAuthentication(null, port, protocol, "", authMethod);
                        if (auth == null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

        /**
         * The DCERPC binding configuration for this handle
         */
        protected DcerpcBinding binding;
        /**
         * Maximum transmit buffer size for DCERPC messages
         */
        protected int max_xmit = 4280;
        /**
         * Maximum receive buffer size for DCERPC messages
         */
        protected int max_recv = max_xmit;
        /**
         * The current state of the DCERPC connection
         */
        protected int state = 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/dcerpc/DcerpcHandle.java

            }
    
            return binding;
        }
    
        private static final AtomicInteger call_id = new AtomicInteger(1);
    
        private final DcerpcBinding binding;
        private final int max_xmit = 4280;
        private final int max_recv = this.max_xmit;
        private int state = 0;
        private DcerpcSecurityProvider securityProvider = null;
        private final CIFSContext transportContext;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/Config.java

         * URL class the following exception will occur:
         * <blockquote><pre>
         * Exception MalformedURLException: unknown protocol: smb
         *     at java.net.URL.&lt;init&gt;(URL.java:480)
         *     at java.net.URL.&lt;init&gt;(URL.java:376)
         *     at java.net.URL.&lt;init&gt;(URL.java:330)
         *     at jcifs.smb1.smb1.SmbFile.&lt;init&gt;(SmbFile.java:355)
         *     ...
         * </pre></blockquote>
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/http/NtlmHttpURLConnection.java

                            final String protocol = u.getProtocol();
                            int port = u.getPort();
                            if (port == -1) {
                                port = "https".equalsIgnoreCase(protocol) ? 443 : 80;
                            }
                            final PasswordAuthentication auth =
                                    Authenticator.requestPasswordAuthentication(null, port, protocol, "", this.authMethod);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 25.6K bytes
    - Viewed (0)
Back to top