Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 856 for Suffix (0.12 sec)

  1. internal/event/rules.go

    )
    
    // NewPattern - create new pattern for prefix/suffix.
    func NewPattern(prefix, suffix string) (pattern string) {
    	if prefix != "" {
    		if !strings.HasSuffix(prefix, "*") {
    			prefix += "*"
    		}
    
    		pattern = prefix
    	}
    
    	if suffix != "" {
    		if !strings.HasPrefix(suffix, "*") {
    			suffix = "*" + suffix
    		}
    
    		pattern += suffix
    	}
    
    	pattern = strings.ReplaceAll(pattern, "**", "*")
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/mod/modfile/read.go

    			continue
    		}
    		xcom := x.Comment()
    		for len(suffix) > 0 && end.Byte <= suffix[len(suffix)-1].Start.Byte {
    			if debug {
    				fmt.Fprintf(os.Stderr, "ASSIGN SUFFIX %q #%d\n", suffix[len(suffix)-1].Token, suffix[len(suffix)-1].Start.Byte)
    			}
    			xcom.Suffix = append(xcom.Suffix, suffix[len(suffix)-1])
    			suffix = suffix[:len(suffix)-1]
    		}
    	}
    
    	// We assigned suffix comments in reverse.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  3. platforms/jvm/language-java/src/testFixtures/groovy/org/gradle/language/fixtures/HelperProcessorFixture.groovy

        String resourceLocation = StandardLocation.CLASS_OUTPUT.toString()
        private String suffix = ""
    
        HelperProcessorFixture() {
            super("Helper")
            declaredType = IncrementalAnnotationProcessorType.DYNAMIC
        }
    
        void setSuffix(String suffix) {
            this.suffix = suffix ? " " + suffix : ""
        }
    
        def writeSupportLibraryTo(TestFile projectDir) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  4. pilot/pkg/config/kube/gateway/testdata/http.yaml.golden

        route:
        - destination:
            host: httpbin.default.svc.domain.suffix
            port:
              number: 80
      - mirrors:
        - destination:
            host: httpbin-mirror.default.svc.domain.suffix
            port:
              number: 80
        - destination:
            host: httpbin-second.default.svc.domain.suffix
            port:
              number: 80
        name: default.mirror.0
        route:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Dec 11 20:21:53 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  5. src/cmd/internal/bootstrap_test/overlaydir_test.go

    		}
    		if filepath.Base(srcPath) == "testdata" {
    			// We're just building, so no need to copy those.
    			return fs.SkipDir
    		}
    
    		suffix := strings.TrimPrefix(srcPath, srcRoot)
    		for len(suffix) > 0 && suffix[0] == filepath.Separator {
    			suffix = suffix[1:]
    		}
    		dstPath := filepath.Join(dstRoot, suffix)
    
    		info, err := entry.Info()
    		perm := info.Mode() & os.ModePerm
    		if info.Mode()&os.ModeSymlink != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:35:05 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  6. cmd/kubeadm/test/resources/pods.go

    // given suffix
    func (p *FakeStaticPod) Pod(suffix string) *v1.Pod {
    	pod := staticpodutil.ComponentPod(
    		v1.Container{
    			Name:  p.Component,
    			Image: fmt.Sprintf("%s-image:tag", p.Component),
    		},
    		map[string]v1.Volume{},
    		p.Annotations,
    	)
    	if len(suffix) > 0 {
    		pod.ObjectMeta.Name = fmt.Sprintf("%s-%s-%s", p.Component, p.NodeName, suffix)
    	} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 17 14:40:46 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  7. pilot/pkg/config/kube/gateway/testdata/route-binding.yaml.golden

      - '*'
      http:
      - name: default.bind-all.0
        route:
        - destination:
            host: httpbin.default.svc.domain.suffix
            port:
              number: 85
      - name: istio-system.same-namespace-valid.0
        route:
        - destination:
            host: httpbin.istio-system.svc.domain.suffix
            port:
              number: 81
    ---
    apiVersion: networking.istio.io/v1alpha3
    kind: VirtualService
    metadata:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Dec 11 20:21:53 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/asmdecl/asmdecl.go

    			cc = append(cc, newComponent(suffix+"_"+w1, 4, "half "+s, off, 4, suffix))
    			cc = append(cc, newComponent(suffix+"_"+w2, 4, "half "+s, off+4, 4, suffix))
    		}
    
    	case asmEmptyInterface:
    		cc = append(cc, newComponent(suffix+"_type", asmKind(arch.ptrSize), "interface type", off, arch.ptrSize, suffix))
    		cc = append(cc, newComponent(suffix+"_data", asmKind(arch.ptrSize), "interface data", off+arch.ptrSize, arch.ptrSize, suffix))
    
    	case asmInterface:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  9. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/AbstractJavaGroovyIncrementalCompilationSupport.groovy

        }
    
        File sourceWithFileSuffix(String suffix, String... classBodies) {
            return sourceForLanguageWithSuffixForProject(language, suffix, "", classBodies)
        }
    
        File sourceWithFileSuffixForProject(String suffix, String project, String... classBodies) {
            return sourceForLanguageWithSuffixForProject(language, suffix, project, classBodies)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  10. src/os/tempfile.go

    			return nil, &PathError{Op: "createtemp", Path: prefix + "*" + suffix, Err: ErrExist}
    		}
    		return f, err
    	}
    }
    
    var errPatternHasSeparator = errors.New("pattern contains path separator")
    
    // prefixAndSuffix splits pattern by the last wildcard "*", if applicable,
    // returning prefix as the part before "*" and suffix as the part after "*".
    func prefixAndSuffix(pattern string) (prefix, suffix string, err error) {
    	for i := 0; i < len(pattern); i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 18:04:39 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top