- Sort Score
- Num 10 results
- Language All
Results 111 - 120 of 2,768 for Add (0.03 seconds)
-
android/guava/src/com/google/common/collect/RangeSet.java
* * <p>Implementations that choose to support the {@link #add(Range)} operation are required to * ignore empty ranges and coalesce connected ranges. For example: * * {@snippet : * RangeSet<Integer> rangeSet = TreeRangeSet.create(); * rangeSet.add(Range.closed(1, 10)); // {[1, 10]} * rangeSet.add(Range.closedOpen(11, 15)); // disconnected range; {[1, 10], [11, 15)} * rangeSet.add(Range.closedOpen(15, 20)); // connected range; {[1, 10], [11, 20)}Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 9.8K bytes - Click Count (0) -
misc/cgo/gmp/pi.go
func extractDigit() int64 { if big.CmpInt(numer, accum) > 0 { return -1 } tmp1.Lsh(numer, 1).Add(tmp1, numer).Add(tmp1, accum) big.DivModInt(tmp1, tmp2, tmp1, denom) tmp2.Add(tmp2, numer) if big.CmpInt(tmp2, denom) >= 0 { return -1 } return tmp1.Int64() } func nextTerm(k int64) { y2 := k*2 + 1 accum.Add(accum, tmp1.Lsh(numer, 1)) accum.Mul(accum, tmp1.SetInt64(y2)) numer.Mul(numer, tmp1.SetInt64(k))
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Mon Apr 10 22:32:35 GMT 2023 - 1.3K bytes - Click Count (0) -
android/guava/src/com/google/common/math/StatsAccumulator.java
for (Number value : values) { add(value.doubleValue()); } } /** * Adds the given values to the dataset. * * @param values a series of values, which will be converted to {@code double} values (this may * cause loss of precision) */ public void addAll(Iterator<? extends Number> values) { while (values.hasNext()) { add(values.next().doubleValue()); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Apr 14 16:36:11 GMT 2025 - 15.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java
for (int i = 0; i < 10; i++) { builder.add("foo"); } builder.add("bar"); RegularImmutableSortedSet<String> set = (RegularImmutableSortedSet<String>) builder.build(); RegularImmutableList<String> list = (RegularImmutableList<String>) set.elements; builder.add("baz"); assertTrue(list.array != builder.contents); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 46.3K bytes - Click Count (0) -
docs/bucket/replication/setup_replication.sh
#!/bin/sh # Create buckets with versioning and object locking enabled. mc mb -l source/bucket mc mb -l dest/bucket #### Create a replication admin on source alias # create a replication admin user : repladmin mc admin user add source repladmin repladmin123 # create a replication policy for repladmin cat >repladmin-policy-source.json <<EOF { "Version": "2012-10-17", "Statement": [ { "Action": [
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri May 26 05:07:25 GMT 2023 - 2.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ForwardingQueue.java
} /** * A sensible definition of {@link #offer} in terms of {@link #add}. If you override {@link #add}, * you may wish to override {@link #offer} to forward to this implementation. * * @since 7.0 */ protected boolean standardOffer(@ParametricNullness E e) { try { return add(e); } catch (IllegalStateException caught) { return false; } } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/graph/GraphEquivalenceTest.java
// In this case the graphs are considered equivalent; the edge add orderings are irrelevant. @Test public void equivalent_edgeAddOrdersDiffer() { GraphBuilder<Integer> builder = GraphBuilder.from(graph); MutableGraph<Integer> g1 = builder.build(); MutableGraph<Integer> g2 = builder.build(); // for g1, add 1->2 first, then 3->1 g1.putEdge(N1, N2); g1.putEdge(N3, N1);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 4.6K bytes - Click Count (0) -
docs/bucket/lifecycle/setup_ilm_transition.sh
./mc ready siteb ./mc mb --ignore-existing sitea/bucket ./mc mb --ignore-existing siteb/bucket sleep 10s ## Add warm tier ./mc ilm tier add minio sitea WARM-TIER --endpoint http://localhost:9004 --access-key minioadmin --secret-key minioadmin --bucket bucket ## Add ILM rules ./mc ilm add sitea/bucket --transition-days 0 --transition-tier WARM-TIER ./mc ilm rule list sitea/bucket ./mc cp README.md sitea/bucket/README.md
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Oct 31 22:10:24 GMT 2024 - 2.8K bytes - Click Count (0) -
tensorflow/c/c_api_test.cc
// Add oper. TF_Operation* add = Add(feed, three, graph, s); ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); // Test TF_Operation*() query functions. EXPECT_EQ(std::string("add"), std::string(TF_OperationName(add))); EXPECT_EQ(std::string("AddN"), std::string(TF_OperationOpType(add))); EXPECT_EQ(std::string(""), std::string(TF_OperationDevice(add)));
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Wed Jan 07 04:56:09 GMT 2026 - 97.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/normalizer/NormalizerChain.java
* <pre> * NormalizerChain chain = new NormalizerChain(); * chain.add(new SomeNormalizer()); * chain.add(new AnotherNormalizer()); * String normalizedText = chain.normalize("input text", "field", "en"); * </pre> * * <p>Methods:</p> * <ul> * <li>{@link #normalize(String, String, String...)} - Applies all added normalizers to the input text.</li> * <li>{@link #add(Normalizer)} - Adds a new normalizer to the chain.</li> * </ul> *
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Nov 17 14:23:01 GMT 2025 - 2.5K bytes - Click Count (0)