- Sort Score
- Result 10 results
- Languages All
Results 761 - 770 of 6,596 for _return (0.1 sec)
-
guava/src/com/google/common/graph/AbstractBaseGraph.java
if (isDirected()) { return IntMath.saturatedAdd(predecessors(node).size(), successors(node).size()); } else { Set<N> neighbors = adjacentNodes(node); int selfLoopCount = (allowsSelfLoops() && neighbors.contains(node)) ? 1 : 0; return IntMath.saturatedAdd(neighbors.size(), selfLoopCount); } } @Override public int inDegree(N node) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jan 22 17:29:38 UTC 2024 - 7.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/TreeMultimap.java
return valueComparator; } /** @since 14.0 (present with return type {@code SortedSet} since 2.0) */ @Override @GwtIncompatible // NavigableSet public NavigableSet<V> get(@ParametricNullness K key) { return (NavigableSet<V>) super.get(key); } /** * {@inheritDoc} * * <p>Because a {@code TreeMultimap} has unique sorted keys, this method returns a {@link
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Mar 09 00:21:17 UTC 2024 - 8.7K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/MethodMap.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 14.2K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/EqualsTesterTest.java
public boolean equals(@Nullable Object o) { if (!(o instanceof ValidTestObject)) { return false; } ValidTestObject other = (ValidTestObject) o; if (aspect1 != other.aspect1) { return false; } if (aspect2 != other.aspect2) { return false; } return true; } @Override public int hashCode() { int result = 17;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 15:00:32 UTC 2024 - 12.9K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt
check(!closed) { "closed" } if (inputExhausted) return -1 val read = super.read(sink, byteCount) if (read == -1L) { inputExhausted = true responseBodyComplete() return -1 } return read } override fun close() { if (closed) return if (!inputExhausted) { responseBodyComplete() }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 16.2K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/Certificates.kt
} catch (e: GeneralSecurityException) { throw IllegalArgumentException("failed to decode certificate", e) } } /** * Returns the certificate encoded in [PEM format][rfc_7468]. * * [rfc_7468]: https://tools.ietf.org/html/rfc7468 */ fun X509Certificate.certificatePem(): String { return buildString { append("-----BEGIN CERTIFICATE-----\n") encodeBase64Lines(encoded.toByteString())
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/ResponseBody.kt
val buffer = Buffer().writeString(this, charset) return buffer.asResponseBody(finalContentType, buffer.size) } /** Returns a new response body that transmits this byte array. */ @JvmStatic @JvmName("create") fun ByteArray.toResponseBody(contentType: MediaType? = null): ResponseBody = commonToResponseBody(contentType) /** Returns a new response body that transmits this byte string. */ @JvmStatic
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 10.7K bytes - Viewed (0) -
cmd/tier_gen.go
if err != nil { err = msgp.WrapError(err, "Tiers") return } err = za0002.DecodeMsg(dc) if err != nil { err = msgp.WrapError(err, "Tiers", za0001) return } z.Tiers[za0001] = za0002 } default: err = dc.Skip() if err != nil { err = msgp.WrapError(err) return } } } return } // EncodeMsg implements msgp.Encodable
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 20 00:53:08 UTC 2023 - 4K bytes - Viewed (0) -
internal/config/lambda/target/webhook.go
cancel context.CancelFunc cancelCh <-chan struct{} } // ID - returns target ID. func (target *WebhookTarget) ID() event.TargetID { return target.id } // IsActive - Return true if target is up and active func (target *WebhookTarget) IsActive() (bool, error) { if err := target.init(); err != nil { return false, err } return target.isActive() }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 08 21:39:49 UTC 2024 - 6.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
T defaultValue = DEFAULTS.getInstance(type); if (defaultValue != null) { return defaultValue; } Class<? extends T> implementation = getImplementation(type); if (implementation != null) { return get(implementation); } if (type.isEnum()) { T[] enumConstants = type.getEnumConstants(); return (enumConstants == null || enumConstants.length == 0) ? null : enumConstants[0]; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 20.8K bytes - Viewed (0)