- Sort Score
- Result 10 results
- Languages All
Results 491 - 500 of 1,596 for writeTo (0.08 sec)
-
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java
SMBUtil.writeInt4(32, buffer, 12); // DataLength (standard lease only) // Write name System.arraycopy("DLse".getBytes(), 0, buffer, 16, 4); // Write lease key Smb2LeaseKey key = new Smb2LeaseKey(); key.encode(buffer, 24); // Write lease state SMBUtil.writeInt4(DirectoryLeaseState.DIRECTORY_READ_HANDLE, buffer, 40);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 10.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java
// Decode to new instance (decode reads 36 bytes, encode writes 40) FileBasicInfo decoded = new FileBasicInfo(); int decodedBytes = decoded.decode(buffer, 0, 36); // Verify encoding/decoding assertEquals(40, encodedBytes); // encode writes 40 bytes (includes padding) assertEquals(36, decodedBytes); // decode reads 36 bytes (no padding)Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NbtSocket.java
import jcifs.smb1.Config; import jcifs.smb1.util.LogStream; /** Do not use this class. Writing to the OutputStream of this type of socket requires leaving a 4 byte prefix for the NBT header. IOW you must call write( buf, 4, len ). Calling write( buf, 0, len ) will generate an error. */ public class NbtSocket extends Socket { private static final int SSN_SRVC_PORT = 139; private static final int BUFFER_SIZE = 512;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java
assertEquals(expectedAttributes, searchAttributesField.get(smbComRename)); } /** * Test writeParameterWordsWireFormat method */ @Test @DisplayName("Test writeParameterWordsWireFormat writes search attributes correctly") public void testWriteParameterWordsWireFormat() { // Given byte[] dst = new byte[10]; smbComRename = new SmbComRename(config, "old.txt", "new.txt");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java
class StringHandlingTests { @BeforeEach void setup() { testBlock = new TestServerMessageBlock(mockConfig); } @Test @DisplayName("Test write string with Unicode") void testWriteStringUnicode() { testBlock.setUseUnicode(true); byte[] buffer = new byte[100]; String testString = "Test";Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 36.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComClose.java
* Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.internal.smb1.com; import org.slf4j.Logger; import org.slf4j.LoggerFactory;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/Smb2LeaseKey.java
* Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.internal.smb2.lease; import java.security.SecureRandom; import java.util.Arrays; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 3.3K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/io/ContentCacheTest.java
String testContent = "Hello, World!"; tempFile = File.createTempFile("test", ".tmp", Curl.tmpDir); // Write test content to file try (FileOutputStream fos = new FileOutputStream(tempFile)) { fos.write(testContent.getBytes("UTF-8")); } ContentCache cache = new ContentCache(tempFile); try (InputStream stream = cache.getInputStream()) {Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Thu Jul 31 01:01:12 UTC 2025 - 10.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseContext.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 9.4K bytes - Viewed (0) -
ci/official/envs/public_cache_push
# limitations under the License. # ============================================================================== # Sourcing this enables Bazel remote cache (read and write) # Note that "_push" cache configs write to GCS buckets and require # authentication. If you are not a Googler, source "public_cache" to enable the # public read-only cache. # The cache configs are different for MacOS and Linux
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Thu Feb 01 03:21:19 UTC 2024 - 1.2K bytes - Viewed (0)