Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 1,280 for Byte (0.04 sec)

  1. guava-tests/benchmark/com/google/common/io/BaseEncodingBenchmark.java

      @Param({"10", "100", "10000"})
      int n;
    
      private final byte[][] encodingInputs = new byte[INPUTS_COUNT][];
      private final String[] decodingInputs = new String[INPUTS_COUNT];
    
      @BeforeExperiment
      public void setUp() {
        Random rng = new Random();
        for (int i = 0; i < encodingInputs.length; i++) {
          encodingInputs[i] = new byte[n];
          rng.nextBytes(encodingInputs[i]);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/dcerpc/DcerpcHandle.java

         * @throws IOException
         * @throws DcerpcException
         * @throws NdrException
         */
        private byte[] receiveMoreFragments ( DcerpcMessage msg, byte[] in ) throws IOException, DcerpcException, NdrException {
            int off = msg.ptype == 2 ? msg.length : 24;
            byte[] fragBytes = new byte[this.max_recv];
            NdrBuffer fragBuf = new NdrBuffer(fragBytes, 0);
            while ( !msg.isFlagSet(DCERPC_LAST_FRAG) ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jun 30 10:11:57 UTC 2019
    - 12.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/fscc/FileInternalInfo.java

         */
        @Override
        public byte getFileInformationLevel () {
            return FILE_INTERNAL_INFO;
        }
    
    
        /**
         * @return the indexNumber
         */
        public long getIndexNumber () {
            return this.indexNumber;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Decodable#decode(byte[], int, int)
         */
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.2K bytes
    - Viewed (0)
  4. internal/config/crypto.go

    // The context is bound to the returned ciphertext.
    //
    // The same context must be provided when decrypting the
    // ciphertext.
    func EncryptBytes(k *kms.KMS, plaintext []byte, context kms.Context) ([]byte, error) {
    	ciphertext, err := Encrypt(k, bytes.NewReader(plaintext), context)
    	if err != nil {
    		return nil, err
    	}
    	return io.ReadAll(ciphertext)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/pac/PacSignature.java

                case KERB_CHECKSUM_HMAC_MD5:
                    this.checksum = new byte[16];
                    break;
                case HMAC_SHA1_96_AES128:
                case HMAC_SHA1_96_AES256:
                    this.checksum = new byte[12];
                    break;
                default:
                    this.checksum = new byte[bufferStream.available()];
                    break;
                }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndX.java

                    password = new byte[(session.auth.password.length() + 1) * 2];
                    passwordLength = writeString( session.auth.password, password, 0 );
                }
            } else {
                // no password in tree connect
                passwordLength = 1;
            }
    
            dst[dstIndex++] = disconnectTid ? (byte)0x01 : (byte)0x00;
            dst[dstIndex++] = (byte)0x00;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 6.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/netbios/NameQueryRequest.java

        }
    
    
        @Override
        int writeBodyWireFormat ( byte[] dst, int dstIndex ) {
            return writeQuestionSectionWireFormat(dst, dstIndex);
        }
    
    
        @Override
        int readBodyWireFormat ( byte[] src, int srcIndex ) {
            return readQuestionSectionWireFormat(src, srcIndex);
        }
    
    
        @Override
        int writeRDataWireFormat ( byte[] dst, int dstIndex ) {
            return 0;
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/util/ByteEncodable.java

    import jcifs.Encodable;
    
    
    /**
     * @author mbechler
     *
     */
    public class ByteEncodable implements Encodable {
    
        private byte[] bytes;
        private int off;
        private int len;
    
    
        /**
         * @param b
         * @param off
         * @param len
         */
        public ByteEncodable ( byte[] b, int off, int len ) {
            this.bytes = b;
            this.off = off;
            this.len = len;
        }
    
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/BufferCache.java

        private static int freeBuffers = 0;
    
        static public byte[] getBuffer() {
            synchronized( cache ) {
                byte[] buf;
    
                if (freeBuffers > 0) {
                    for (int i = 0; i < MAX_BUFFERS; i++) {
                        if( cache[i] != null ) {
                            buf = (byte[])cache[i];
                            cache[i] = null;
                            freeBuffers--;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.2K bytes
    - Viewed (0)
  10. src/bytes/reader.go

    // [io.ByteScanner], and [io.RuneScanner] interfaces by reading from
    // a byte slice.
    // Unlike a [Buffer], a Reader is read-only and supports seeking.
    // The zero value for Reader operates like a Reader of an empty slice.
    type Reader struct {
    	s        []byte
    	i        int64 // current reading index
    	prevRune int   // index of previous rune; or < 0
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Jul 16 18:17:37 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top