Search Options

Results per page
Sort
Preferred Languages
Advance

Results 601 - 610 of 912 for could (0.02 sec)

  1. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

         */
        @Test
        void testSuccessfulHandshake() throws IOException, SecurityException {
            // This test is simplified to verify basic handshake behavior
            // Full NTLM handshake testing would require more complex mocking
    
            // Arrange - Mock a server that supports NTLM
            mockResponse(HTTP_UNAUTHORIZED, "Unauthorized", Collections.singletonMap("WWW-Authenticate", Collections.singletonList("NTLM")),
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/request-forms-and-files.md

    {* ../../docs_src/request_forms_and_files/tutorial001_an_py39.py hl[3] *}
    
    ## Define `File` and `Form` parameters { #define-file-and-form-parameters }
    
    Create file and form parameters the same way you would for `Body` or `Query`:
    
    {* ../../docs_src/request_forms_and_files/tutorial001_an_py39.py hl[10:12] *}
    
    The files and form fields will be uploaded as form data and you will receive the files and form fields.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/xml/XmlEscapers.java

         * replacement character.
         *
         * Implementation note: An alternative to the following would be to make a map that simply
         * replaces the allowed ASCII whitespace characters with themselves and to set the minimum safe
         * character to 0x20. However this would slow down the escaping of simple strings that contain
         * \t, \n, or \r.
         */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jun 20 17:15:33 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbFileTest.java

            }
    
            @Test
            public void testGetTypeForShare() throws Exception {
                SmbFile share = new SmbFile("smb1://server/share/");
                // To test this properly, we would need to mock connect0() and the tree object.
                // This is a limitation of unit testing such a coupled class.
                // We expect an SmbException because it will try to connect.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  5. docs/en/docs/js/termynal.js

            this.loadLines()
            if (!options.noInit) this.init()
        }
    
        loadLines() {
            // Load all the lines and create the container so that the size is fixed
            // Otherwise it would be changing and the user viewport would be constantly
            // moving as she/he scrolls
            const finish = this.generateFinish()
            finish.style.visibility = 'hidden'
            this.container.appendChild(finish)
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:32:57 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

            for (int i = 0; i < length; i++) {
                switch (state) {
                case 0:
                    if (in[i] != '/') {
                        // Checked exception (e.g. MalformedURLException) would be better
                        // but this would be a nightmare API wise
                        throw new RuntimeCIFSException("Invalid smb: URL: " + this.url);
                    }
                    out[prefixLen] = in[i];
                    prefixLen++;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

         * field should be used for calculating that. This would likely be zero
         * but an implemantation that encorporates the transport header(for
         * efficiency) might use a different initial bufferIndex. For example,
         * to eliminate copying data when writing NbtSession data one might
         * manage that 4 byte header specifically and therefore the initial
         * bufferIndex, and thus headerStart, would be 4).(NOTE: If one where
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/AllocInfoTest.java

        }
    
        /**
         * Null pointer scenario – calls on a null reference should raise
         * {@link NullPointerException}. This test is defensive; in real code it
         * would likely be handled elsewhere.
         */
        @Test
        @DisplayName("calling getters on null reference throws NPE")
        void testNullReference() {
            AllocInfo nullRef = null;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/util/ServerResponseValidator.java

        }
    
        /**
         * Validate buffer access bounds
         *
         * @param buffer the buffer
         * @param offset offset to access
         * @param length length to read
         * @throws SmbException if access would exceed bounds
         */
        public void validateBufferAccess(byte[] buffer, int offset, int length) throws SmbException {
            totalValidations.incrementAndGet();
    
            if (buffer == null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/primitives/UnsignedInteger.java

       * Returns the result of adding this and {@code val}. If the result would have more than 32 bits,
       * returns the low 32 bits of the result.
       *
       * @since 14.0
       */
      public UnsignedInteger plus(UnsignedInteger val) {
        return fromIntBits(this.value + checkNotNull(val).value);
      }
    
      /**
       * Returns the result of subtracting this and {@code val}. If the result would be negative,
       * returns the low 32 bits of the result.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.3K bytes
    - Viewed (0)
Back to top