- Sort Score
- Result 10 results
- Languages All
Results 1531 - 1540 of 1,560 for Example (0.09 sec)
-
compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 19K bytes - Viewed (0) -
cmd/erasure-metadata_test.go
t.Fatalf("%+v: expected = %d, got: %d", testCase, testCase.expectedIndex, index) } } } // Test objectPartIndex(). generates a sample FileInfo data and asserts // the output of objectPartIndex() with the expected value. func TestObjectPartIndex(t *testing.T) { testCases := []struct { partNum int expectedIndex int }{ {2, 1},
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jul 25 21:02:50 UTC 2024 - 13.5K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Ascii.java
* maxLength} chars in length and will end with the given {@code truncationIndicator}. Otherwise, * the sequence will be returned as a string with no changes to the content. * * <p>Examples: * * <pre>{@code * Ascii.truncate("foobar", 7, "..."); // returns "foobar" * Ascii.truncate("foobar", 5, "..."); // returns "fo..." * }</pre> *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Aug 02 13:50:22 UTC 2024 - 21.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java
return i; } } throw new IllegalArgumentException( "Map.values generator can order only sample values"); } }); return insertionOrder; } @Override public OneSizeTestContainerGenerator<Map<K, V>, Entry<K, V>> getInnerGenerator() { return mapGenerator;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 18.2K bytes - Viewed (0) -
android/guava/src/com/google/common/math/PairedStats.java
* @throws IllegalStateException if the dataset is empty */ public double populationCovariance() { checkState(count() != 0); return sumOfProductsOfDeltas / count(); } /** * Returns the sample covariance of the values. The count must be greater than one. * * <p>This is not guaranteed to return zero when the dataset consists of the same pair of values * multiple times, due to numerical errors. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 12 17:02:53 UTC 2023 - 12.6K bytes - Viewed (0) -
cmd/xl-storage-format_test.go
func getXLMetaBytes(totalParts int) []byte { xlSampleMeta := getSampleXLMeta(totalParts) xlMetaBytes, err := json.Marshal(xlSampleMeta) if err != nil { panic(err) } return xlMetaBytes } // Returns sample xlMetaV1Object{} for number of parts. func getSampleXLMeta(totalParts int) xlMetaV1Object { xlMeta := newTestXLMetaV1() // Number of checksum info == total parts. xlMeta.Erasure.Checksums = make([]ChecksumInfo, totalParts)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Feb 22 06:26:06 UTC 2024 - 17.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/NullPointerTester.java
Parameter param = params.get(i); if (i != indexOfParamToSetToNull) { args[i] = getDefaultValue(param.getType()); Assert.assertTrue( "Can't find or create a sample instance for type '" + param.getType() + "'; please provide one using NullPointerTester.setDefault()", args[i] != null || isNullable(param)); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 22.6K bytes - Viewed (0) -
Makefile.core.mk
#----------------------------------------------------------------------------- include tests/integration/tests.mk #----------------------------------------------------------------------------- # Target: bookinfo sample #----------------------------------------------------------------------------- export BOOKINFO_VERSION ?= 1.18.0 .PHONY: bookinfo.build bookinfo.push bookinfo.build: @prow/buildx-create
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 03 23:53:59 UTC 2024 - 18.4K bytes - Viewed (0) -
cmd/erasure-object_test.go
ctx, cancel := context.WithCancel(context.Background()) defer cancel() // Create a backend with 4 disks named disk{1...4}, this name convention // because we will unzip some object data from a sample archive. const numDisks = 4 path := t.TempDir() var fsDirs []string for i := 1; i <= numDisks; i++ { fsDirs = append(fsDirs, filepath.Join(path, fmt.Sprintf("disk%d", i))) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jan 30 20:43:25 UTC 2024 - 36.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/NullPointerTester.java
Parameter param = params.get(i); if (i != indexOfParamToSetToNull) { args[i] = getDefaultValue(param.getType()); Assert.assertTrue( "Can't find or create a sample instance for type '" + param.getType() + "'; please provide one using NullPointerTester.setDefault()", args[i] != null || isNullable(param)); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 23.2K bytes - Viewed (0)