- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 268 for 1024 (0.13 sec)
-
src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java
authMethod = null; final InputStream errorStream = connection.getErrorStream(); if (errorStream != null && errorStream.available() != 0) { int count; final byte[] buf = new byte[1024]; while ((count = errorStream.read(buf, 0, 1024)) != -1) { ; } } String authHeader; if (response == HTTP_UNAUTHORIZED) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 22.1K bytes - Viewed (0) -
src/test/java/jcifs/spnego/NegTokenInitTest.java
} @Test @DisplayName("Large MIC values are handled correctly") void testLargeMicValue() throws Exception { byte[] largeMic = new byte[1024]; Arrays.fill(largeMic, (byte) 0xAB); NegTokenInit init = new NegTokenInit(new ASN1ObjectIdentifier[] { OID_KRB }, 0, null, largeMic); byte[] encoded = init.toByteArray();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java
// Simulate the pattern from Smb2CreateResponse byte[] nameBytes = "SMB2_CREATE_CONTEXT".getBytes(StandardCharsets.UTF_8); byte[] dataBuffer = new byte[1024]; Arrays.fill(dataBuffer, (byte) 0xAB); TestCreateContextResponse contextResponse = new TestCreateContextResponse(nameBytes); // Simulate decode call
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java
try (BufferedInputStream in = new BufferedInputStream(new SmbFileInputStream(src)); BufferedOutputStream out = new BufferedOutputStream(new FileOutputStream(dest))) { final byte[] buf = new byte[1024]; int length; while (-1 < (length = in.read(buf))) { out.write(buf, 0, length); out.flush(); } } catch (final IOException e) {
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Sep 18 09:30:45 UTC 2025 - 22.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java
emptyFileId = new byte[16]; Arrays.fill(emptyFileId, (byte) 0); unspecifiedFileId = Smb2Constants.UNSPECIFIED_FILEID; testOutputBuffer = new byte[1024]; } @Test @DisplayName("Should implement RequestWithFileId interface correctly") void testInterfaceImplementation() { // Test that common implementations properly implement the interface
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java
public void testWriteBytesWireFormatLongFileNames() { // Given String longOldFileName = "a".repeat(255); // Max filename length String longNewFileName = "b".repeat(255); byte[] dst = new byte[1024]; smbComRename = new SmbComRename(config, longOldFileName, longNewFileName); int dstIndex = 0; // When int result = smbComRename.writeBytesWireFormat(dst, dstIndex);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java
@Override public Model interpolate(Model model, File projectDir, ProjectBuilderConfiguration config, boolean debugEnabled) throws ModelInterpolationException { StringWriter sWriter = new StringWriter(1024); MavenStaxWriter writer = new MavenStaxWriter(); try { writer.write(sWriter, model.getDelegate()); } catch (IOException | XMLStreamException e) {
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 13.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java
void testLength() throws SMBProtocolDecodingException { // Prepare test data byte[] buffer = createValidBuffer("file.txt", "FILE~1.TXT", true); long expectedEndOfFile = 1024L * 1024L; // 1MB SMBUtil.writeInt8(expectedEndOfFile, buffer, 40); // Decode fileBothDirectoryInfo.decode(buffer, 0, buffer.length); // Verify
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java
@Test @DisplayName("Test decode with large data payload") void testDecodeWithLargeData() throws SMBProtocolDecodingException { // Prepare test data with large data section int dataSize = 1024; byte[] buffer = new byte[16 + dataSize]; int bufferIndex = 0; // Set up test values int namedPipeState = 0x03; int readDataAvailable = dataSize;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0)