- Sort Score
- Num 10 results
- Language All
Results 1161 - 1170 of 1,541 for ending (0.06 seconds)
-
src/test/java/jcifs/internal/util/SMBUtilTest.java
assertEquals((byte) 'S', SMBUtil.SMB2_HEADER[1]); assertEquals((byte) 'M', SMBUtil.SMB2_HEADER[2]); assertEquals((byte) 'B', SMBUtil.SMB2_HEADER[3]); // Verify structure size (64 in little-endian) assertEquals((byte) 64, SMBUtil.SMB2_HEADER[4]); assertEquals((byte) 0x00, SMBUtil.SMB2_HEADER[5]); } @ParameterizedTest
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.1K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NodeStatusRequestTest.java
int result = nodeStatusRequest.writeBodyWireFormat(dst, 10); // Assert assertTrue(result > 0); // Verify the hex code was temporarily set to 0x00 // The first byte after the name encoding should reflect this } @Test void readBodyWireFormat_shouldAlwaysReturnZero() { // Arrange nodeStatusRequest = new NodeStatusRequest(mockConfig, mockName);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java
assertEquals(4, bytesWritten); assertEquals(SmbComTransaction.TRANS_PEEK_NAMED_PIPE, buffer[offset]); assertEquals((byte) 0x00, buffer[offset + 1]); // Verify FID is written correctly (little-endian) int writtenFid = SMBUtil.readInt2(buffer, offset + 2); assertEquals(TEST_FID, writtenFid); } @Test @DisplayName("writeSetupWireFormat should handle buffer boundary")
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java
private static byte[] buildHeader(int status) { byte[] hdr = new byte[64]; // SMB2 header is 64 bytes System.arraycopy(SMBUtil.SMB2_HEADER, 0, hdr, 0, 64); // Write Status (little-endian) at offset 8 in the SMB2 header SMBUtil.writeInt4(status, hdr, 8); // Write Command = SMB2_IOCTL (0x000B) at offset 12 SMBUtil.writeInt2(0x000B, hdr, 12);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.9K bytes - Click Count (0) -
src/test/java/jcifs/pac/PacLogonInfoTest.java
writeLittleEndianInt(dos, 0); // unusedChars writeLittleEndianInt(dos, totalChars); // usedChars // Write the actual characters (as shorts in little-endian) for (char c : testString.toCharArray()) { writeLittleEndianShort(dos, (short) c); } ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.3K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlXpathExtractor.java
* The class uses {@link DOMParser} to parse HTML documents and {@link XPathAPI} to execute XPath queries. * It also provides methods to add custom features and properties to the {@link DOMParser}. * </p> * <p> * The encoding of the HTML document is automatically detected using a regular expression that matches the charset attribute in the meta tag. * </p> * */ public class HtmlXpathExtractor extends AbstractXmlExtractor { /**Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Sat Oct 04 08:47:19 GMT 2025 - 10.4K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java
// After a full read both flags should be set and hasMore should be false assertTrue(d.getParametersDone(), "parametersDone should be true after reading"); assertTrue(d.getDataDone(), "dataDone should be true after reading"); assertFalse(d.getHasMore(), "hasMore should be false when both packets are fully read"); } /**Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/net/protocol/gcs/Handler.java
super(url); // Extract bucket name from host bucketName = url.getHost() != null ? url.getHost() : StringUtil.EMPTY; // Extract object name from path, removing leading slash if present and decoding URL encoding final String path = url.getPath(); if (path != null && !path.isEmpty()) { final String pathWithoutLeadingSlash = path.startsWith("/") ? path.substring(1) : path;
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Thu Dec 11 08:38:29 GMT 2025 - 9.6K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/net/protocol/s3/Handler.java
super(url); // Extract bucket name from host bucketName = url.getHost() != null ? url.getHost() : StringUtil.EMPTY; // Extract object name from path, removing leading slash if present and decoding URL encoding final String path = url.getPath(); if (path != null && !path.isEmpty()) { final String pathWithoutLeadingSlash = path.startsWith("/") ? path.substring(1) : path;
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Thu Dec 11 07:57:44 GMT 2025 - 9.5K bytes - Click Count (0) -
impl/maven-cli/pom.xml
<?xml version="1.0" encoding="UTF-8"?> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you 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
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 10.2K bytes - Click Count (0)