Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 411 for Got (0.03 sec)

  1. guava/src/com/google/common/math/PairedStats.java

       * versions.
       */
      public static PairedStats fromByteArray(byte[] byteArray) {
        checkNotNull(byteArray);
        checkArgument(
            byteArray.length == BYTES,
            "Expected PairedStats.BYTES = %s, got %s",
            BYTES,
            byteArray.length);
        ByteBuffer buffer = ByteBuffer.wrap(byteArray).order(ByteOrder.LITTLE_ENDIAN);
        Stats xStats = Stats.readFrom(buffer);
        Stats yStats = Stats.readFrom(buffer);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 17:02:53 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  2. cmd/erasure-healing-common.go

    	for i, onlineDisk := range onlineDisks {
    		if metaErrs[i] != nil {
    			continue
    		}
    
    		meta := partsMetadata[i]
    		if meta.Deleted || meta.IsRemote() {
    			continue
    		}
    
    		// Always check data, if we got it.
    		if (len(meta.Data) > 0 || meta.Size == 0) && len(meta.Parts) > 0 {
    			checksumInfo := meta.Erasure.GetChecksumInfo(meta.Parts[0].Number)
    			verifyErr := bitrotVerify(bytes.NewReader(meta.Data),
    				int64(len(meta.Data)),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  3. cmd/erasure-healing-common_test.go

    		// Obtain a common mod time from modTimes slice.
    		ctime := commonTime(testCase.times, testCase.quorum)
    		if !testCase.time.Equal(ctime) {
    			t.Errorf("Test case %d, expect to pass but failed. Wanted modTime: %s, got modTime: %s\n", i+1, testCase.time, ctime)
    		}
    	}
    }
    
    // TestListOnlineDisks - checks if listOnlineDisks and outDatedDisks
    // are consistent with each other.
    func TestListOnlineDisks(t *testing.T) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 15:19:10 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  4. cmd/object-api-putobject_test.go

    			t.Fatal(err)
    		}
    		var found bool
    		for _, fi := range files {
    			if fi.Name() == ".trash" {
    				continue
    			}
    			found = true
    		}
    		if found {
    			t.Fatalf("%s: expected: empty, got: non-empty %#v", minioMetaTmpBucket, files)
    		}
    	}
    }
    
    // Wrapper for calling Multipart PutObject tests for both Erasure multiple disks and single node setup.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

      }
    
      private ExecutionException getExpectingExecutionException(AbstractFuture<String> future)
          throws InterruptedException {
        try {
          String got = future.get();
          throw new AssertionError("Expected exception but got " + got);
        } catch (ExecutionException e) {
          return e;
        }
      }
    
      private static final class WaiterThread extends Thread {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/HashBiMap.java

        int newValueIndex = findEntryByValue(newValue, newValueHash);
        if (newValueIndex != ABSENT) {
          if (force) {
            removeEntryValueHashKnown(newValueIndex, newValueHash);
            if (entry == size) { // this entry got moved to newValueIndex
              entry = newValueIndex;
            }
          } else {
            throw new IllegalArgumentException("Value already present in map: " + newValue);
          }
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 36.4K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

          }
    
          // The policy was satisfied by existing connections, don't run again
          if (concurrentCallCapacity >= state.policy.minimumConcurrentCalls) return -1L
        }
    
        // If we got here then the policy was not satisfied -- open a connection!
        try {
          val connection = exchangeFinderFactory(this, state.address, PoolConnectionUser).find()
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  8. cmd/metacache-set.go

    			// If only the name matches we didn't agree, but add it for resolution.
    			if entry.name == current.name {
    				topEntries[i] = entry
    				continue
    			}
    			// We got different entries
    			if entry.name > current.name {
    				continue
    			}
    			// We got a new, better current.
    			// Clear existing entries.
    			for i := range topEntries[:i] {
    				topEntries[i] = metaCacheEntry{}
    			}
    			agree = 1
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 16:23:16 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  9. tensorflow/c/eager/dlpack.cc

      switch (dtype.code) {
        case DLDataTypeCode::kDLBool:
          if (dtype.bits != 8) {
            return tensorflow::errors::InvalidArgument(
                "Only DLPack bools of bitwidth 8 are supported, got: ", dtype.bits);
          }
          *tf_dtype = TF_DataType::TF_BOOL;
          return absl::OkStatus();
    
        case DLDataTypeCode::kDLUInt:
          switch (dtype.bits) {
            case 8:
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  10. docs/site-replication/run-multi-site-ldap.sh

    	exit_1
    fi
    actual_checksum=$(./mc cat minio3/newbucket/lrgfile | md5sum)
    if [ "${expected_checksum}" != "${actual_checksum}" ]; then
    	echo "replication failed on multipart objects expected ${expected_checksum} got ${actual_checksum}"
    	exit
    fi
    rm ./lrgfile
    
    ./mc rm -r --versions --force minio1/newbucket/lrgfile
    if [ $? -ne 0 ]; then
    	echo "expected object to be present, exiting.."
    	exit_1
    fi
    
    sleep 5
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 10.1K bytes
    - Viewed (0)
Back to top