- Sort Score
- Num 10 results
- Language All
Results 61 - 70 of 131 for Setsid (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/main/java/jcifs/smb/SmbFileHandleImpl.java
} else { this.creationBacktrace = null; } } /** * @return the fid * @throws SmbException */ public int getFid() throws SmbException { if (!isValid()) { throw new SmbException("Descriptor is no longer valid"); } return this.fid; }Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 9.4K bytes - Click Count (1) -
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java
} @Test @DisplayName("Should throw NullPointerException with null configuration") void testConstructorWithNullConfig() { // The parent class requires a non-null configuration for getPid() assertThrows(NullPointerException.class, () -> { new Trans2GetDfsReferralResponse(null); }); } } @Nested @DisplayName("Constants Tests")Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 19.4K bytes - Click Count (0) -
src/archive/tar/common.go
// Set file permission bits. mode = fs.FileMode(fi.h.Mode).Perm() // Set setuid, setgid and sticky bits. if fi.h.Mode&c_ISUID != 0 { mode |= fs.ModeSetuid } if fi.h.Mode&c_ISGID != 0 { mode |= fs.ModeSetgid } if fi.h.Mode&c_ISVTX != 0 { mode |= fs.ModeSticky } // Set file mode bits; clear perm, setuid, setgid, and sticky bits. switch m := fs.FileMode(fi.h.Mode) &^ 07777; m { case c_ISDIR:
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Oct 07 19:46:36 GMT 2025 - 24.5K bytes - Click Count (0) -
tests/joins_test.go
} func TestJoinsWithSelect(t *testing.T) { type result struct { ID uint PetID uint Name string } user := *GetUser("joins_with_select", Config{Pets: 2}) DB.Save(&user) var results []result DB.Table("users").Select("users.id, pets.id as pet_id, pets.name").Joins("left join pets on pets.user_id = users.id").Where("users.name = ?", "joins_with_select").Scan(&results)
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Sun May 25 07:40:40 GMT 2025 - 15K bytes - Click Count (0) -
src/test/java/jcifs/internal/NotifyResponseTest.java
public void setResponse(CommonServerMessageBlockResponse msg) { this.response = msg; } @Override public long getMid() { return this.mid; } @Override public void setMid(long mid) { this.mid = mid; } @Override public int getCommand() { return this.command; }
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 21.2K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SID.java
} /** * Gets the RID (relative identifier) of this SID. * * @return the RID */ public int getRid() { if (getType() == SID_TYPE_DOMAIN) { throw new IllegalArgumentException("This SID is a domain sid"); } return sub_authority[sub_authority_count - 1]; } /**Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 31.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java
assertNotNull(trans2SetFileInfo); // Configuration is accessed during initialization // Verify at least that getPid() and getTransactionBufferSize() were called } @DisplayName("Test FileInformation encode returning different sizes") @ParameterizedTest @ValueSource(ints = { 0, 1, 10, 100, 1000 })Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java
when(fh.acquire()).thenReturn(fh); lenient().when(fh.isValid()).thenReturn(true); lenient().when(fh.getTree()).thenReturn(tree); when(fh.getFid()).thenReturn(99); // Mock send to just echo the provided response instance when(tree.send(any(TransTransactNamedPipe.class), any(TransTransactNamedPipeResponse.class), eq(RequestParam.NO_RETRY)))
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 16.7K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbRandomAccessFileTest.java
when(fh.acquire()).thenReturn(fh); when(fh.isValid()).thenReturn(true); when(fh.getTree()).thenReturn(tree); when(fh.getFileId()).thenReturn(new byte[16]); when(fh.getFid()).thenReturn(1); // build via package-private constructor to control unshared flag return new SmbRandomAccessFile(file, mode, SmbConstants.DEFAULT_SHARING, unshared); } @Test
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java
// ignore } /** * {@inheritDoc} * * @see jcifs.internal.CommonServerMessageBlock#setUid(int) */ @Override public void setUid(final int uid) { // ignore } /** * Gets the flags for this message. * * @return the flags */ public final int getFlags() {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 24K bytes - Click Count (0)