Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 792 for regular (0.25 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  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. 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)
  7. 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)
  8. 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)
  9. 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)
  10. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/plugins/PluginBuildsIntegrationTest.groovy

                    id("${pluginBuild.projectPluginId}") version "2.0"
                }
            """
    
            then:
            succeeds()
            pluginBuild.assertProjectPluginApplied()
        }
    
        def "regular included build can not contribute settings plugins"() {
            given:
            def pluginBuild = pluginBuild("build-logic")
            settingsFile << """
                plugins {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 06 08:15:28 UTC 2023
    - 18.4K bytes
    - Viewed (0)
Back to top