Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 246 for encodedCh (0.04 sec)

  1. src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java

            transformHeader.setFlags(0x0001);
            transformHeader.setSessionId(testSessionId);
    
            byte[] buffer = new byte[52];
    
            // When
            int encoded = transformHeader.encode(buffer, 0);
    
            // Then
            assertEquals(52, encoded);
    
            // Verify protocol ID (first 4 bytes) - 0xFD534D42 in little-endian
            assertEquals((byte) 0x42, buffer[0]);
            assertEquals((byte) 0x4D, buffer[1]);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/http/NtlmSspTest.java

        // Base64 encoded Type 1 message: NTLMSSP, Type 1, flags=0x00088207
        // Domain="DOMAIN", Workstation="WORKSTATION"
        private final String type1MessageBase64 = "TlRMTVNTUAABAAAABzIAAAYABgArAAAACwALACAAAABET01BSU5XT1JLU1RBVElPTg==";
    
        // Base64 encoded Type 3 message: NTLMSSP, Type 3
        // User: "user", Domain: "DOMAIN", Workstation: "WORKSTATION"
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.4K bytes
    - Viewed (1)
  3. src/main/java/jcifs/dcerpc/DcerpcHandle.java

        /**
         * Encode a DCE/RPC message for transmission
         *
         * @param msg
         *            the message to encode
         * @param out
         *            the output buffer for the encoded message
         * @return the NdrBuffer containing the encoded message
         * @throws NdrException
         *            if there is an error encoding the message
         * @throws DcerpcException
         *            if there is a DCE/RPC protocol error
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SID.java

                log.error("Failed to create builtin SIDs", se);
            }
        }
    
        /**
         * Convert a sid_t to byte array
         *
         * @param sid the RPC sid_t structure to convert
         * @return byte encoded form
         */
        public static byte[] toByteArray(final rpc.sid_t sid) {
            final byte[] dst = new byte[1 + 1 + 6 + sid.sub_authority_count * 4];
            int di = 0;
            dst[di] = sid.revision;
            di++;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16K bytes
    - Viewed (0)
  5. src/archive/tar/writer.go

    				var spHdr block
    				sp2 = formatSPD(sp2, spHdr.Sparse())
    				spb = append(spb, spHdr[:]...)
    			}
    
    			// Update size fields in the header block.
    			realSize := hdr.Size
    			hdr.Size = 0 // Encoded size; does not account for encoded sparse map
    			for _, s := range spd {
    				hdr.Size += s.Length
    			}
    			copy(blk.V7().Size(), zeroBlock[:]) // Reset field
    			f.formatNumeric(blk.V7().Size(), hdr.Size)
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Feb 03 16:38:43 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  6. cmd/object-api-datatypes.go

    	// Total object size.
    	Size int64
    
    	// Actual size is the real size of the object uploaded by client.
    	ActualSize *int64
    
    	// IsDir indicates if the object is prefix.
    	IsDir bool
    
    	// Hex encoded unique entity tag of the object.
    	ETag string
    
    	// Version ID of this object.
    	VersionID string
    
    	// IsLatest indicates if this is the latest current version
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  7. mockwebserver/src/main/kotlin/mockwebserver3/RecordedRequest.kt

      public val body: ByteString?,
      /** The total size of the body of this request (before truncation).*/
      public val bodySize: Long,
      /**
       * The sizes of the chunks of this request's body, or null if the request's body was not encoded
       * with chunked encoding.
       */
      public val chunkSizes: List<Int>?,
      /**
       * The failure MockWebServer recorded when attempting to decode this request. If, for example,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  8. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

        public fun body(body: MockResponseBody): Builder =
          apply {
            setHeader("Content-Length", body.contentLength)
            this.body = body
          }
    
        /** Sets the response body to the UTF-8 encoded bytes of [body]. */
        public fun body(body: String): Builder = body(Buffer().writeUtf8(body))
    
        public fun socketHandler(socketHandler: SocketHandler): Builder =
          apply {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt

       */
      private fun String.asciiToLowercase(): String =
        when {
          isAscii() -> lowercase(Locale.US) // This is an ASCII string.
          else -> this
        }
    
      /** Returns true if the [String] is ASCII encoded (0-127). */
      private fun String.isAscii() = length == utf8Size().toInt()
    
      /**
       * Returns true if [hostname] matches the domain name [pattern].
       *
       * @param hostname lower-case host name.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  10. cmd/streaming-v4-unsigned.go

    				cr.err = err
    				return n, cr.err
    			}
    			break
    		}
    
    		// Manually deserialize the size since AWS specified
    		// the chunk size to be of variable width. In particular,
    		// a size of 16 is encoded as `10` while a size of 64 KB
    		// is `10000`.
    		switch {
    		case b >= '0' && b <= '9':
    			size = size<<4 | int(b-'0')
    		case b >= 'a' && b <= 'f':
    			size = size<<4 | int(b-('a'-10))
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Apr 03 14:55:52 UTC 2025
    - 6.3K bytes
    - Viewed (0)
Back to top