Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 106 for geteuid (0.06 seconds)

  1. 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)
  2. api/go1.txt

    pkg os, func FindProcess(int) (*Process, error)
    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)
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Click Count (0)
  3. 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");
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.8K bytes
    - Click Count (0)
  4. 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)
  5. api/go1.2.txt

    pkg syscall (freebsd-386-cgo), func SetKevent(*Kevent_t, int, int, int)
    pkg syscall (freebsd-386-cgo), func SetNonblock(int, bool) error
    pkg syscall (freebsd-386-cgo), func Setegid(int) error
    pkg syscall (freebsd-386-cgo), func Seteuid(int) error
    pkg syscall (freebsd-386-cgo), func Setgid(int) error
    pkg syscall (freebsd-386-cgo), func Setgroups([]int) error
    pkg syscall (freebsd-386-cgo), func Setlogin(string) error
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Oct 18 04:36:59 GMT 2013
    - 1.9M bytes
    - Click Count (1)
  6. 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)
  7. 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
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Click Count (0)
  8. src/main/java/jcifs/Configuration.java

         */
        TimeZone getLocalTimezone();
    
        /**
         * Gets the process ID to use in SMB messages
         *
         * @return Process id to send, randomized if unset
         */
        int getPid();
    
        /**
         *
         * Property {@code jcifs.smb.client.maxMpxCount} (int, default 10)
         *
         * @return maximum count of concurrent commands to announce
         */
        int getMaxMpxCount();
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 25.4K bytes
    - Click Count (0)
  9. src/archive/tar/tar_test.go

    			Typeflag: TypeFifo,
    		},
    		fm: 0600 | fs.ModeNamedPipe,
    	}, {
    		// setuid.
    		h: &Header{
    			Name:     "bin/su",
    			Mode:     0755 | c_ISUID,
    			Size:     23232,
    			ModTime:  time.Unix(1355405093, 0),
    			Typeflag: TypeReg,
    		},
    		fm: 0755 | fs.ModeSetuid,
    	}, {
    		// setguid.
    		h: &Header{
    			Name:     "group.txt",
    			Mode:     0750 | c_ISGID,
    			Size:     0,
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Jul 25 00:25:45 GMT 2024
    - 23.9K bytes
    - Click Count (0)
  10. impl/maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

            assertEquals(4, executions.size());
            assertEquals("default-resources", executions.get(0).getId());
            assertEquals("default-testResources", executions.get(1).getId());
            assertEquals("test-1", executions.get(2).getId());
            assertEquals("test-2", executions.get(3).getId());
        }
    
        @Test
        void testPluginDeclarationsRetainPomOrderAfterInjectionOfDefaultPlugins() throws Exception {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 94.8K bytes
    - Click Count (0)
Back to Top