Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for Lc (0.18 sec)

  1. 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 14 19:28:10 GMT 2024
    - Last Modified: Sat Mar 09 06:41:22 GMT 2024
    - 17K bytes
    - Viewed (0)
  2. 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 07 19:28:10 GMT 2024
    - Last Modified: Wed May 03 21:12:25 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  3. cmd/namespace-lock.go

    	return LockContext{ctx: newCtx, cancel: cancel}, nil
    }
    
    // Unlock - block until write lock is released.
    func (di *distLockInstance) Unlock(lc LockContext) {
    	if lc.cancel != nil {
    		lc.cancel()
    	}
    	di.rwMutex.Unlock(lc.ctx)
    }
    
    // RLock - block until read lock is taken or timeout has occurred.
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Mon Jun 05 23:56:35 GMT 2023
    - 9.2K bytes
    - Viewed (0)
  4. 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)
  5. src/main/java/jcifs/smb/JAASAuthenticator.java

                LoginContext lc;
    
    	    Subject ps = super.getSubject();
    
                if ( this.configuration != null ) {
                    lc = new LoginContext(this.serviceName, ps, this, this.configuration);
                }
                else if ( ps != null ) {
                    lc = new LoginContext(this.serviceName, ps, this);
                } else {
                    lc = new LoginContext(this.serviceName, this);
    	    }
    Java
    - Registered: Sun Apr 14 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.1K bytes
    - Viewed (0)
  6. 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 14 00:10:09 GMT 2024
    - Last Modified: Mon Oct 02 12:02:06 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  7. 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 14 19:28:10 GMT 2024
    - Last Modified: Sat Mar 02 05:11:03 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  8. 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 14 19:28:10 GMT 2024
    - Last Modified: Sat Mar 09 06:41:22 GMT 2024
    - 45.6K bytes
    - Viewed (0)
  9. 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 14 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 8K bytes
    - Viewed (0)
  10. 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 07 19:28:10 GMT 2024
    - Last Modified: Wed May 03 21:12:25 GMT 2023
    - 1.9K bytes
    - Viewed (0)
Back to top