- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 32 for Lc (0.14 sec)
-
internal/bucket/lifecycle/lifecycle.go
func ParseLifecycleConfigWithID(r io.Reader) (*Lifecycle, error) { var lc Lifecycle if err := xml.NewDecoder(r).Decode(&lc); err != nil { return nil, err } // assign a unique id for rules with empty ID for i := range lc.Rules { if lc.Rules[i].ID == "" { lc.Rules[i].ID = uuid.New().String() } } return &lc, nil } // ParseLifecycleConfig - parses data in given reader to Lifecycle.
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Sat Mar 09 06:41:22 GMT 2024 - 17K bytes - Viewed (0) -
cmd/namespace-lock.go
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Mon Jun 05 23:56:35 GMT 2023 - 9.2K bytes - Viewed (0) -
internal/http/check_port_others.go
// It is possible to have a disconnected client in this tiny window of time. func CheckPortAvailability(host, port string, opts TCPOptions) (err error) { lc := &net.ListenConfig{} ctx, cancel := context.WithTimeout(context.Background(), time.Second) defer cancel() l, err := lc.Listen(ctx, "tcp", net.JoinHostPort(host, port)) if err != nil { return err } // As we are able to listen on this network, the port is not in use.
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Wed May 03 21:12:25 GMT 2023 - 1.5K bytes - Viewed (0) -
build-logic/jvm/src/main/kotlin/gradlebuild/propagated-env-variables.kt
"BUILD_TYPE_ID", "JPROFILER_HOME", "LANG", "LANGUAGE", // It is possible to have many LC_xxx variables for different aspects of the locale. However, LC_ALL overrides all of them, and it is what CI uses. "LC_ALL", "LC_CTYPE", "JDK_10", "JDK_10_0", "JDK_10_0_x64", "JDK_10_x64", "JDK_11", "JDK_11_0", "JDK_11_0_x64",
Plain Text - Registered: Wed Feb 28 11:36:09 GMT 2024 - Last Modified: Tue Apr 18 01:52:16 GMT 2023 - 3.7K bytes - Viewed (0) -
src/main/java/jcifs/pac/kerberos/KerberosCredentials.java
this(System.getProperty("jaaslounge.sso.jaas.config")); } public KerberosCredentials ( String loginContextName ) throws LoginException { LoginContext lc = new LoginContext(loginContextName); lc.login(); this.subject = lc.getSubject(); } public KerberosKey[] getKeys () { List<Key> serverKeys = new ArrayList<>();
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Mon Oct 02 12:02:06 GMT 2023 - 2.4K bytes - Viewed (0) -
cmd/data-scanner_test.go
expired = append(expired, t.versions...) } } }() lc := lifecycle.Lifecycle{ Rules: []lifecycle.Rule{ { ID: "max-versions", Status: "Enabled", NoncurrentVersionExpiration: lifecycle.NoncurrentVersionExpiration{ NewerNoncurrentVersions: 1, }, }, }, } lcXML, err := xml.Marshal(lc) if err != nil { t.Fatalf("Failed to marshal lifecycle config: %v", err) }
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Sat Mar 02 05:11:03 GMT 2024 - 3.9K bytes - Viewed (0) -
internal/bucket/lifecycle/lifecycle_test.go
NumVersions: 1, }, want: 0, lc: lc, }, } for i, tc := range tests { t.Run(fmt.Sprintf("test-%d", i+1), func(t *testing.T) { if got := tc.lc.FilterRules(tc.opts); len(got) != tc.want { t.Fatalf("Expected %d rules to match but got %d", tc.want, len(got)) } w := httptest.NewRecorder() tc.lc.SetPredictionHeaders(w, tc.opts)
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Sat Mar 09 06:41:22 GMT 2024 - 45.6K bytes - Viewed (0) -
cmd/global-heal.go
var ( vc *versioning.Versioning lc *lifecycle.Lifecycle lr objectlock.Retention rcfg *replication.Config ) if !isMinioMetaBucketName(bucket) { vc, err = globalBucketVersioningSys.Get(bucket) if err != nil { retErr = err healingLogIf(ctx, err) continue } // Check if the current bucket has a configured lifecycle policy lc, err = globalLifecycleSys.Get(bucket)
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Fri Apr 26 06:32:14 GMT 2024 - 15K bytes - Viewed (1) -
cmd/bucket-policy.go
func NewPolicySys() *PolicySys { return &PolicySys{} } func getSTSConditionValues(r *http.Request, lc string, cred auth.Credentials) map[string][]string { m := make(map[string][]string) if d := r.Form.Get("DurationSeconds"); d != "" { m["DurationSeconds"] = []string{d} } return m } func getConditionValues(r *http.Request, lc string, cred auth.Credentials) map[string][]string { currTime := UTCNow() var (
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 8K bytes - Viewed (0) -
internal/http/check_port_linux.go
// Note: The check method tries to listen on given port and closes it. // It is possible to have a disconnected client in this tiny window of time. func CheckPortAvailability(host, port string, opts TCPOptions) (err error) { lc := &net.ListenConfig{ Control: func(network, address string, c syscall.RawConn) error { c.Control(func(fdPtr uintptr) { if opts.Interface != "" {
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Wed May 03 21:12:25 GMT 2023 - 1.9K bytes - Viewed (0)