Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 127 for regular (0.26 sec)

  1. src/os/exec_unix.go

    	pidReleased = -1
    )
    
    func (p *Process) wait() (ps *ProcessState, err error) {
    	// Which type of Process do we have?
    	switch p.mode {
    	case modeHandle:
    		// pidfd
    		return p.pidfdWait()
    	case modePID:
    		// Regular PID
    		return p.pidWait()
    	default:
    		panic("unreachable")
    	}
    }
    
    func (p *Process) pidWait() (*ProcessState, error) {
    	// TODO(go.dev/issue/67642): When there are concurrent Wait calls, one
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. src/internal/poll/copy_file_range_linux.go

    })
    
    const maxCopyFileRangeRound = 1 << 30
    
    // CopyFileRange copies at most remain bytes of data from src to dst, using
    // the copy_file_range system call. dst and src must refer to regular files.
    func CopyFileRange(dst, src *FD, remain int64) (written int64, handled bool, err error) {
    	if !isKernelVersionGE53() {
    		return 0, false, nil
    	}
    
    	for remain > 0 {
    		max := remain
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 17:40:10 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. src/os/types.go

    	ModeCharDevice = fs.ModeCharDevice // c: Unix character device, when ModeDevice is set
    	ModeSticky     = fs.ModeSticky     // t: sticky
    	ModeIrregular  = fs.ModeIrregular  // ?: non-regular file; nothing else is known about this file
    
    	// Mask for the type bits. For regular files, none will be set.
    	ModeType = fs.ModeType
    
    	ModePerm = fs.ModePerm // Unix permission bits, 0o777
    )
    
    func (fs *fileStat) Name() string { return fs.name }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 20:52:06 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. src/io/fs/fs.go

    // That is, it tests for the [ModeDir] bit being set in m.
    func (m FileMode) IsDir() bool {
    	return m&ModeDir != 0
    }
    
    // IsRegular reports whether m describes a regular file.
    // That is, it tests that no mode type bits are set.
    func (m FileMode) IsRegular() bool {
    	return m&ModeType == 0
    }
    
    // Perm returns the Unix permission bits in m (m & [ModePerm]).
    func (m FileMode) Perm() FileMode {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 15 21:21:41 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  5. platforms/software/resources/src/main/java/org/gradle/internal/resource/local/FileResourceListener.java

    import org.gradle.internal.service.scopes.Scope;
    
    import java.io.File;
    
    @EventScope(Scope.Build.class)
    public interface FileResourceListener {
        /**
         * Called when a file system resource is accessed as a regular file.
         */
        void fileObserved(File file);
    
        /**
         * Called when the children of a file system resource are listed.
         */
        void directoryChildrenObserved(File file);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  6. src/crypto/rand/rand_darwin.go

    func init() {
    	// arc4random_buf is the recommended application CSPRNG, accepts buffers of
    	// any size, and never returns an error.
    	//
    	// "The subsystem is re-seeded from the kernel random number subsystem on a
    	// regular basis, and also upon fork(2)." - arc4random(3)
    	//
    	// Note that despite its legacy name, it uses a secure CSPRNG (not RC4) in
    	// all supported macOS versions.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 20:02:21 UTC 2024
    - 667 bytes
    - Viewed (0)
  7. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/FileSystemLocationSnapshot.java

    import java.util.Optional;
    
    /**
     * A snapshot of a single location on the file system.
     *
     * We know everything about this snapshot, including children and Merkle hash.
     *
     * The snapshot can be a snapshot of a regular file or of a whole directory tree.
     * The file at the location is not required to exist (see {@link MissingFileSnapshot}).
     */
    public interface FileSystemLocationSnapshot extends FileSystemSnapshot, FileSystemNode, MetadataSnapshot {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 18 15:09:45 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. pkg/util/filesystem/util_test.go

    			listenOnSocket: true,
    			expectSocket:   true,
    			expectError:    false,
    		},
    		{
    			label:       "Non Existent file",
    			invalidFile: true,
    			expectError: true,
    		},
    		{
    			label:          "Regular file",
    			listenOnSocket: false,
    			expectSocket:   false,
    			expectError:    false,
    		},
    	}
    	for _, test := range tests {
    		f, err := os.CreateTemp("", "test-domain-socket")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 10 17:13:59 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. platforms/core-runtime/stdlib-java-extensions/src/main/java/org/gradle/internal/service/scopes/Scope.java

         */
        interface UserHome extends Global {}
    
        /**
         * These services are reused across build sessions.
         * <p>
         * Generally, one regular Gradle invocation is conceptually a session.
         * However, the GradleBuild task is currently implemented in such a way that it uses a discrete session.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/UnsupportedWithConfigurationCache.java

    @ExtensionAnnotation(UnsupportedWithConfigurationCacheExtension.class)
    public @interface UnsupportedWithConfigurationCache {
    
        String because() default "";
    
        String[] bottomSpecs() default {};
    
        /**
         * Declare regular expressions matching the iteration name.
         * Defaults to an empty array, meaning this annotation applies to all iterations of the annotated feature.
         */
        String[] iterationMatchers() default {};
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top