Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,905 for pathsOf (0.18 sec)

  1. staging/src/k8s.io/apiserver/pkg/authorization/path/path.go

    )
    
    // NewAuthorizer returns an authorizer which accepts a given set of paths.
    // Each path is either a fully matching path or it ends in * in case a prefix match is done. A leading / is optional.
    func NewAuthorizer(alwaysAllowPaths []string) (authorizer.Authorizer, error) {
    	var prefixes []string
    	paths := sets.NewString()
    	for _, p := range alwaysAllowPaths {
    		p = strings.TrimPrefix(p, "/")
    		if len(p) == 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 09 13:47:19 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/internal/resolve/ModuleVersionResolveException.java

        }
    
        /**
         * Creates a copy of this exception, with the given incoming paths.
         */
        public ModuleVersionResolveException withIncomingPaths(Collection<? extends List<? extends ComponentIdentifier>> paths) {
            ModuleVersionResolveException copy = createCopy();
            copy.paths.addAll(paths);
            copy.initCauses(getCauses());
            copy.setStackTrace(getStackTrace());
            return copy;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 19:29:09 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. src/cmd/go/internal/base/path.go

    		return rel
    	}
    	return path
    }
    
    // RelPaths returns a copy of paths with absolute paths
    // made relative to the current directory if they would be shorter.
    func RelPaths(paths []string) []string {
    	var out []string
    	for _, p := range paths {
    		rel, err := filepath.Rel(Cwd(), p)
    		if err == nil && len(rel) < len(p) {
    			p = rel
    		}
    		out = append(out, p)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 20 19:17:27 UTC 2023
    - 2K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/mod_vendor_replace.txt

    stdout '.*[/\\]not-rsc.io[/\\]quote[/\\]v3'
    
    # The same module can't be used as two different paths.
    cd multiple-paths
    ! go mod vendor
    stderr 'rsc.io/quote/v3@v3.0.0 used for two different module paths \(not-rsc.io/quote/v3 and rsc.io/quote/v3\)'
    
    -- go.mod --
    module example.com/replace
    
    require rsc.io/quote/v3 v3.0.0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 09 19:40:02 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/componentconfigs/kubelet_windows.go

    	// users that rely on relative paths:
    	//   https://github.com/kubernetes/kubernetes/pull/77710#issuecomment-491989621
    	//
    	// Thus, a workaround here is to adapt the KubeletConfiguration paths for Windows.
    	// Note this is currently bound to KubeletConfiguration v1beta1.
    	klog.V(2).Infoln("[componentconfig] Adapting the paths in the KubeletConfiguration for Windows...")
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 25 10:26:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/files/file/kotlin/build.gradle.kts

    import java.nio.file.Paths
    
    // tag::simple-params[]
    // Using a relative path
    var configFile = file("src/config.xml")
    
    // Using an absolute path
    configFile = file(configFile.absolutePath)
    
    // Using a File object with a relative path
    configFile = file(File("src/config.xml"))
    
    // Using a java.nio.file.Path object with a relative path
    configFile = file(Paths.get("src", "config.xml"))
    
    // Using an absolute java.nio.file.Path object
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 546 bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/api/internal/tasks/DefaultTaskOutputs.java

                return registration;
            });
        }
    
        @Nullable
        private static Object resolveSingleArray(@Nullable Object[] paths) {
            return (paths != null && paths.length == 1) ? paths[0] : paths;
        }
    
        @Override
        public void setPreviousOutputFiles(FileCollection previousOutputFiles) {
            this.previousOutputFiles = previousOutputFiles;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 04 09:46:14 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  8. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/msvcpp/ArchitectureSpecificVisualCpp.java

        private final VersionNumber version;
        private final List<File> paths;
        private final File binDir;
        private final File libDir;
        private final File includeDir;
        private final String assemblerFilename;
        private final Map<String, String> definitions;
        private final File compilerPath;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3K bytes
    - Viewed (0)
  9. cmd/namespace-lock.go

    			GetLockers: lockers,
    			Timeouts:   dsync.DefaultTimeouts,
    		}, pathsJoinPrefix(volume, paths...)...)
    		return &distLockInstance{drwmutex, opsID}
    	}
    	sort.Strings(paths)
    	return &localLockInstance{n, volume, paths, opsID}
    }
    
    // Lock - block until write lock is taken or timeout has occurred.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 05 23:56:35 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/structured_output.py

      # Check index paths for results.
      #
      # CHECK:      func {{@[a-zA-Z_0-9]+}}() -> (
      # CHECK-SAME:   tensor<1xf32> {tf_saved_model.index_path = []})
      # CHECK-SAME: attributes {{.*}} tf_saved_model.exported_names = ["f0000_single_return"]
      @tf.function(input_signature=[])
      def f0000_single_return(self):
        return tf.constant(1.0, shape=[1])
    
      # Check index paths for results with multiple return values.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 28 21:37:05 UTC 2021
    - 5.4K bytes
    - Viewed (0)
Back to top