- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 111 for Setuid (1.76 sec)
-
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; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.4K bytes - Viewed (1) -
src/main/java/jcifs/ACE.java
*/ int FLAGS_INHERITED = 0x10; /** * Return the SID associated with this ACE. * * @return ACE target SID */ SID getSID(); /** * Returns the access mask associated with this ACE. Use the * constants for <code>FILE_READ_DATA</code>, <code>FILE_WRITE_DATA</code>,
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/smb/SmbCopyUtil.java
} else if (dh.hasCapability(SmbConstants.CAP_NT_SMBS)) { // use the open file descriptor dh.send(new Trans2SetFileInformation(dh.getConfig(), dfd.getFid(), attrs, ctime, mtime, atime), new Trans2SetFileInformationResponse(dh.getConfig())); } else {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 16.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/ACE.java
*/ public int getAccessMask() { return access; } /** * Return the SID associated with this ACE. * @return the SID for this ACE */ public SID getSID() { return sid; } int decode(final byte[] buf, int bi) { allow = buf[bi] == (byte) 0x00; bi++; flags = buf[bi++] & 0xFF;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.8K bytes - Viewed (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)
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Sun May 25 07:40:40 UTC 2025 - 15K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeHandleImplTest.java
// Setup tree with configuration when(tree.getConfig()).thenReturn(config); when(tree.getSendBufferSize()).thenReturn(65536); when(config.getPid()).thenReturn(12345); when(config.getSendBufferSize()).thenReturn(65536); target = new SmbPipeHandleImpl(pipe); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileTest.java
private URL url; private SmbFile smbFile; @BeforeEach public void setUp() throws MalformedURLException, CIFSException { // Mock configuration methods when(mockConfig.getPid()).thenReturn(1234); when(mockCifsContext.getConfig()).thenReturn(mockConfig); // Mock credentials to prevent NPE when(mockCredentials.getUserDomain()).thenReturn("DOMAIN");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.8K bytes - Viewed (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]; } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 31.5K bytes - Viewed (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 })
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.8K bytes - Viewed (0) -
misc/go_android_exec/main.go
// Binary names can conflict. // E.g. template.test from the {html,text}/template packages. binName := filepath.Base(os.Args[1]) deviceGotmp := fmt.Sprintf(deviceRoot+"/%s-%d", binName, os.Getpid()) deviceGopath := deviceGotmp + "/gopath" defer adb("exec-out", "rm", "-rf", deviceGotmp) // Clean up. // Determine the package by examining the current working // directory, which will look something like
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Aug 21 17:46:57 UTC 2023 - 15.3K bytes - Viewed (0)