- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 385 for Pflags (0.05 sec)
-
cmd/sftp-server-driver.go
// This is not timing the actual read operation, but the time it takes to prepare the reader. stopFn := globalSftpMetrics.log(r, f.AccessKey()) defer stopFn(0, err) flags := r.Pflags() if !flags.Read { // sanity check return nil, os.ErrInvalid } bucket, object := path2BucketObject(r.Filepath) if bucket == "" { return nil, errors.New("bucket name cannot be empty") }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Feb 10 16:35:49 UTC 2025 - 11.6K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/av/AvFlags.java
* Constructs an AV flags pair from integer flags * @param flags the flag values as integer */ public AvFlags(final int flags) { this(encode(flags)); } /** * Gets the flags as an integer value * @return flags */ public int getFlags() { return SMBUtil.readInt4(this.getRaw(), 0); } private static byte[] encode(final int flags) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.7K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvPairsTest.java
AvFlags flags1 = new AvFlags(0x11111111); AvFlags flags2 = new AvFlags(0x22222222); pairs.add(flags1); pairs.add(new AvTimestamp(new byte[8])); pairs.add(flags2); AvPair result = AvPairs.get(pairs, AvPair.MsvAvFlags); assertNotNull(result, "Should find the pair"); assertEquals(flags1, result, "Should return first occurrence"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java
byte[] testBuffer = new byte[8]; ByteBuffer bb = ByteBuffer.wrap(testBuffer).order(ByteOrder.LITTLE_ENDIAN); bb.putShort((short) 0); // pathConsumed (will be divided by 2) bb.putShort((short) 0); // numReferrals bb.putShort((short) 0); // tflags bb.putShort((short) 0); // tflags high bytes (skipped in decode)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java
// Test with RECURSIVE_TREE scope (recursive flag set) DirectoryLeaseContext context2 = new DirectoryLeaseContext(key, 0, DirectoryCacheScope.RECURSIVE_TREE); context2.setNotificationEnabled(true); byte[] buffer2 = new byte[context2.size()]; context2.encode(buffer2, 0); int flags2 = SMBUtil.readInt4(buffer2, 68);
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/main/java/jcifs/internal/dfs/Referral.java
* @return the serverType */ public final int getServerType() { return this.serverType; } /** * Gets the referral flags. * * @return the rflags */ public final int getRFlags() { return this.rflags; } /** * Gets the proximity value indicating the distance to the target. * * @return the proximity */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/dfs/DfsReferralResponseBuffer.java
* @return the numReferrals */ public final int getNumReferrals() { return this.numReferrals; } /** * Get the referral flags * * @return the tflags */ public final int getTflags() { return this.tflags; } /** * Get the array of referral entries * * @return the referrals */ public final Referral[] getReferrals() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.2K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvFlagsTest.java
} /** * Test constructor with integer flags. */ @Test void testAvFlagsIntConstructor() { // Test with a positive integer int flags = 0x12345678; AvFlags avFlags = new AvFlags(flags); assertNotNull(avFlags, "AvFlags object should not be null");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComOpenAndX.java
static final int OPEN_FN_FAIL_IF_EXISTS = 0x00; static final int OPEN_FN_OPEN = 0x01; static final int OPEN_FN_TRUNC = 0x02; int tflags, desiredAccess, searchAttributes, fileAttributes, creationTime, openFunction, allocationSize; // flags is NOT the same as flags member /** * Constructs an Open AndX request. * * @param config the configuration
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Trans2GetDfsReferralResponse.java
+ proximity + ",ttl=" + ttl + ",pathOffset=" + pathOffset + ",altPathOffset=" + altPathOffset + ",nodeOffset=" + nodeOffset + ",path=" + path + ",altPath=" + altPath + ",node=" + node + "]"); } } int pathConsumed; int numReferrals; int flags; Referral[] referrals;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.2K bytes - Viewed (0)