Search Options

Results per page
Sort
Preferred Languages
Advance

Results 641 - 650 of 871 for fbytes (0.04 sec)

  1. cmd/admin-handlers-users_test.go

    	_, err := client.PutObject(ctx, bucket, "some-object", bytes.NewBuffer([]byte("stuff")), 5, minio.PutObjectOptions{})
    	if err != nil {
    		c.Fatalf("upload did not succeed got %#v", err)
    	}
    }
    
    func (c *check) mustNotUpload(ctx context.Context, client *minio.Client, bucket string) {
    	c.Helper()
    	_, err := client.PutObject(ctx, bucket, "some-object", bytes.NewBuffer([]byte("stuff")), 5, minio.PutObjectOptions{})
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/SmbResourceException.java

        /**
         * Static factory for quota exceeded
         */
        public static SmbResourceException quotaExceeded(int errorCode, long used, long quota) {
            return new SmbResourceException(String.format("Quota exceeded: %d/%d bytes used", used, quota), errorCode, ResourceType.QUOTA,
                    quota - used, 1);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbFileOutputStreamTest.java

            when(mockWriteResponse.getCount()).thenReturn(10, 5); // Return proper byte counts
    
            outputStream = new SmbFileOutputStream(mockFile, mockTreeHandle, mockFileHandle,
                    SmbConstants.O_CREAT | SmbConstants.O_WRONLY | SmbConstants.O_TRUNC, SmbConstants.FILE_WRITE_DATA,
                    SmbConstants.DEFAULT_SHARING);
    
            byte[] data = new byte[10];
    
            // When & Then - test boundary conditions
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/SecureKeyManagerTest.java

            byte[] key1 = new byte[16];
            byte[] key2 = new byte[16];
            new SecureRandom().nextBytes(key1);
            new SecureRandom().nextBytes(key2);
    
            keyManager.storeSessionKey(sessionId1, key1, "AES");
            keyManager.storeSessionKey(sessionId2, key2, "AES");
    
            byte[] retrieved1 = keyManager.getRawKey(sessionId1);
            byte[] retrieved2 = keyManager.getRawKey(sessionId2);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/compression/CompressionNegotiateContextTest.java

            assertFalse(context.supportsAlgorithm(CompressionNegotiateContext.COMPRESSION_PATTERN_V1));
        }
    
        @Test
        @DisplayName("Test context encoding")
        public void testEncoding() {
            byte[] buffer = new byte[256];
            int encodedSize = context.encode(buffer, 0);
    
            assertTrue(encodedSize > 8); // Minimum size: count + padding + flags + algorithms
            assertEquals(context.size(), encodedSize);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/util/HMACT64.java

     * in which the key is truncated at 64 bytes (rather than being hashed
     * via MD5).
     */
    public class HMACT64 extends MessageDigest implements Cloneable {
    
        private static final int BLOCK_LENGTH = 64;
    
        private static final byte IPAD = (byte) 0x36;
    
        private static final byte OPAD = (byte) 0x5c;
    
        private MessageDigest md5;
    
        private byte[] ipad = new byte[BLOCK_LENGTH];
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/HMACT64.java

     * in which the key is truncated at 64 bytes (rather than being hashed
     * via MD5).
     */
    class HMACT64 extends MessageDigest implements Cloneable {
    
        private static final int BLOCK_LENGTH = 64;
    
        private static final byte IPAD = (byte) 0x36;
    
        private static final byte OPAD = (byte) 0x5c;
    
        private final MessageDigest md5;
    
        private byte[] ipad = new byte[BLOCK_LENGTH];
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/primitives/Floats.java

      private Floats() {}
    
      /**
       * The number of bytes required to represent a primitive {@code float} value.
       *
       * <p>Prefer {@link Float#BYTES} instead.
       *
       * @since 10.0
       */
      // The constants value gets inlined here.
      @SuppressWarnings("AndroidJdkLibsChecker")
      public static final int BYTES = Float.BYTES;
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/dfs/Referral.java

         *
         * @return the version
         */
        public final int getVersion() {
            return this.version;
        }
    
        /**
         * Gets the size of this referral entry in bytes.
         *
         * @return the size
         */
        public final int getSize() {
            return this.size;
        }
    
        /**
         * Gets the server type of this referral.
         *
         * @return the serverType
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt

         * Sets minimum outbound web socket message size (in bytes) that will be compressed.
         *
         * Set to 0 to enable compression for all outbound messages.
         *
         * 1024 by default.
         */
        fun minWebSocketMessageToCompress(bytes: Long) =
          apply {
            require(bytes >= 0) {
              "minWebSocketMessageToCompress must be positive: $bytes"
            }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 51.7K bytes
    - Viewed (0)
Back to top