Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 840 for SUFFIX (0.13 sec)

  1. src/internal/stringslite/strings.go

    }
    
    func CutSuffix(s, suffix string) (before string, found bool) {
    	if !HasSuffix(s, suffix) {
    		return s, false
    	}
    	return s[:len(s)-len(suffix)], true
    }
    
    func TrimPrefix(s, prefix string) string {
    	if HasPrefix(s, prefix) {
    		return s[len(prefix):]
    	}
    	return s
    }
    
    func TrimSuffix(s, suffix string) string {
    	if HasSuffix(s, suffix) {
    		return s[:len(s)-len(suffix)]
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 01:23:42 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/arch/arm64/arm64asm/plan9x.go

    			op = "FMOVD" + suffix
    			args[0] = fmt.Sprintf("F%d", rno&31)
    		} else if rno >= uint16(Q0) && rno <= uint16(Q31) {
    			op = "FMOVQ" + suffix
    			args[0] = fmt.Sprintf("F%d", rno&31)
    		} else {
    			op = "MOVD" + suffix
    		}
    
    	case LDRB:
    		op = "MOVBU" + suffix
    
    	case LDRH:
    		op = "MOVHU" + suffix
    
    	case LDRSW:
    		op = "MOVW" + suffix
    
    	case LDRSB:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 16 22:24:28 UTC 2022
    - 17K bytes
    - Viewed (0)
  3. pilot/pkg/config/kube/gateway/testdata/weighted.yaml.golden

            host: foo-svc.default.svc.domain.suffix
            port:
              number: 8000
          headers:
            request:
              add:
                foo: bar
            response:
              add:
                response: header
      - match:
        - uri:
            prefix: /get
        name: default.http.0
        route:
        - destination:
            host: httpbin.default.svc.domain.suffix
            port:
              number: 80
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 18:54:10 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. pkg/kubelet/kuberuntime/legacy.go

    	}
    	containerIDWithSuffix := parts[len(parts)-1]
    	suffix := fmt.Sprintf(".%s", legacyLogSuffix)
    	if !strings.HasSuffix(containerIDWithSuffix, suffix) {
    		return "", fmt.Errorf("%q doesn't end with %q", logSymlink, suffix)
    	}
    	containerIDWithoutSuffix := strings.TrimSuffix(containerIDWithSuffix, suffix)
    	// container can be retrieved with container Id as short as 6 characters
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 08 16:05:48 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  5. platforms/extensibility/test-kit/src/testFixtures/groovy/org/gradle/testkit/runner/fixtures/PluginUnderTest.groovy

                import org.gradle.api.Project
    
                class HelloWorldPlugin$suffix implements Plugin<Project> {
                    void apply(Project project) {
                        project.task('helloWorld$suffix', type: HelloWorld$suffix)
                    }
                }
            """
    
            projectDir.file("src/main/groovy/org/gradle/test/HelloWorld${suffix}.groovy") << """
                package org.gradle.test
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  6. src/strings/search.go

    	// that the suffix pattern[i+1:] matches, but the byte pattern[i] does
    	// not. There are two cases to consider:
    	//
    	// 1. The matched suffix occurs elsewhere in pattern (with a different
    	// byte preceding it that we might possibly match). In this case, we can
    	// shift the matching frame to align with the next suffix chunk. For
    	// example, the pattern "mississi" has the suffix "issi" next occurring
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 18:49:51 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. pilot/pkg/security/authz/matcher/string_test.go

    				},
    			},
    		},
    		{
    			name:   "suffix-empty-prefix",
    			v:      "*-suffix",
    			prefix: "",
    			want: &matcher.StringMatcher{
    				MatchPattern: &matcher.StringMatcher_Suffix{
    					Suffix: "-suffix",
    				},
    			},
    		},
    		{
    			name:   "suffix",
    			v:      "*-suffix",
    			prefix: "abc",
    			want:   StringMatcherRegex("abc.*-suffix"),
    		},
    		{
    			name:   "exact",
    			v:      "-exact",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Aug 17 22:42:11 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/mod_get_go_file.txt

    # argument has .go suffix, is a file and exists
    ! go get test.go
    stderr 'go: test.go: arguments must be package or module paths'
    
    # argument has .go suffix, doesn't exist and has no slashes
    ! go get test_missing.go
    stderr 'arguments must be package or module paths'
    
    # argument has .go suffix, is a file and exists in sub-directory
    ! go get test/test.go
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:08 UTC 2021
    - 2.3K bytes
    - Viewed (0)
Back to top