Search Options

Results per page
Sort
Preferred Languages
Advance

Results 451 - 460 of 1,057 for Bytes (0.03 sec)

  1. cmd/encryption-v1.go

    	// SSECustomerKeySize is the size of valid client provided encryption keys in bytes.
    	// Currently AWS supports only AES256. So the SSE-C key size is fixed to 32 bytes.
    	SSECustomerKeySize = 32
    
    	// SSEIVSize is the size of the IV data
    	SSEIVSize = 32 // 32 bytes
    
    	// SSEDAREPackageBlockSize - SSE dare package block size.
    	SSEDAREPackageBlockSize = 64 * 1024 // 64KiB bytes
    
    	// SSEDAREPackageMetaSize - SSE dare package meta padding bytes.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 37.8K bytes
    - Viewed (0)
  2. cmd/data-usage_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	e := want.find("abucket/dir2")
    	want.replace("abucket/dir2", "", *e)
    	var buf bytes.Buffer
    	err = want.serializeTo(&buf)
    	if err != nil {
    		t.Fatal(err)
    	}
    	t.Log("serialized size:", buf.Len(), "bytes")
    	var got dataUsageCache
    	err = got.deserialize(&buf)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if got.Info.LastUpdate.IsZero() {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java

            byte[] dest = new byte[4];
            NtlmMessage.writeULong(dest, 0, -1);
            assertArrayEquals(new byte[] { -1, -1, -1, -1 }, dest, "All bytes should be 0xFF for -1");
        }
    
        @Test
        @DisplayName("writeUShort writes little endian bytes")
        void testWriteUShort() {
            byte[] dest = new byte[2];
            NtlmMessage.writeUShort(dest, 0, 0xBBAA);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/PreauthIntegrityService.java

        // Default configuration
        private static final int DEFAULT_HASH_ALGORITHM = HASH_ALGO_SHA512;
        private static final int SALT_SIZE = 32; // 32 bytes as per SMB 3.1.1 spec
        private static final int HASH_SIZE_SHA512 = 64; // SHA-512 produces 64-byte hashes
    
        // Session-specific preauth integrity contexts
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/compression/DefaultCompressionService.java

                log.debug("Data too small for compression ({} bytes), returning uncompressed", length);
                byte[] result = new byte[length];
                System.arraycopy(data, offset, result, 0, length);
                return result;
            }
            if (length > MAX_COMPRESSION_SIZE) {
                throw new CIFSException("Data too large for compression: " + length + " bytes");
            }
    
            switch (algorithm) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  6. cmd/storage-rest-client.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"bytes"
    	"context"
    	"encoding/hex"
    	"errors"
    	"fmt"
    	"io"
    	"net/http"
    	"net/url"
    	"path"
    	"strconv"
    	"strings"
    	"sync/atomic"
    	"time"
    
    	"github.com/minio/madmin-go/v3"
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 08 02:38:41 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/rpcTest.java

                when(mockNdrBuffer.dec_ndr_small()).thenReturn((int) (byte) 0x11, (int) (byte) 0x22, // clock seq bytes
                        (int) (byte) 0xAA, (int) (byte) 0xBB, (int) (byte) 0xCC, (int) (byte) 0xDD, (int) (byte) 0xEE, (int) (byte) 0xFF // node bytes
                );
                when(mockNdrBuffer.derive(anyInt())).thenReturn(mockNdrBuffer);
    
                // When: Decoding the UUID
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java

            // Then
            // The writeBytesWireFormat writes the structure and calculates padding
            // Base structure: 24 bytes, then pad8 alignment, then token: 5 bytes
            // Total bytes written includes padding for 8-byte alignment
            int expectedBytesWritten = 35;
            assertEquals(expectedBytesWritten, bytesWritten);
    
            // Verify structure
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java

            @Test
            @DisplayName("Unspecified FileId should be 16 bytes of 0xFF")
            void testUnspecifiedFileId() {
                assertNotNull(Smb2Constants.UNSPECIFIED_FILEID, "Unspecified FileId should not be null");
                assertEquals(16, Smb2Constants.UNSPECIFIED_FILEID.length, "Unspecified FileId must be exactly 16 bytes");
    
                // Verify all bytes are 0xFF
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  10. cmd/object-api-interface_gen.go

    		default:
    			bts, err = msgp.Skip(bts)
    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	o = bts
    	return
    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
    func (z BucketOptions) Msgsize() (s int) {
    	s = 1 + 8 + msgp.BoolSize + 7 + msgp.BoolSize + 11 + msgp.BoolSize
    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 22 21:57:20 UTC 2024
    - 8.7K bytes
    - Viewed (0)
Back to top