Search Options

Results per page
Sort
Preferred Languages
Advance

Results 761 - 770 of 1,875 for length (0.09 sec)

  1. src/main/java/jcifs/dcerpc/msrpc/lsarpc.idl

    [
    	uuid(12345778-1234-abcd-ef00-0123456789ab),
    	version(0.0)
    ]
    interface lsarpc
    {
    	import "../rpc.idl";
    
    	typedef struct {
    		uint32_t length;
    		uint16_t impersonation_level;
    		uint8_t context_mode;
    		uint8_t effective_only;
    	} LsarQosInfo;
    
    	typedef struct {
    		uint32_t length;
    		uint8_t *root_directory;
    		unicode_string *object_name;
    		uint32_t attributes;
    		uint32_t security_descriptor;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.1K bytes
    - Viewed (3)
  2. guava/src/com/google/common/hash/AbstractByteHasher.java

      /** Updates this hasher with the given byte. */
      protected abstract void update(byte b);
    
      /** Updates this hasher with the given bytes. */
      protected void update(byte[] b) {
        update(b, 0, b.length);
      }
    
      /** Updates this hasher with {@code len} bytes starting at {@code off} in the given buffer. */
      protected void update(byte[] b, int off, int len) {
        for (int i = off; i < off + len; i++) {
          update(b[i]);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 12:40:17 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXResponse.java

            final int start = bufferIndex;
    
            if (this.isExtendedSecurity()) {
                System.arraycopy(buffer, bufferIndex, this.blob, 0, this.blob.length);
                bufferIndex += this.blob.length;
            }
    
            this.nativeOs = readString(buffer, bufferIndex);
            bufferIndex += stringWireLength(this.nativeOs, bufferIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/msrpc/samrTest.java

                // Given: SAM entry with data
                samr.SamrSamEntry entry = new samr.SamrSamEntry();
                entry.idx = 1;
                entry.name = new rpc.unicode_string();
                entry.name.length = 4;
                entry.name.maximum_length = 6;
                entry.name.buffer = new short[] { 't', 'e', 's', 't' };
    
                // When: Encoding entry
                entry.encode(mockNdrBuffer);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 33.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java

                int decodedSize = decoded.decode(buffer, 0, encodedSize);
    
                assertEquals(encodedSize, decodedSize);
                assertEquals(0, decoded.getHashAlgos().length);
                assertEquals(0, decoded.getSalt().length);
            }
    
            @Test
            @DisplayName("Should calculate size correctly")
            void testSizeCalculation() {
                // Test with various combinations
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/rpcTest.java

                // When: Setting values
                unicodeString.length = (short) 10;
                unicodeString.maximum_length = (short) 20;
                unicodeString.buffer = new short[] { 65, 66, 67 }; // A, B, C
    
                // Then: Values should be set correctly
                assertEquals((short) 10, unicodeString.length);
                assertEquals((short) 20, unicodeString.maximum_length);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/util/RC4.java

         */
        public RC4(final byte[] key) {
            init(key, 0, key.length);
        }
    
        /**
         * Initializes the RC4 cipher with a key.
         * This method sets up the RC4 state array using the key scheduling algorithm.
         *
         * @param key the key array
         * @param ki the starting offset in the key array
         * @param klen the length of the key to use
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequest.java

                SMBUtil.writeInt2(dstIndex - getHeaderStart(), dst, fnOffsetOffset);
                SMBUtil.writeInt2(fnBytes.length, dst, fnLengthOffset);
                System.arraycopy(fnBytes, 0, dst, dstIndex, fnBytes.length);
                dstIndex += fnBytes.length;
            }
            return dstIndex - start;
        }
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbResourceLocatorInternalTest.java

            assertEquals(0, m1.getExceptionTypes().length);
    
            // overlaps(SmbResourceLocator): boolean, declares CIFSException
            Method m2 = clazz.getMethod("overlaps", SmbResourceLocator.class);
            assertEquals(boolean.class, m2.getReturnType());
            assertEquals(1, m2.getParameterCount());
            Class<?>[] ex = m2.getExceptionTypes();
            assertEquals(1, ex.length);
            assertEquals(CIFSException.class, ex[0]);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  10. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockResponse.kt

      fun setBody(body: Buffer) =
        apply {
          setHeader("Content-Length", body.size)
          this.body = body.clone() // Defensive copy.
        }
    
      fun setBody(body: String): MockResponse = setBody(Buffer().writeUtf8(body))
    
      fun setChunkedBody(
        body: Buffer,
        maxChunkSize: Int,
      ) = apply {
        removeHeader("Content-Length")
        headersBuilder.add(CHUNKED_BODY_HEADER)
    
        val bytesOut = Buffer()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat May 10 11:15:14 UTC 2025
    - 7.1K bytes
    - Viewed (1)
Back to top