Search Options

Results per page
Sort
Preferred Languages
Advance

Results 871 - 880 of 1,386 for Byte (0.01 sec)

  1. cmd/jwt_test.go

    		b.Fatal(err)
    	}
    
    	b.ResetTimer()
    	b.ReportAllocs()
    	b.RunParallel(func(pb *testing.PB) {
    		for pb.Next() {
    			err = xjwt.ParseWithClaims(token, xjwt.NewMapClaims(), func(*xjwt.MapClaims) ([]byte, error) {
    				return []byte(creds.SecretKey), nil
    			})
    			if err != nil {
    				b.Fatal(err)
    			}
    		}
    	})
    }
    
    func BenchmarkAuthenticateNode(b *testing.B) {
    	ctx, cancel := context.WithCancel(b.Context())
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/dcerpc/msrpc/lsarpc.java

            public int length;
            /** Security impersonation level. */
            public short impersonation_level;
            /** Context tracking mode. */
            public byte context_mode;
            /** Indicates if only effective privileges should be used. */
            public byte effective_only;
    
            @Override
            public void encode(final NdrBuffer _dst) throws NdrException {
                _dst.align(4);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 44.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SID.java

                }
            }
        }
    
        /**
         * Converts an RPC sid_t structure to a byte array.
         *
         * @param sid the RPC sid_t structure to convert
         * @return byte array representation of the SID
         */
        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;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java

            void shouldReturnCorrectBytesConsumed() throws SMBProtocolDecodingException {
                // Given - larger buffer than needed
                byte[] buffer = new byte[100];
                ByteBuffer bb = ByteBuffer.wrap(buffer).order(ByteOrder.LITTLE_ENDIAN);
                bb.putLong(1000L);
                bb.putLong(500L);
                bb.putInt(8);
                bb.putInt(512);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/io/InputStreamUtil.java

                throw new IORuntimeException(e);
            }
        }
    
        /**
         * Gets a byte array from an {@link InputStream}.
         * <p>
         * The input stream is not closed.
         * </p>
         *
         * @param is the input stream (must not be {@literal null})
         * @return the byte array
         */
        public static final byte[] getBytes(final InputStream is) {
            assertArgumentNotNull("is", is);
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Response.java

         */
        public DurableHandleV2Response() {
            // Will be populated during decode
        }
    
        @Override
        public byte[] getName() {
            return CONTEXT_NAME_BYTES;
        }
    
        @Override
        public int decode(byte[] buffer, int bufferIndex, int len) throws SMBProtocolDecodingException {
            if (len != 8) {
                throw new SMBProtocolDecodingException("Invalid durable handle V2 response length: " + len);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/com/ServerData.java

         * Length of the encryption key.
         */
        public int encryptionKeyLength;
        /**
         * Encryption key for password encryption.
         */
        public byte[] encryptionKey;
        /**
         * Server's globally unique identifier.
         */
        public byte[] guid;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/msrpc/srvsvcTest.java

            // Verify security descriptor encoding
            verify(mockDeferredBuffer).enc_ndr_long(2);
            verify(mockDeferredBuffer).advance(2);
            verify(mockDeferredBuffer).enc_ndr_small((byte) 1);
            verify(mockDeferredBuffer).enc_ndr_small((byte) 2);
        }
    
        @Test
        void testShareInfoCtr0EncodeWithArray() throws NdrException {
            srvsvc.ShareInfoCtr0 ctr0 = new srvsvc.ShareInfoCtr0();
            ctr0.count = 2;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  9. cmd/dummy-handlers.go

    		return
    	}
    
    	const accelerateDefaultConfig = `<?xml version="1.0" encoding="UTF-8"?><AccelerateConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/"/>`
    	writeSuccessResponseXML(w, []byte(accelerateDefaultConfig))
    }
    
    // GetBucketRequestPaymentHandler - GET bucket requestPayment, a dummy api
    func (api objectAPIHandlers) GetBucketRequestPaymentHandler(w http.ResponseWriter, r *http.Request) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 13 15:25:16 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/hash/ChecksumHashFunction.java

        private ChecksumHasher(Checksum checksum) {
          this.checksum = checkNotNull(checksum);
        }
    
        @Override
        protected void update(byte b) {
          checksum.update(b);
        }
    
        @Override
        protected void update(byte[] bytes, int off, int len) {
          checksum.update(bytes, off, len);
        }
    
        @Override
        @J2ObjCIncompatible
        protected void update(ByteBuffer b) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4.4K bytes
    - Viewed (0)
Back to top