- Sort Score
- Num 10 results
- Language All
Results 351 - 360 of 435 for 2046 (0.02 seconds)
-
src/archive/zip/writer_test.go
}{ { name: "small store w desc", content: []byte("gophers"), method: Store, flags: 0x8, }, { name: "small deflate wo desc", content: bytes.Repeat([]byte("abcdefg"), 2048), method: Deflate, }, } // write a zip file archive := new(bytes.Buffer) w := NewWriter(archive) for i := range files { f := &files[i] f.crc32 = crc32.ChecksumIEEE(f.content)Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Jan 28 04:20:09 GMT 2025 - 14.4K bytes - Click Count (0) -
src/archive/tar/strconv_test.go
// Copyright 2016 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package tar import ( "math" "strings" "testing" "time" ) func TestFitsInBase256(t *testing.T) { vectors := []struct { in int64 width int ok bool }{ {+1, 8, true}, {0, 8, true}, {-1, 8, true}, {1 << 56, 8, false},
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Sep 11 17:52:43 GMT 2025 - 15K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AggregateFuture.java
/* * Copyright (C) 2006 The Guava Authors * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software distributed under the License
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 16K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java
Smb2SessionSetupRequest req = new Smb2SessionSetupRequest(mockContext, TEST_SECURITY_MODE, TEST_CAPABILITIES, TEST_PREVIOUS_SESSION_ID, token); byte[] buffer = new byte[2048]; // When req.encode(buffer, 0); // Then int bodyOffset = Smb2Constants.SMB2_HEADER_LENGTH; // Verify token lengthCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 21.2K bytes - Click Count (0) -
src/archive/tar/format.go
// Copyright 2016 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package tar import "strings" // Format represents the tar archive format. // // The original tar format was introduced in Unix V7. // Since then, there have been multiple competing formats attempting to // standardize or extend the V7 format to overcome its limitations.
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Oct 13 18:36:46 GMT 2023 - 11.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java
void testLargeBufferEncode() { byte[] largeName = new byte[1024]; Arrays.fill(largeName, (byte) 'X'); byte[] largeData = new byte[2048]; Arrays.fill(largeData, (byte) 'Y'); TestCreateContextRequest request = new TestCreateContextRequest(largeName, largeData); byte[] buffer = new byte[8192];
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.9K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/ValueGraph.java
/* * Copyright (C) 2016 The Guava Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS,
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 01:10:31 GMT 2026 - 15K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/msrpc/samr.java
/** Account control bit flag: Account is auto-locked */ public static final int ACB_AUTOLOCK = 1024; /** Account control bit flag: Encrypted text password is allowed */ public static final int ACB_ENC_TXT_PWD_ALLOWED = 2048; /** Account control bit flag: Smart card is required for login */ public static final int ACB_SMARTCARD_REQUIRED = 4096; /** Account control bit flag: Account is trusted for delegation */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 23.4K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/samr.java
/** Account control bit flag: Account is auto-locked */ public static final int ACB_AUTOLOCK = 1024; /** Account control bit flag: Encrypted text password is allowed */ public static final int ACB_ENC_TXT_PWD_ALLOWED = 2048; /** Account control bit flag: Smart card is required for login */ public static final int ACB_SMARTCARD_REQUIRED = 4096; /** Account control bit flag: Account is trusted for delegation */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 23.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java
void testReadBytesWireFormatLargeBufferOffset() throws Exception { response = new Smb2QueryDirectoryResponse(mockConfig, Smb2QueryDirectoryRequest.FILE_BOTH_DIRECTORY_INFO); byte[] buffer = new byte[2048]; int bufferIndex = 100; // Set structure size to 9 SMBUtil.writeInt2(9, buffer, bufferIndex); // Set large buffer offset SMBUtil.writeInt2(1000, buffer, bufferIndex + 2);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 23.5K bytes - Click Count (0)