Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 170 for SUFFIX (0.1 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. cluster/gce/manifests/etcd.manifest

                ],
        "env": [
          { "name": "TARGET_STORAGE",
            "value": "{{ pillar.get('storage_backend', 'etcd3') }}"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 03:36:35 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. cmd/endpoint-ellipses_test.go

    				[]ellipses.ArgPattern{
    					[]ellipses.Pattern{
    						{
    							Prefix: "",
    							Suffix: "",
    							Seq:    getSequences(1, 2, 0),
    						},
    						{
    							Prefix: "",
    							Suffix: "/test",
    							Seq:    getSequences(1, 64, 0),
    						},
    						{
    							Prefix: "http://minio",
    							Suffix: "/export/set",
    							Seq:    getSequences(2, 3, 0),
    						},
    					},
    				},
    				nil,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go

    	case DecimalExponent, DecimalSI:
    		number, exponent := q.AsCanonicalBytes(out)
    		suffix, _ := quantitySuffixer.constructBytes(10, exponent, format)
    		return number, suffix
    	default:
    		// format must be BinarySI
    		number, exponent := rounded.AsCanonicalBase1024Bytes(out)
    		suffix, _ := quantitySuffixer.constructBytes(2, exponent*10, format)
    		return number, suffix
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  5. src/net/http/cookiejar/jar.go

    			return true // The "/any" matches "/any/path" case.
    		}
    	}
    	return false
    }
    
    // hasDotSuffix reports whether s ends in "."+suffix.
    func hasDotSuffix(s, suffix string) bool {
    	return len(s) > len(suffix) && s[len(s)-len(suffix)-1] == '.' && s[len(s)-len(suffix):] == suffix
    }
    
    // Cookies implements the Cookies method of the [http.CookieJar] interface.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 15K bytes
    - Viewed (0)
  6. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/parsing/Parser.kt

        val codeSection = codeStatements.joinToString("") { "$it\n" }
    
        val prefix = "${packageSection}${importSection}class Script {init {"
        val suffix = "}}"
        val codeOffset = prefix.length
        return Triple("$prefix$codeSection$suffix", codeOffset, suffix.length)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 22:06:18 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/ProgressBar.java

            this.consoleMetaData = consoleMetaData;
            this.progressBarPrefix = progressBarPrefix;
            this.progressBarWidth = progressBarWidth;
            this.progressBarSuffix = progressBarSuffix;
            this.fillerChar = completeChar;
            this.incompleteChar = incompleteChar;
            this.suffix = suffix;
            this.current = initialProgress;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  8. src/go/doc/example.go

    			}
    			exs, ok := ids[prefix]
    			if !ok {
    				continue
    			}
    			ex.Suffix = suffix
    			*exs = append(*exs, ex)
    			break
    		}
    	}
    
    	// Sort list of example according to the user-specified suffix name.
    	for _, exs := range ids {
    		slices.SortFunc(*exs, func(a, b *Example) int {
    			return cmp.Compare(a.Suffix, b.Suffix)
    		})
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  9. src/cmd/trace/main.go

    func (b byteCount) String() string {
    	var suffix string
    	var divisor int64
    	switch {
    	case b < 1<<10:
    		suffix = "B"
    		divisor = 1
    	case b < 1<<20:
    		suffix = "KiB"
    		divisor = 1 << 10
    	case b < 1<<30:
    		suffix = "MiB"
    		divisor = 1 << 20
    	case b < 1<<40:
    		suffix = "GiB"
    		divisor = 1 << 30
    	}
    	if divisor == 1 {
    		return fmt.Sprintf("%d %s", b, suffix)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

              "testEqualsAndSerializable",
              "testEqualsAndSerialization",
              "testEquality");
    
      private static final Chopper TEST_SUFFIX =
          suffix("Test").or(suffix("Tests")).or(suffix("TestCase")).or(suffix("TestSuite"));
    
      private final Logger logger = Logger.getLogger(getClass().getName());
      private final ClassSanityTester tester = new ClassSanityTester();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 17.4K bytes
    - Viewed (0)
Back to top