Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1111 - 1120 of 1,224 for numIter (0.18 sec)

  1. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

            rawtypeToWildcard(MinMaxPriorityQueue.expectedSize(heapSize)).create();
        /*
         * this map would contain the same exact elements as the MinMaxHeap; the
         * value in the map is the number of occurrences of the key.
         */
        SortedMap<Integer, AtomicInteger> replica = Maps.newTreeMap();
        assertTrue("Empty heap should be OK", mmHeap.isIntact());
        for (int i = 0; i < heapSize; i++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  2. cmd/config-current.go

    		return Help{KeysHelp: config.HelpSubSysMap[subSys]}, nil
    	}
    	subSystemValue := strings.SplitN(subSys, config.SubSystemSeparator, 2)
    	if len(subSystemValue) == 0 {
    		return Help{}, config.Errorf("invalid number of arguments %s", subSys)
    	}
    
    	subSys = subSystemValue[0]
    
    	subSysHelp, ok := config.HelpSubSysMap[""].Lookup(subSys)
    	if !ok {
    		subSysHelp, ok = config.HelpDeprecatedSubSysMap[subSys]
    		if !ok {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  3. cmd/data-scanner.go

    //
    // An uncompacted branch contains a count of the files only directly at the
    // branch level, and contains link to children branches or leaves.
    //
    // The leaves are "compacted" based on a number of properties.
    // A compacted leaf contains the totals of all files beneath it.
    //
    // A leaf is only scanned once every dataUsageUpdateDirCycles,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  4. docs/debugging/xl-meta/main.go

    					}
    				})
    				if err != nil {
    					return nil, err
    				}
    			}
    			if ndjson {
    				return buf.Bytes(), nil
    			}
    			var msi map[string]interface{}
    			dec := json.NewDecoder(buf)
    			// Use number to preserve integers.
    			dec.UseNumber()
    			err = dec.Decode(&msi)
    			if err != nil {
    				return nil, err
    			}
    			b, err = json.MarshalIndent(msi, "", "  ")
    			if err != nil {
    				return nil, err
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 05 11:57:44 UTC 2024
    - 40.3K bytes
    - Viewed (0)
  5. src/archive/tar/reader_test.go

    			if err != v.err {
    				t.Fatalf("unexpected error: got %v, want %v", err, v.err)
    			}
    			f.Close()
    		})
    	}
    }
    
    func TestPartialRead(t *testing.T) {
    	type testCase struct {
    		cnt    int    // Number of bytes to read
    		output string // Expected value of string read
    	}
    	vectors := []struct {
    		file  string
    		cases []testCase
    	}{{
    		file: "testdata/gnu.tar",
    		cases: []testCase{
    			{4, "Kilt"},
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 03 15:48:09 UTC 2024
    - 46.9K bytes
    - Viewed (0)
  6. src/bufio/bufio_test.go

    		r.Seek(0, io.SeekStart)
    		buf.Reset(r)
    
    		_, err := buf.ReadString('\n')
    		if err != nil {
    			t.Fatal(err)
    		}
    	})
    	if allocs != 1 {
    		t.Errorf("Unexpected number of allocations, got %f, want 1", allocs)
    	}
    }
    
    func TestWriter(t *testing.T) {
    	var data [8192]byte
    
    	for i := 0; i < len(data); i++ {
    		data[i] = byte(' ' + i%('~'-' '))
    	}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/math/StatsTest.java

                    + "}");
      }
    
      public void testMeanOf() {
        assertThrows(IllegalArgumentException.class, () -> Stats.meanOf());
        assertThrows(IllegalArgumentException.class, () -> Stats.meanOf(ImmutableList.<Number>of()));
        assertThat(Stats.meanOf(ONE_VALUE)).isWithin(ALLOWED_ERROR).of(ONE_VALUE);
        assertThat(Stats.meanOf(POSITIVE_INFINITY)).isPositiveInfinity();
        assertThat(Stats.meanOf(NEGATIVE_INFINITY)).isNegativeInfinity();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/net/InetAddressesTest.java

            .isEqualTo(
                InetAddresses.getCoercedIPv4Address(
                    InetAddresses.forString("2001:0000:5136:f378:9000:73bf:3fff:fdd2")));
    
        // Test that an address hashes in to the 224.0.0.0/3 number-space.
        int coercedInt =
            InetAddresses.coerceToInteger(
                InetAddresses.getCoercedIPv4Address(InetAddresses.forString("2001:4860::1")));
        assertThat(coercedInt).isAtLeast(0xe0000000);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 24 16:44:05 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  9. istioctl/pkg/multicluster/remote_secret.go

    		}
    	} else {
    		if len(serviceAccount.Secrets) == 1 {
    			secretName = serviceAccount.Secrets[0].Name
    			secretNamespace = serviceAccount.Secrets[0].Namespace
    		} else {
    			return nil, fmt.Errorf("wrong number of secrets (%v) in serviceaccount %s/%s, please use --secret-name to specify one",
    				len(serviceAccount.Secrets), opt.Namespace, opt.ServiceAccountName)
    		}
    	}
    
    	if secretNamespace == "" {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 16:31:46 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  10. cmd/site-replication.go

    						sseCfgSet.Add(string(configData))
    					}
    				}
    				ss, ok := info.StatsSummary[s.DeploymentID]
    				if !ok {
    					ss = madmin.SRSiteSummary{}
    				}
    				// increment total number of replicated buckets
    				if len(slc) == numSites {
    					ss.ReplicatedBuckets++
    				}
    				ss.TotalBucketsCount++
    				if tagCount > 0 {
    					ss.TotalTagsCount++
    				}
    				if olockCfgCount > 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
Back to top