Search Options

Results per page
Sort
Preferred Languages
Advance

Results 4131 - 4140 of 4,648 for new1 (0.02 sec)

  1. src/main/java/org/codelibs/core/misc/Pair.java

         * @param second
         *            The second value
         * @return A pair of two values
         */
        public static <T1, T2> Pair<T1, T2> pair(final T1 first, final T2 second) {
            return new Pair<>(first, second);
        }
    
        /**
         * Constructs an instance.
         */
        public Pair() {
        }
    
        /**
         * Constructs an instance.
         *
         * @param first
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  2. cmd/api-errors_test.go

    	{err: crypto.ErrCustomerKeyMD5Mismatch, errCode: ErrSSECustomerKeyMD5Mismatch},
    	{err: errObjectTampered, errCode: ErrObjectTampered},
    
    	{err: nil, errCode: ErrNone},
    	{err: errors.New("Custom error"), errCode: ErrInternalError}, // Case where err type is unknown.
    }
    
    func TestAPIErrCode(t *testing.T) {
    	ctx := t.Context()
    	for i, testCase := range toAPIErrorTests {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  3. cmd/bitrot-whole.go

    }
    
    // Returns whole-file bitrot writer.
    func newWholeBitrotWriter(disk StorageAPI, volume, filePath string, algo BitrotAlgorithm, shardSize int64) io.WriteCloser {
    	return &wholeBitrotWriter{disk, volume, filePath, shardSize, algo.New()}
    }
    
    // Implementation to verify bitrot for the whole file.
    type wholeBitrotReader struct {
    	disk       StorageAPI
    	volume     string
    	filePath   string
    	verifier   *BitrotVerifier // Holds the bit-rot info
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jan 31 02:11:45 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. cmd/etcd.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"context"
    	"errors"
    	"fmt"
    
    	etcd "go.etcd.io/etcd/client/v3"
    )
    
    var errEtcdUnreachable = errors.New("etcd is unreachable, please check your endpoints")
    
    func etcdErrToErr(err error, etcdEndpoints []string) error {
    	if err == nil {
    		return nil
    	}
    	switch err {
    	case context.DeadlineExceeded:
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/opensearch/config/bsentity/dbmeta/FileConfigDbm.java

        //                                                                           Singleton
        //                                                                           =========
        private static final FileConfigDbm _instance = new FileConfigDbm();
    
        private FileConfigDbm() {
        }
    
        public static FileConfigDbm getInstance() {
            return _instance;
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Comparators.java

     * the JDK.
     *
     * @since 21.0
     * @author Louis Wasserman
     */
    @GwtCompatible
    public final class Comparators {
      private Comparators() {}
    
      /**
       * Returns a new comparator which sorts iterables by comparing corresponding elements pairwise
       * until a nonzero result is found; imposes "dictionary order." If the end of one iterable is
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  7. cmd/xl-storage-format-v2_test.go

    		t.Fatal("Find data returned", xl2.data.find("756100c6-b393-4981-928a-d49bbc164741"))
    	}
    
    	if !xl2.data.rename("756100c6-b393-4981-928a-d49bbc164741", "new-key") {
    		t.Fatal("old key was not found")
    	}
    	failOnErr(xl2.data.validate())
    	if !bytes.Equal(xl2.data.find("new-key"), data2) {
    		t.Fatal("Find data returned", xl2.data.find("756100c6-b393-4981-928a-d49bbc164741"))
    	}
    	if xl2.data.entries() != 2 {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 37.8K bytes
    - Viewed (0)
  8. cmd/object-api-utils.go

    	if p.Reader == nil {
    		return nil, errors.New("put-object reader uninitialized")
    	}
    	p.Reader = encReader
    	p.sealMD5Fn = sealETagFn(*objEncKey)
    	return p, nil
    }
    
    // NewPutObjReader returns a new PutObjReader. It uses given hash.Reader's
    // MD5Current method to construct md5sum when requested downstream.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jun 25 15:08:54 UTC 2025
    - 37.3K bytes
    - Viewed (0)
  9. cmd/iam.go

    				iamLogIf(ctx, nerr.Err)
    			}
    		}
    	}
    
    	return nil
    }
    
    // CreateUser - create new user credentials and policy, if user already exists
    // they shall be rewritten with new inputs.
    func (sys *IAMSys) CreateUser(ctx context.Context, accessKey string, ureq madmin.AddOrUpdateUserReq) (updatedAt time.Time, err error) {
    	if !sys.Initialized() {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 75.3K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.13.md

        - [SIG Service Catalog](#sig-service-catalog)
        - [SIG Storage](#sig-storage)
        - [SIG UI](#sig-ui)
        - [SIG VMWare](#sig-vmware)
        - [SIG Windows](#sig-windows)
      - [New Features](#new-features)
      - [Release Notes From SIGs](#release-notes-from-sigs)
        - [SIG API Machinery](#sig-api-machinery-1)
        - [SIG Auth](#sig-auth-1)
        - [SIG Autoscaling](#sig-autoscaling)
        - [SIG AWS](#sig-aws-1)
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Thu May 05 13:44:43 UTC 2022
    - 273.1K bytes
    - Viewed (0)
Back to top