Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 1,216 for butter (0.03 sec)

  1. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java

            setFieldValue(response, "wordCount", 10);
    
            byte[] buffer = new byte[256];
            SMBUtil.writeInt2(fileAttribute, buffer, 0);
            SMBUtil.writeUTime(0, buffer, 2);
            SMBUtil.writeInt4(0, buffer, 6);
    
            response.readParameterWordsWireFormat(buffer, 0);
    
            assertEquals(fileAttribute, response.getAttributes());
        }
    
        @ParameterizedTest
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java

            byte[] buffer = new byte[context.size()];
            int bytesWritten = context.encode(buffer, 0);
    
            assertEquals(context.size(), bytesWritten);
    
            // Verify context header
            assertEquals(0, SMBUtil.readInt4(buffer, 0)); // Next
            assertEquals(16, SMBUtil.readInt2(buffer, 4)); // NameOffset
            assertEquals(4, SMBUtil.readInt2(buffer, 6)); // NameLength
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/HMACT64Test.java

                byte[] innerDigest = "inner_digest".getBytes();
                byte[] expectedOutput = "output_data".getBytes();
                byte[] buffer = new byte[expectedOutput.length + 10]; // Buffer with extra space
    
                when(mockMd5.digest()).thenReturn(innerDigest);
                when(mockMd5.digest(buffer, 0, expectedOutput.length)).thenAnswer(invocation -> {
                    byte[] b = invocation.getArgument(0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponse.java

            case SMB_QUERY_FS_SIZE_INFO -> readSmbQueryFSSizeInfoWireFormat(buffer, bufferIndex);
            case SMB_FS_FULL_SIZE_INFORMATION -> readFsFullSizeInformationWireFormat(buffer, bufferIndex);
            default -> 0;
            };
        }
    
        int readSmbInfoAllocationWireFormat(final byte[] buffer, int bufferIndex) {
            final int start = bufferIndex;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultResolutionErrorHandler.java

                        result.getMissingArtifacts(),
                        request.getRemoteRepositories());
            }
    
            // this should never happen since we checked all possible error sources before but better be sure
            if (result.hasExceptions()) {
                throw new ArtifactResolutionException(
                        "Unknown error during artifact resolution, " + request + ", " + result.getExceptions(),
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java

            void testEncodeIdempotency() {
                String path = "\\\\server\\share";
                buffer = new DfsReferralRequestBuffer(path, 3);
    
                byte[] dst1 = new byte[buffer.size()];
                byte[] dst2 = new byte[buffer.size()];
    
                int bytesEncoded1 = buffer.encode(dst1, 0);
                int bytesEncoded2 = buffer.encode(dst2, 0);
    
                assertEquals(bytesEncoded1, bytesEncoded2);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java

            offset += 4;
            SMBUtil.writeInt4((int) alloc, buffer, offset);
            offset += 4;
            SMBUtil.writeInt4((int) free, buffer, offset);
            offset += 4;
            SMBUtil.writeInt2(bytesPerSect, buffer, offset);
            offset += 2;
    
            // Decode
            int bytesDecoded = smbInfoAllocation.decode(buffer, 0, buffer.length);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java

            buffer[33] = 0x00;
            buffer[34] = 0x00;
            buffer[35] = 0x00;
    
            return buffer;
        }
    
        private byte[] createMockFileStandardInfoBuffer() {
            // Create a buffer that represents FileStandardInfo data
            byte[] buffer = new byte[24];
    
            // Mock allocation size (8 bytes)
            for (int i = 0; i < 8; i++) {
                buffer[i] = (byte) i;
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java

            byte[] buffer = new byte[256];
            int written = trans2FindNext2.writeParametersWireFormat(buffer, 0);
    
            assertEquals(0, SMBUtil.readInt2(buffer, 0)); // sid
            assertEquals(0, SMBUtil.readInt2(buffer, 2)); // maxItems
            assertEquals(0, SMBUtil.readInt4(buffer, 6)); // resumeKey
        }
    
        // Helper method to read string from buffer
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/util/Base64.java

                buffer.append(ALPHABET.charAt(block >>> 6 & 0x3f));
                buffer.append(ALPHABET.charAt(block & 0x3f));
            }
            if (remainder == 0) {
                return buffer.toString();
            }
            if (remainder == 1) {
                block = (bytes[i] & 0xff) << 4;
                buffer.append(ALPHABET.charAt(block >>> 6));
                buffer.append(ALPHABET.charAt(block & 0x3f));
                buffer.append("==");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.1K bytes
    - Viewed (0)
Back to top