Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 100 for ArrayCopy (0.15 sec)

  1. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

                    }
                    System.arraycopy( str.getBytes( UNI_ENCODING ), 0,
                                        dst, dstIndex, str.length() * 2 );
                    dstIndex += str.length() * 2;
                    dst[dstIndex++] = (byte)'\0';
                    dst[dstIndex++] = (byte)'\0';
                } else {
                    byte[] b = str.getBytes( OEM_ENCODING );
                    System.arraycopy( b, 0, dst, dstIndex, b.length );
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 21K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/NtlmContext.java

            MessageDigest mac = Crypto.getHMACT64(sk);
            mac.update(seqBytes); // sequence
            mac.update(data); // data
            byte[] dgst = mac.digest();
            byte[] trunc = new byte[8];
            System.arraycopy(dgst, 0, trunc, 0, 8);
    
            if ( log.isDebugEnabled() ) {
                log.debug("Digest " + Hexdump.toHexString(dgst));
                log.debug("Truncated " + Hexdump.toHexString(trunc));
            }
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 15.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbComTransaction.java

                }
    
                System.arraycopy( txn_buf, bufParameterOffset, dst, dstIndex, parameterCount );
                dstIndex += parameterCount;
            }
    
            if( dataCount > 0 ) {
                p = pad1;
                while( p-- > 0 ) {
                    dst[dstIndex++] = (byte)0x00;       // Pad1
                }
                System.arraycopy( txn_buf, bufDataOffset, dst, dstIndex, dataCount );
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 10.5K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/http2/Hpack.kt

                bytesToRecover -= toEvict.hpackSize
                dynamicTableByteCount -= toEvict.hpackSize
                headerCount--
                entriesToEvict++
                j--
              }
              System.arraycopy(
                dynamicTable,
                nextHeaderIndex + 1,
                dynamicTable,
                nextHeaderIndex + 1 + entriesToEvict,
                headerCount,
              )
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/ntlmssp/Type3Message.java

                    setLMResponse(clientChallenge);
                    setNTResponse(ntlm2Response);
    
                    byte[] sessionNonce = new byte[16];
                    System.arraycopy(type2.getChallenge(), 0, sessionNonce, 0, 8);
                    System.arraycopy(clientChallenge, 0, sessionNonce, 8, 8);
    
                    MessageDigest md4 = Crypto.getMD4();
                    md4.update(passwordHash);
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 30.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/ByteSourceTest.java

            new ByteProcessor<byte[]>() {
              int pos;
    
              @Override
              public boolean processBytes(byte[] buf, int off, int len) throws IOException {
                System.arraycopy(buf, off, processedBytes, pos, len);
                pos += len;
                return true;
              }
    
              @Override
              public byte[] getResult() {
                return processedBytes;
              }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

                }
                System.arraycopy(Strings.getUNIBytes(str), 0, dst, dstIndex, str.length() * 2);
                dstIndex += str.length() * 2;
                dst[ dstIndex++ ] = (byte) '\0';
                dst[ dstIndex++ ] = (byte) '\0';
            }
            else {
                byte[] b = Strings.getOEMBytes(str, this.getConfig());
                System.arraycopy(b, 0, dst, dstIndex, b.length);
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 32.7K bytes
    - Viewed (0)
  8. platforms/core-runtime/io/src/test/groovy/org/gradle/internal/io/StreamByteBufferTest.groovy

            given:
            def byteBuffer = new StreamByteBuffer(chunkSize)
            def byteArrayInputStream = new ByteArrayInputStream(testbuffer)
            byte[] testBufferPart = new byte[limit]
            System.arraycopy(testbuffer, 0, testBufferPart, 0, limit)
    
            when:
            byteBuffer.readFrom(byteArrayInputStream, limit)
    
            then:
            byteBuffer.totalBytesUnread() == limit
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 13:06:08 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

            int createContextLengthOffset = dstIndex;
            dstIndex += 4; // createContextLength
    
            SMBUtil.writeInt2(dstIndex - getHeaderStart(), dst, nameOffsetOffset);
    
            System.arraycopy(nameBytes, 0, dst, dstIndex, nameBytes.length);
            if ( nameBytes.length == 0 ) {
                // buffer must contain at least one byte
                dstIndex++;
            }
            else {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sat Jun 01 09:52:11 UTC 2019
    - 14.3K bytes
    - Viewed (0)
  10. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/ImmutableActionSet.java

                    Action<? super T>[] newActions = Cast.uncheckedNonnullCast(new Action<?>[source.actions.length + 1]);
                    newActions[0] = singleAction;
                    System.arraycopy(source.actions, 0, newActions, 1, source.actions.length);
                    return new SetWithFewActions<T>(newActions);
                }
                return plus(this, source);
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 11K bytes
    - Viewed (0)
Back to top