Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 101 for Getpid (0.06 sec)

  1. 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)
  2. src/test/java/jcifs/smb/SmbWatchHandleImplTest.java

            when(tree.isSMB2()).thenReturn(false);
            when(tree.getConfig()).thenReturn(mock(Configuration.class));
            when(tree.hasCapability(SmbConstants.CAP_NT_SMBS)).thenReturn(true);
            when(handle.getFid()).thenReturn(fid);
            when(tree.send(any(CommonServerMessageBlockRequest.class), any(), any(), any())).thenReturn(resp);
        }
    
        // Ensures watch() fails fast if the underlying handle is invalid
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java

                testRequest.setRequestCredits(credits);
                assertEquals(credits, testRequest.getCredit());
            }
    
            @Test
            @DisplayName("setTid should set tree ID")
            void testSetTid() {
                int tid = 12345;
                testRequest.setTid(tid);
                assertEquals(tid, testRequest.getTreeId());
            }
        }
    
        @Nested
        @DisplayName("Async Operation Tests")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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;
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  9. 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)))
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  10. api/go1.txt

    pkg os, func Getegid() int
    pkg os, func Getenv(string) string
    pkg os, func Geteuid() int
    pkg os, func Getgid() int
    pkg os, func Getgroups() ([]int, error)
    pkg os, func Getpagesize() int
    pkg os, func Getpid() int
    pkg os, func Getppid() int
    pkg os, func Getuid() int
    pkg os, func Getwd() (string, error)
    pkg os, func Hostname() (string, error)
    pkg os, func IsExist(error) bool
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top