- Sort Score
- Result 10 results
- Languages All
Results 441 - 450 of 863 for xBytes (0.04 sec)
-
src/test/java/jcifs/pac/PacTest.java
// Any PACDecodingException is acceptable for this test assertNotNull(e.getMessage()); } @Test void testTooSmallPac() { // Test that PAC smaller than 8 bytes is rejected byte[] smallData = new byte[4]; PACDecodingException e = assertThrows(PACDecodingException.class, () -> new Pac(smallData, keys)); // Any PACDecodingException is acceptable for this testRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
cmd/object-lambda-handlers_test.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" "crypto/sha256" "encoding/hex" "io" "net/http" "net/http/httptest" "net/url" "strconv" "testing" "time" "github.com/minio/minio-go/v7/pkg/signer"
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Jul 18 21:56:31 UTC 2025 - 5.2K bytes - Viewed (0) -
src/main/java/jcifs/pac/kerberos/KerberosTicket.java
public class KerberosTicket { private String serverPrincipalName; private String serverRealm; private KerberosEncData encData; /** * Constructs a KerberosTicket from token bytes. * * @param token the ticket token bytes * @param apOptions AP options flags * @param keys array of Kerberos keys for decryption * @throws PACDecodingException if ticket decoding fails */Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.7K bytes - Viewed (0) -
guava/src/com/google/common/net/UrlEscapers.java
* the same. * <li>The special characters ".", "-", "*", and "_" remain the same. * <li>The space character " " is converted into a plus sign "+". * <li>All other characters are converted into one or more bytes using UTF-8 encoding and each * byte is then represented by the 3-character string "%XY", where "XY" is the two-digit, * uppercase, hexadecimal representation of the byte value. * </ul> *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 7.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/FileUtil.java
* @param pathname * The path to the file. * @param bytes * The byte array to write. */ public static void writeBytes(final String pathname, final byte[] bytes) { try (FileOutputStream fos = OutputStreamUtil.create(new File(pathname))) { ChannelUtil.write(fos.getChannel(), ByteBuffer.wrap(bytes)); } catch (final IOException e) {Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 8.8K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Headers.kt
/** * Returns the number of bytes required to encode these headers using HTTP/1.1. This is also the * approximate size of HTTP/2 headers before they are compressed with HPACK. This value is * intended to be used as a metric: smaller headers are more efficient to encode and transmit. */ fun byteCount(): Long { // Each header name has 2 bytes of overhead for ': ' and every header value has 2 bytes of
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 14:51:25 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NtTransQuerySecurityDescTest.java
byte[] dst = new byte[15]; // Increased buffer size to accommodate offset + 8 bytes int offset = 3; // start in the middle to ensure no tail is overwritten int bytesWritten = cmd.writeParametersWireFormat(dst, offset); assertEquals(8, bytesWritten, "writeParametersWireFormat should write 8 bytes"); byte[] expected = expectedParameters(fid, securityInformation);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.6K bytes - Viewed (0) -
docs/en/docs/advanced/custom-response.md
{* ../../docs_src/response_directly/tutorial002.py hl[1,18] *} ### `HTMLResponse` { #htmlresponse } Takes some text or bytes and returns an HTML response, as you read above. ### `PlainTextResponse` { #plaintextresponse } Takes some text or bytes and returns a plain text response. {* ../../docs_src/custom_response/tutorial005.py hl[2,7,9] *} ### `JSONResponse` { #jsonresponse }Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 12.2K bytes - Viewed (0) -
src/main/java/jcifs/util/ServerResponseValidator.java
} // Check for null bytes if (str.indexOf('\0') != -1) { failedValidations.incrementAndGet(); log.warn("{} contains null bytes", fieldName); throw new SmbException(fieldName + " contains null bytes"); } // Check for control characters for (int i = 0; i < str.length(); i++) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/Kerb5ContextTest.java
assertDoesNotThrow(() -> ctx.dispose()); } } // Helper to build a minimal exported name token understood by MIEName(byte[]) // Format: TOK_ID(2 bytes) | OID_LEN(2 bytes) | OID_DER | NAME_LEN(4 bytes) | NAME(bytes) private static byte[] buildExportName(Oid mech, String name) throws GSSException { byte[] der = mech.getDER(); byte[] nb = name.getBytes();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.2K bytes - Viewed (0)