Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 968 for Buffer (0.08 sec)

  1. src/main/java/jcifs/dcerpc/UnicodeString.java

            int zt = zterm ? 1 : 0;
    
            this.length = this.maximum_length = (short) ( ( len + zt ) * 2 );
            this.buffer = new short[len + zt];
    
            int i;
            for ( i = 0; i < len; i++ ) {
                this.buffer[ i ] = (short) str.charAt(i);
            }
            if ( zterm ) {
                this.buffer[ i ] = (short) 0;
            }
        }
    
    
        @Override
        public String toString () {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/hash/SipHashFunction.java

        }
    
        @Override
        protected void process(ByteBuffer buffer) {
          b += CHUNK_SIZE;
          processM(buffer.getLong());
        }
    
        @Override
        protected void processRemaining(ByteBuffer buffer) {
          b += buffer.remaining();
          for (int i = 0; buffer.hasRemaining(); i += 8) {
            finalM ^= (buffer.get() & 0xFFL) << i;
          }
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 5.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbComWriteAndXResponse.java

        }
        int writeBytesWireFormat( byte[] dst, int dstIndex ) {
            return 0;
        }
        int readParameterWordsWireFormat( byte[] buffer, int bufferIndex ) {
            count = readInt2( buffer, bufferIndex ) & 0xFFFFL;
            return 8;
        }
        int readBytesWireFormat( byte[] buffer, int bufferIndex ) {
            return 0;
        }
        public String toString() {
            return new String( "SmbComWriteAndXResponse[" +
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 1.5K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/ResponseBodyTest.kt

    import kotlin.test.Test
    import okhttp3.MediaType.Companion.toMediaType
    import okhttp3.ResponseBody.Companion.toResponseBody
    import okio.Buffer
    import okio.BufferedSource
    import okio.ByteString.Companion.decodeHex
    import okio.ByteString.Companion.encodeUtf8
    import okio.IOException
    import okio.Source
    import okio.buffer
    
    class ResponseBodyTest {
      @Test
      fun sourceEmpty() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. cmd/server_test.go

    	c.Assert(err, nil)
    	c.Assert(response.StatusCode, http.StatusOK)
    
    	var buffer bytes.Buffer
    	// data to be written into buffer.
    	data := "1234567890"
    	// seed the random number generator once.
    	rand.Seed(3)
    	// generate a random number between 13 and 200.
    	randInt := getRandomRange(13, 200, -1)
    	// write into buffer till length of the buffer is greater than the generated random number.
    	for i := 0; i <= randInt; i += 10 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 116.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponse.java

        protected int readSetupWireFormat ( byte[] buffer, int bufferIndex, int len ) {
            return 0;
        }
    
    
        @Override
        protected int readParametersWireFormat ( byte[] buffer, int bufferIndex, int len ) {
            this.length = SMBUtil.readInt4(buffer, bufferIndex);
            return 4;
        }
    
    
        @Override
        protected int readDataWireFormat ( byte[] buffer, int bufferIndex, int len ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Java8Compatibility.java

    import java.nio.Buffer;
    
    /**
     * Wrappers around {@link Buffer} methods that are covariantly overridden in Java 9+. See
     * https://github.com/google/guava/issues/3990
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    final class Java8Compatibility {
      static void clear(Buffer b) {
        b.clear();
      }
    
      static void flip(Buffer b) {
        b.flip();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 23 15:09:35 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java

         * readAndXWireFormat without reading the non-existent header.
         */
    
        int decode( byte[] buffer, int bufferIndex ) {
            int start = headerStart = bufferIndex;
    
            bufferIndex += readHeaderWireFormat( buffer, bufferIndex );
            bufferIndex += readAndXWireFormat( buffer, bufferIndex );
    
            length = bufferIndex - start;
            return length;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.3K bytes
    - Viewed (0)
  9. docs/en/docs/js/custom.js

                            }
                            if (buffer[buffer.length - 1] === "") {
                                // A last single <br> won't have effect
                                // so put an additional one
                                buffer.push("");
                            }
                            const bufferValue = buffer.join("<br>");
                            dataValue["value"] = bufferValue;
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/util/MD4.java

            buffer[i] = b;
            if (i == BLOCK_LENGTH - 1)
                transform(buffer, 0);
        }
    
        /**
         * MD4 block update operation.
         * <p>
         * Continues an MD4 message digest operation, by filling the buffer,
         * transform(ing) data in 512-bit message block(s), updating the variables
         * context and count, and leaving (buffering) the remaining bytes in buffer
         * for the next update or finish.
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 9.3K bytes
    - Viewed (0)
Back to top