Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,905 for pathsOf (0.31 sec)

  1. src/cmd/vendor/golang.org/x/tools/go/types/objectpath/objectpath.go

    func Object(pkg *types.Package, p Path) (types.Object, error) {
    	pathstr := string(p)
    	if pathstr == "" {
    		return nil, fmt.Errorf("empty path")
    	}
    
    	var pkgobj, suffix string
    	if dot := strings.IndexByte(pathstr, opType); dot < 0 {
    		pkgobj = pathstr
    	} else {
    		pkgobj = pathstr[:dot]
    		suffix = pathstr[dot:] // suffix starts with "."
    	}
    
    	obj := pkg.Scope().Lookup(pkgobj)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  2. subprojects/diagnostics/src/test/groovy/org/gradle/api/tasks/diagnostics/internal/SingleProjectTaskReportModelTest.groovy

            then:
            model.groups == ['group', ''] as Set
            def tasks = model.getTasksForGroup('') as List
            tasks*.path == [pathOf(task1), pathOf(task3), pathOf(task4), pathOf(task5)]
            def t = tasks.first()
            t.path == pathOf(task1)
        }
    
        def addsAGroupWhenThereAreNoTasksWithAGroup() {
            def task1 = task('task1')
            def task2 = task('task2', task1)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 10 17:20:29 UTC 2020
    - 4K bytes
    - Viewed (0)
  3. pkg/kubelet/apis/config/helpers.go

    // passing the configuration to the application. This method must be kept up to date as new fields are added.
    func KubeletConfigurationPathRefs(kc *KubeletConfiguration) []*string {
    	paths := []*string{}
    	paths = append(paths, &kc.StaticPodPath)
    	paths = append(paths, &kc.Authentication.X509.ClientCAFile)
    	paths = append(paths, &kc.TLSCertFile)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 17:55:59 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/build_trimpath.txt

    env GO111MODULE=on
    mkdir $WORK/a/src/paths $WORK/b/src/paths
    cp paths.go $WORK/a/src/paths
    cp paths.go $WORK/b/src/paths
    cp overlay.json $WORK/a/src/paths
    cp overlay.json $WORK/b/src/paths
    cp go.mod $WORK/a/src/paths/
    cp go.mod $WORK/b/src/paths/
    
    
    # A binary built without -trimpath should contain the module root dir
    # and GOROOT for debugging and stack traces.
    cd $WORK/a/src/paths
    go build -o $WORK/paths-dbg.exe .
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/openapi/builder/merge.go

    		for k, s := range staticSpec.Parameters {
    			specToReturn.Parameters[k] = s
    		}
    	}
    	if staticSpec.Paths != nil {
    		specToReturn.Paths = &spec.Paths{
    			Paths: make(map[string]spec.PathItem, len(staticSpec.Paths.Paths)),
    		}
    		for k, p := range staticSpec.Paths.Paths {
    			specToReturn.Paths.Paths[k] = p
    		}
    	}
    
    	crdSpec := &spec.Swagger{}
    	for _, s := range crdSpecs {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jul 16 14:08:01 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  6. pilot/cmd/pilot-agent/options/security_test.go

    	tests := []struct {
    		name     string
    		paths    []string
    		expected bool
    	}{
    		{
    			name: "non-existing cert paths",
    			paths: []string{
    				"/this-is-a-nonexisting-path-1", "/this-is-a-nonexisting-path-2",
    				"/this-is-a-nonexisting-path-3",
    			},
    			expected: false,
    		},
    		{
    			name:     "existing cert paths",
    			paths:    []string{cert.Name(), cert.Name(), cert.Name()},
    			expected: true,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 31 18:31:36 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/openapi/builder/merge_test.go

    			specs: []*spec3.OpenAPI{{
    				Paths: &spec3.Paths{
    					Paths: map[string]*spec3.Path{
    						"/apis/stable.example.com/v1/crd1": {},
    					},
    				},
    				Components: &spec3.Components{
    					Schemas: map[string]*spec.Schema{
    						"io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta": {},
    					},
    				},
    			},
    			},
    			expected: &spec3.OpenAPI{
    				Paths: &spec3.Paths{
    					Paths: map[string]*spec3.Path{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 12 20:11:45 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  8. subprojects/core-api/src/main/java/org/gradle/api/file/ConfigurableFileCollection.java

         */
        void setFrom(Iterable<?> paths);
    
        /**
         * Sets the source paths for this collection. The given paths are evaluated as per {@link org.gradle.api.Project#files(Object...)}.
         *
         * @param paths The paths.
         */
        void setFrom(Object... paths);
    
        /**
         * Specifies the value to use as the convention (default value) to be used when resolving this file collection,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 16:06:55 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. src/go/internal/gccgoimporter/gccgoinstallation.go

    		if err != nil || !fi.IsDir() {
    			continue
    		}
    		paths = append(paths, spath)
    	}
    
    	paths = append(paths, inst.LibPaths...)
    
    	return
    }
    
    // Return an importer that searches incpaths followed by the gcc installation's
    // built-in search paths and the current directory.
    func (inst *GccgoInstallation) GetImporter(incpaths []string, initmap map[*types.Package]InitData) Importer {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 17:49:12 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  10. tests/integration/security/testdata/authz/conditions.yaml.tmpl

      rules:
      - to:
        - operation:
            paths: [ "/destination-ip-good" ]
        when:
        - key: destination.ip
          values: {{ .To.MustWorkloads.Addresses | toJson }}
      - to:
        - operation:
            paths: [ "/destination-ip-bad" ]
        when:
        - key: destination.ip
          values: [ "1.2.3.4" ]
      - to:
          - operation:
              paths: [ "/destination-ip-notValues" ]
        when:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 08 07:03:01 UTC 2023
    - 4K bytes
    - Viewed (0)
Back to top