Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of about 10,000 for String2 (0.17 sec)

  1. platforms/software/ivy/src/main/java/org/gradle/api/publish/ivy/internal/artifact/AbstractIvyArtifact.java

        @Override
        public void setType(String type) {
            this.type = Strings.nullToEmpty(type);
        }
    
        @Override
        public String getExtension() {
            return extension != null ? extension : getDefaultExtension();
        }
    
        protected abstract String getDefaultExtension();
    
        @Override
        public void setExtension(String extension) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

      }
    
      public void testSubSetExclusiveExclusive() {
        String[] strings = NUMBER_NAMES.toArray(new String[0]);
        ImmutableSortedSet<String> set = ImmutableSortedSet.copyOf(strings);
        Arrays.sort(strings);
        for (int i = 0; i < strings.length; i++) {
          for (int j = i; j < strings.length; j++) {
            assertThat(set.subSet(strings[i], false, strings[j], false))
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 45.1K bytes
    - Viewed (0)
  3. tools/bug-report/pkg/config/config.go

    	}
    	return out
    }
    
    func parseToIncludeTypeSlice(s string) []string {
    	if strings.TrimSpace(s) == "*" || s == "" {
    		return nil
    	}
    	return strings.Split(s, ",")
    }
    
    func parseToIncludeTypeMap(s string) (map[string]string, error) {
    	if strings.TrimSpace(s) == "*" {
    		return nil, nil
    	}
    	out := make(map[string]string)
    	for _, ss := range strings.Split(s, ",") {
    		if len(ss) == 0 {
    			continue
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Nov 04 12:07:50 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  4. src/cmd/internal/pkgpattern/pkgpattern.go

    			re = `(/vendor|/` + vendorChar + `/\.\.\.)`
    		}
    	}
    	if strings.HasSuffix(re, `/\.\.\.`) {
    		re = strings.TrimSuffix(re, `/\.\.\.`) + `(/\.\.\.)?`
    	}
    	re = strings.ReplaceAll(re, `\.\.\.`, wild)
    
    	reg := regexp.MustCompile(`^` + re + `$`)
    
    	return func(name string) bool {
    		if vendorExclude {
    			if strings.Contains(name, vendorChar) {
    				return false
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 27 16:43:40 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-groovy/src/integTest/groovy/org/gradle/model/dsl/ModelDslIntegrationTest.groovy

                    @Model
                    List<String> strings() {
                      []
                    }
                }
    
                apply type: MyPlugin
    
                model {
                  tasks {
                    create("assertDuplicateInputIsSameObject") {
                      doLast {
                        assert $("strings").is($("strings"))
                        def s = $.strings
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  6. src/cmd/internal/objabi/flag.go

    func expandArgs(in []string) (out []string) {
    	// out is nil until we see a "@" argument.
    	for i, s := range in {
    		if strings.HasPrefix(s, "@") {
    			if out == nil {
    				out = make([]string, 0, len(in)*2)
    				out = append(out, in[:i]...)
    			}
    			slurp, err := os.ReadFile(s[1:])
    			if err != nil {
    				log.Fatal(err)
    			}
    			args := strings.Split(strings.TrimSpace(strings.Replace(string(slurp), "\r", "", -1)), "\n")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 10 23:08:09 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  7. src/cmd/dist/buildgo.go

    	var buf strings.Builder
    
    	fmt.Fprintf(&buf, "func %s(goos, goarch string) string {\n", name)
    	fmt.Fprintf(&buf, "\tswitch goos+`/`+goarch {\n")
    	var keys []string
    	for k := range defaultcc {
    		if k != "" {
    			keys = append(keys, k)
    		}
    	}
    	sort.Strings(keys)
    	for _, k := range keys {
    		fmt.Fprintf(&buf, "\tcase %s:\n\t\treturn %s\n", quote(k), quote(defaultcc[k]))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 13 20:44:00 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  8. operator/pkg/compare/compare.go

    			hash[i] = ".*"
    		}
    	}
    	return regexp.Compile(strings.Join(hash, ":"))
    }
    
    // manifestDiff an internal function to compare the manifests difference specified in the input.
    func manifestDiff(aom, bom map[string]*object.K8sObject, im map[string]string, verbose bool) (string, error) {
    	var sb strings.Builder
    	out := make(map[string]string)
    	for ak, av := range aom {
    		ay, err := av.YAML()
    		if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 15 01:29:35 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. src/mime/encodedword.go

    	}
    	return buf.String(), nil
    }
    
    // DecodeHeader decodes all encoded-words of the given string. It returns an
    // error if and only if WordDecoder.CharsetReader of d returns an error.
    func (d *WordDecoder) DecodeHeader(header string) (string, error) {
    	// If there is no encoded-word, returns before creating a buffer.
    	i := strings.Index(header, "=?")
    	if i == -1 {
    		return header, nil
    	}
    
    	var buf strings.Builder
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 16:12:35 UTC 2024
    - 10K bytes
    - Viewed (0)
  10. utils/utils.go

    // NestedRelationName nested relationships like `Manager__Company`
    func NestedRelationName(prefix, name string) string {
    	return prefix + nestedRelationSplit + name
    }
    
    // SplitNestedRelationName Split nested relationships to `[]string{"Manager","Company"}`
    func SplitNestedRelationName(name string) []string {
    	return strings.Split(name, nestedRelationSplit)
    }
    
    // JoinNestedRelationNames nested relationships like `Manager__Company`
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Apr 22 06:43:02 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top