Search Options

Results per page
Sort
Preferred Languages
Advance

Results 521 - 530 of 929 for flen (0.03 sec)

  1. android/guava-tests/test/com/google/common/hash/AbstractNonStreamingHashFunctionTest.java

        @Override
        public int bits() {
          return 32;
        }
    
        @Override
        public HashCode hashBytes(byte[] input, int off, int len) {
          return HashCode.fromBytes(Arrays.copyOfRange(input, off, off + len));
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.4K bytes
    - Viewed (0)
  2. tests/upsert_test.go

    	} else if len(langs2) != 3 {
    		t.Errorf("should only find only 3 languages, but got %+v", langs2)
    	}
    
    	DB.Clauses(clause.OnConflict{DoNothing: true}).Create(&langs)
    	var langs3 []Language
    	if err := DB.Find(&langs3, "code LIKE ?", "upsert-slice%").Error; err != nil {
    		t.Errorf("no error should happen when find languages with code, but got %v", err)
    	} else if len(langs3) != 3 {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Sep 05 07:39:19 UTC 2022
    - 11.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/transport/Transport.java

         * @param b
         * @param off
         * @param len
         * @return number of bytes read
         * @throws IOException
         */
        public static int readn ( InputStream in, byte[] b, int off, int len ) throws IOException {
            int i = 0, n = -5;
    
            if ( off + len > b.length ) {
                throw new IOException("Buffer too short, bufsize " + b.length + " read " + len);
            }
    
            while ( i < len ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 01 18:12:21 UTC 2020
    - 24.1K bytes
    - Viewed (0)
  4. cmd/bucket-replication-stats.go

    	if r == nil {
    		return nil
    	}
    	peerBucketStatsList := globalNotificationSys.GetClusterAllBucketStats(GlobalContext)
    	bucketsReplicationStats = make(map[string]BucketStats, len(bucketsUsage))
    
    	for bucket := range bucketsUsage {
    		bucketStats := make([]BucketStats, len(peerBucketStatsList))
    		for i, peerBucketStats := range peerBucketStatsList {
    			bucketStat, ok := peerBucketStats.Stats[bucket]
    			if !ok {
    				continue
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  5. cmd/handler-api.go

    		return "strict"
    	}
    
    	return t.listQuorum
    }
    
    func (t *apiConfig) getCorsAllowOrigins() []string {
    	t.mu.RLock()
    	defer t.mu.RUnlock()
    
    	if len(t.corsAllowOrigins) == 0 {
    		return []string{"*"}
    	}
    
    	corsAllowOrigins := make([]string, len(t.corsAllowOrigins))
    	copy(corsAllowOrigins, t.corsAllowOrigins)
    	return corsAllowOrigins
    }
    
    func (t *apiConfig) getStaleUploadsCleanupInterval() time.Duration {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 26 17:07:10 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/io/FileUtil.java

            } else {
                bufferSize = DEFAULT_BUF_SIZE;
            }
            char[] buf = new char[bufferSize];
            int size = 0;
            int len;
            try {
                while ((len = reader.read(buf, size, bufferSize - size)) != -1) {
                    size += len;
                    if (size == bufferSize) {
                        final char[] newBuf = new char[bufferSize + initialCapacity];
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/misc/Base64Util.java

            outData[outIndex + 1] = (byte) (b1 << 4 & 0xf0 | b2 >> 2 & 0xf);
        }
    
        private static int getLastBytes(final String inData) {
            final int len = inData.length();
            if (inData.charAt(len - 2) == PAD) {
                return 1;
            } else if (inData.charAt(len - 1) == PAD) {
                return 2;
            } else {
                return 3;
            }
        }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. cmd/perf-tests.go

    	if err != nil {
    		return madmin.SiteNetPerfNodeResult{Error: err.Error()}
    	}
    
    	// Scale the number of connections from 32 -> 4 from small to large clusters.
    	connectionsPerPeer := 3 + (29+len(clusterInfos.Sites)-1)/len(clusterInfos.Sites)
    
    	errStr := ""
    	var wg sync.WaitGroup
    
    	for _, info := range clusterInfos.Sites {
    		// skip self
    		if globalDeploymentID() == info.DeploymentID {
    			continue
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  9. cmd/bucket-quota.go

    	sys.Init(newObjectLayerFn())
    
    	dui, err := bucketStorageCache.GetWithCtx(ctx)
    	timedout := OperationTimedOut{}
    	if err != nil && !errors.Is(err, context.DeadlineExceeded) && !errors.As(err, &timedout) {
    		if len(dui.BucketsUsage) > 0 {
    			internalLogOnceIf(GlobalContext, fmt.Errorf("unable to retrieve usage information for bucket: %s, relying on older value cached in-memory: err(%v)", bucket, err), "bucket-usage-cache-"+bucket)
    		} else {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 00:34:56 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. cmd/metacache_test.go

    	wantResults := []bool{0: true, 1: true, 2: true, 3: true, 4: false, 5: true, 6: true, 7: false, 8: true}
    
    	for i, tt := range metaCacheTestset {
    		t.Run(tt.id, func(t *testing.T) {
    			var want bool
    			if i >= len(wantResults) {
    				t.Logf("no expected result for test #%d", i)
    			} else {
    				want = wantResults[i]
    			}
    
    			got := tt.finished()
    			if got != want {
    				t.Errorf("#%d: want %v, got %v", i, want, got)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 08 18:06:45 UTC 2021
    - 6.8K bytes
    - Viewed (0)
Back to top