- Sort Score
- Result 10 results
- Languages All
Results 371 - 380 of 1,385 for Range$ (0.11 sec)
-
cmd/update_test.go
testCases := []struct { version string isOfficial bool }{ {"2017-09-29T19:16:56Z", true}, {"RELEASE.2017-09-29T19-16-56Z", false}, {"DEVELOPMENT.GOGET", false}, } for i, testCase := range testCases { _, err := minioVersionToReleaseTime(testCase.version) if (err == nil) != testCase.isOfficial { t.Errorf("Test %d: Expected %v but got %v", i+1, testCase.isOfficial, err == nil) } } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 10.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Cut.java
import com.google.common.annotations.GwtCompatible; import java.io.Serializable; import java.util.NoSuchElementException; import javax.annotation.CheckForNull; /** * Implementation detail for the internal structure of {@link Range} instances. Represents a unique * way of "cutting" a "number line" (actually of instances of type {@code C}, not necessarily * "numbers") into two sections; this can be done below a certain value, above a certain value,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 17:21:56 UTC 2024 - 12.2K bytes - Viewed (0) -
cni/pkg/repair/netns.go
var interfaces []net.Interface if interfaces, err = net.Interfaces(); err != nil { return false, fmt.Errorf("failed to get interfaces") } for _, ief := range interfaces { var addrs []net.Addr if addrs, err = ief.Addrs(); err != nil { return } for _, addr := range addrs { switch v := addr.(type) { case *net.IPNet: if v.IP.Equal(targetAddr) { return true, nil } } } }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jun 28 19:12:54 UTC 2024 - 4.3K bytes - Viewed (0) -
istioctl/pkg/injector/injector-list_test.go
}, Annotations: map[string]string{ annotation.SidecarStatus.Name: `{"revision":"test-anno"}`, }, }, }, expectedRevision: "test-anno", }, } for i, c := range cases { t.Run(fmt.Sprintf("case %d %s", i, c.name), func(t *testing.T) { assert.Equal(t, c.expectedRevision, extractRevisionFromPod(c.pod)) }) } } func Test_getNamespaces(t *testing.T) {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 5.5K bytes - Viewed (0) -
cni/pkg/ipset/nldeps_linux.go
func (m *realDeps) clearEntriesWithComment(name, comment string) error { res, err := netlink.IpsetList(name) if err != nil { return fmt.Errorf("failed to list ipset %s: %w", name, err) } for _, entry := range res.Entries { if entry.Comment == comment { err := netlink.IpsetDel(name, &entry) if err != nil { return fmt.Errorf("failed to delete IP %s from ipset %s: %w", entry.IP, name, err) } } }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Jul 18 23:53:18 UTC 2024 - 4.1K bytes - Viewed (0) -
cmd/iam.go
// Prints IAM role ARNs. func (sys *IAMSys) printIAMRoles() { if len(sys.rolesMap) == 0 { return } var arns []string for arn := range sys.rolesMap { arns = append(arns, arn.String()) } sort.Strings(arns) msgs := make([]string, 0, len(arns)) for _, arn := range arns { msgs = append(msgs, color.Bold(arn)) } logger.Info(fmt.Sprintf("%s %s", color.Blue("IAM Roles:"), strings.Join(msgs, " "))) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 29 16:01:48 UTC 2024 - 74.6K bytes - Viewed (0) -
helm-releases/minio-3.6.0.tgz
{{- if .Values.consoleIngress.ingressClassName }} ingressClassName: {{ .Values.consoleIngress.ingressClassName }} {{- end }} {{- if .Values.consoleIngress.tls }} tls: {{- range .Values.consoleIngress.tls }} - hosts: {{- range .hosts }} - {{ . | quote }} {{- end }} secretName: {{ .secretName }} {{- end }} {{- end }} rules: {{- range .Values.consoleIngress.hosts }} - http: paths: - path: {{ $ingressPath }} {{- if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }} pathType: Prefix backend:...
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Mar 13 22:44:21 UTC 2022 - 17.9K bytes - Viewed (0) -
internal/bucket/lifecycle/transition_test.go
</Transition>`, err: errTransitionInvalid, }, { input: `<Transition> <Days>1</Days> </Transition>`, err: errXMLNotWellFormed, }, } for i, tc := range trTests { var tr Transition err := xml.Unmarshal([]byte(tc.input), &tr) if err != nil { t.Fatalf("%d: xml unmarshal failed with %v", i+1, err) } if err = tr.Validate(); err != tc.err {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Oct 01 18:58:17 UTC 2021 - 2.3K bytes - Viewed (0) -
istioctl/pkg/util/configdump/util.go
) // getSection takes a TypeURL and returns the types.Any from the config dump corresponding to that URL func (w *Wrapper) getSection(sectionTypeURL configTypeURL) (*anypb.Any, error) { var dumpAny *anypb.Any for _, conf := range w.Configs { if conf.TypeUrl == string(sectionTypeURL) { dumpAny = conf } } if dumpAny == nil { return nil, fmt.Errorf("config dump has no configuration type %s", sectionTypeURL) }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sun Dec 24 08:16:26 UTC 2023 - 2.1K bytes - Viewed (0) -
internal/dsync/lock-args_gen.go
err = msgp.WrapError(err, "Resources") return } if cap(z.Resources) >= int(zb0002) { z.Resources = (z.Resources)[:zb0002] } else { z.Resources = make([]string, zb0002) } for za0001 := range z.Resources { z.Resources[za0001], err = dc.ReadString() if err != nil { err = msgp.WrapError(err, "Resources", za0001) return } } case "Owner": z.Owner, err = dc.ReadString()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jul 24 10:24:01 UTC 2024 - 10.2K bytes - Viewed (0)