- Sort Score
- Result 10 results
- Languages All
Results 221 - 230 of 429 for csharp (0.04 sec)
-
src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java
/** * Constructs an SmbRandomAccessFile with the specified URL, mode, and share access flags. * * @param url the SMB URL of the file to access * @param mode the access mode ("r" for read-only, "rw" for read-write) * @param shareAccess the share access flags for file sharing * @throws SmbException if an SMB error occursRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java
// Create a buffer representing a valid DFS referral response // Need to include space for actual string data int stringDataStart = 28; // After the referral structure String testPath = "\\server\\share"; byte[] pathBytes = testPath.getBytes(java.nio.charset.StandardCharsets.UTF_16LE); int bufferSize = stringDataStart + pathBytes.length + 2; // +2 for null terminator byte[] buffer = new byte[bufferSize];Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
cmd/bitrot-whole.go
"hash" "io" ) // Implementation to calculate bitrot for the whole file. type wholeBitrotWriter struct { disk StorageAPI volume string filePath string shardSize int64 // This is the shard size of the erasure logic hash.Hash // For bitrot hash } func (b *wholeBitrotWriter) Write(p []byte) (int, error) { err := b.disk.AppendFile(context.TODO(), b.volume, b.filePath, p) if err != nil {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Jan 31 02:11:45 UTC 2024 - 2.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/Encdec.java
*/ public static String dec_utf8(final byte[] src, int si, final int slim) throws IOException { final char[] uni = new char[slim - si]; int ui, ch; for (ui = 0; si < slim && (ch = src[si++] & 0xFF) != 0; ui++) { if (ch < 0x80) { uni[ui] = (char) ch; } else if ((ch & 0xE0) == 0xC0) { if (slim - si < 2) { break;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 18.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbNamedPipeTest.java
} @ParameterizedTest @DisplayName("Rejects non-IPC$ URLs") @ValueSource(strings = { "smb://server/C$/foo", "smb://server/public/foo", "smb://server/share/path" }) void rejectsNonIpcShare(String url) { // Arrange & Act & Assert MalformedURLException ex =Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.2K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jul 23 17:27:08 UTC 2025 - 26.4K bytes - Viewed (0) -
docs/smb3-features/04-directory-leasing-design.md
CIFSContext context = getTestContext(); context.getConfig().setProperty("jcifs.smb.client.directoryNotificationsEnabled", "true"); SmbFile dir = new SmbFile("smb://server/share/testdir/", context); SmbFile testFile = new SmbFile("smb://server/share/testdir/newfile.txt", context); // Get initial listing (establishes cache) SmbFile[] initialFiles = dir.listFiles(); // Create new file
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 36.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbRandomAccessFile.java
} return Encdec.dec_uint16be(this.tmp, 0) & 0xFFFF; } @Override public final char readChar() throws SmbException { if (read(this.tmp, 0, 2) < 0) { throw new SmbEndOfFileException(); } return (char) Encdec.dec_uint16be(this.tmp, 0); } @Override public final int readInt() throws SmbException {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 18.8K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeToInstanceMap.java
* and a primitive type and its corresponding wrapper type may map to different values. * * @param <B> the common supertype that all entries must share; often this is simply {@link Object} * @author Ben Yu * @since 13.0 */ @DoNotMock("Use ImmutableTypeToInstanceMap or MutableTypeToInstanceMap") public interface TypeToInstanceMap<B extends @Nullable Object>Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.7K bytes - Viewed (0) -
guava/src/com/google/common/reflect/TypeToInstanceMap.java
* and a primitive type and its corresponding wrapper type may map to different values. * * @param <B> the common supertype that all entries must share; often this is simply {@link Object} * @author Ben Yu * @since 13.0 */ @DoNotMock("Use ImmutableTypeToInstanceMap or MutableTypeToInstanceMap") public interface TypeToInstanceMap<B extends @Nullable Object>Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.7K bytes - Viewed (0)