- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 48 for prune (0.02 sec)
-
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java
builder.packaging(POM_PACKAGING); builder.profiles(prune(model.getProfiles())); model = builder.build(); String modelVersion = new MavenModelVersion().getModelVersion(model); model = model.withModelVersion(modelVersion); } else { Model.Builder builder = prune( Model.newBuilder(model, true)
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 11K bytes - Viewed (0) -
cni/pkg/nodeagent/server_test.go
fakeIPSetDeps.On("addIP", "foo-v4", netip.MustParseAddr("2.2.2.2"), ipProto, podUID, false, ).Return(nil) // List should return one IP not in our "pod snapshot", which means we prune fakeIPSetDeps.On("listEntriesByIP", "foo-v4", ).Return([]netip.Addr{ netip.MustParseAddr("2.2.2.2"), netip.MustParseAddr("6.6.6.6"), netip.MustParseAddr("3.3.3.3"), }, nil)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 18.7K bytes - Viewed (0) -
src/bytes/buffer_test.go
} }) if n > 0 { t.Errorf("allocations occurred while appending") } } func TestRuneIO(t *testing.T) { const NRune = 1000 // Built a test slice while we write the data b := make([]byte, utf8.UTFMax*NRune) var buf Buffer n := 0 for r := rune(0); r < NRune; r++ { size := utf8.EncodeRune(b[n:], r) nbytes, err := buf.WriteRune(r) if err != nil { t.Fatalf("WriteRune(%U) error: %s", r, err)
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Sep 03 20:55:15 UTC 2024 - 18.6K bytes - Viewed (0) -
src/bytes/bytes.go
hasUnicode: s = s[i:] t = t[i:] for len(s) != 0 && len(t) != 0 { // Extract first rune from each. var sr, tr rune if s[0] < utf8.RuneSelf { sr, s = rune(s[0]), s[1:] } else { r, size := utf8.DecodeRune(s) sr, s = r, s[size:] } if t[0] < utf8.RuneSelf { tr, t = rune(t[0]), t[1:] } else { r, size := utf8.DecodeRune(t) tr, t = r, t[size:] }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Sep 03 20:55:15 UTC 2024 - 35.6K bytes - Viewed (0) -
docs/bucket/replication/setup_3site_replication.sh
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 24 08:03:58 UTC 2024 - 10.3K bytes - Viewed (0) -
istioctl/pkg/dashboard/dashboard.go
Short: "Open Prometheus web UI", Long: `Open Istio's Prometheus dashboard`, Example: ` istioctl dashboard prometheus # with short syntax istioctl dash prometheus istioctl d prometheus`, RunE: func(cmd *cobra.Command, args []string) error { client, err := ctx.CLIClientWithRevision(opts.Revision) if err != nil { return fmt.Errorf("failed to create k8s client: %v", err) }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Apr 15 01:29:35 UTC 2024 - 20.5K bytes - Viewed (0) -
src/bytes/buffer.go
// converted to int they correspond to the rune size that was read. type readOp int8 // Don't use iota for these, as the values need to correspond with the // names and comments, which is easier to see when being explicit. const ( opRead readOp = -1 // Any other read operation. opInvalid readOp = 0 // Non-read operation. opReadRune1 readOp = 1 // Read rune of size 1. opReadRune2 readOp = 2 // Read rune of size 2.
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Oct 29 16:47:05 UTC 2024 - 15.7K bytes - Viewed (0) -
src/bufio/scan.go
if width > 1 { // It's a valid encoding. Width cannot be one for a correctly encoded // non-ASCII rune. return width, data[0:width], nil } // We know it's an error: we have width==1 and implicitly r==utf8.RuneError. // Is the error because there wasn't a full rune to be decoded? // FullRune distinguishes correctly between erroneous and incomplete encodings. if !atEOF && !utf8.FullRune(data) {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Oct 23 09:06:30 UTC 2023 - 14.2K bytes - Viewed (0) -
cni/pkg/nodeagent/podcgroupns.go
// a canonical form. Practically this means that we convert any punctuation to // dashes, which is how the UID is represented within Kubernetes. func canonicalizePodUID(uid string) types.UID { return types.UID(strings.Map(func(r rune) rune { if unicode.IsPunct(r) { r = '-' } return r }, uid)) } // Cgroup represents a linux cgroup. type Cgroup struct { HierarchyID string ControllerList string
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Apr 12 21:47:31 UTC 2024 - 11K bytes - Viewed (0) -
src/bytes/example_test.go
fmt.Println(bytes.LastIndexFunc([]byte("go gopher!"), unicode.IsNumber)) // Output: // 8 // 9 // -1 } func ExampleMap() { rot13 := func(r rune) rune { switch { case r >= 'A' && r <= 'Z': return 'A' + (r-'A'+13)%26 case r >= 'a' && r <= 'z': return 'a' + (r-'a'+13)%26 } return r }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Aug 07 17:22:36 UTC 2024 - 14.9K bytes - Viewed (0)