Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 829 for regular (0.13 sec)

  1. 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)
  2. 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)
  3. 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)
  4. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/DefaultFilePropertyFactoryTest.groovy

            dirVar.set((File) null)
            !dirVar.present
            dirVar.getOrNull() == null
            !fileProvider.present
            fileProvider.getOrNull() == null
        }
    
        def "can create regular file property"() {
            def pathProvider = Stub(ProviderInternal)
            _ * pathProvider.get() >> { "../some-file" }
            _ * pathProvider.present >> true
            def otherFile = tmpDir.file("some-file")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  5. src/cmd/vendor/github.com/google/pprof/profile/filter.go

    			}
    		}
    		for lab := range s.NumLabel {
    			if matchRemove(lab) {
    				delete(s.NumLabel, lab)
    			}
    		}
    	}
    	return
    }
    
    // matchesName returns whether the location matches the regular
    // expression. It checks any available function names, file names, and
    // mapping object filename.
    func (loc *Location) matchesName(re *regexp.Regexp) bool {
    	for _, ln := range loc.Line {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 18:58:12 UTC 2022
    - 7.5K bytes
    - Viewed (0)
  6. platforms/core-runtime/functional/src/main/java/org/gradle/internal/io/IoRunnable.java

     */
    @FunctionalInterface
    public interface IoRunnable {
        void run() throws IOException;
    
        /**
         * Wraps an {@link IOException}-throwing {@link IoRunnable} into a regular {@link Runnable}.
         *
         * Any {@code IOException}s are rethrown as {@link UncheckedIOException}.
         */
        static Runnable wrap(IoRunnable runnable) {
            return () -> {
                try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:33 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  7. 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)
  8. pkg/apis/core/pods/helpers_test.go

    		description string
    		path        *field.Path
    		haveSpec    *api.PodSpec
    		wantNames   []string
    	}{
    		{
    			"empty podspec",
    			field.NewPath("spec"),
    			&api.PodSpec{},
    			[]string{},
    		},
    		{
    			"regular containers",
    			field.NewPath("spec"),
    			&api.PodSpec{
    				Containers: []api.Container{
    					{Name: "c1"},
    					{Name: "c2"},
    				},
    			},
    			[]string{"spec.containers[0]", "spec.containers[1]"},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 14 01:35:30 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  9. src/os/types_windows.go

    			// raw device files on Linux, POSIX FIFO special files, and so on), so
    			// to avoid files changing unpredictably from regular to irregular we will
    			// consider DEDUP files to be close enough to regular to treat as such.
    		default:
    			m |= ModeIrregular
    		}
    	}
    	return
    }
    
    // modePreGo1_23 returns the FileMode for the fileStat, using the pre-Go 1.23
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:44:48 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  10. operator/pkg/validate/common.go

    	if err == nil {
    		msg += ": OK\n"
    	} else {
    		msg += fmt.Sprintf(": %v\n", err)
    	}
    	scope.Debug(msg)
    }
    
    // match compiles the string to a regular expression.
    var match = regexp.MustCompile
    
    // literal compiles s into a literal regular expression, escaping any regexp
    // reserved characters.
    func literal(s string) *regexp.Regexp {
    	re := match(regexp.QuoteMeta(s))
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Aug 10 15:35:03 UTC 2023
    - 11K bytes
    - Viewed (0)
Back to top