- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 574 for Network (0.05 seconds)
-
android/guava/src/com/google/common/graph/Network.java
* subtype of {@code Network} that provides methods for adding and removing nodes and edges. If you * do not need to mutate a network (e.g. if you write a method than runs a read-only algorithm on * the network), you should use the non-mutating {@link Network} interface, or an {@link * ImmutableNetwork}. * * <p>You can create an immutable copy of an existing {@code Network} using {@link * ImmutableNetwork#copyOf(Network)}:Created: 2026-04-03 12:43 - Last Modified: 2026-03-11 01:10 - 17.6K bytes - Click Count (0) -
cmd/metrics-v3-system-network.go
internodeRecvBytesTotalMD = NewCounterMD(internodeRecvBytesTotal, "Total number of bytes received from other peer nodes") ) // loadNetworkInternodeMetrics - reads internode network metrics. // // This is a `MetricsLoaderFn`. func loadNetworkInternodeMetrics(ctx context.Context, m MetricValues, _ *metricsCache) error { connStats := globalConnStats.toServerConnStats() rpcStats := rest.GetRPCStats()
Created: 2026-04-05 19:28 - Last Modified: 2024-03-10 09:15 - 2.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/graph/ImmutableNetworkTest.java
} @Test public void copyOfImmutableNetwork_optimized() { Network<String, String> network1 = ImmutableNetwork.copyOf(NetworkBuilder.directed().<String, String>build()); Network<String, String> network2 = ImmutableNetwork.copyOf(network1); assertThat(network2).isSameInstanceAs(network1); } @Test public void edgesConnecting_directed() {
Created: 2026-04-03 12:43 - Last Modified: 2025-09-30 17:09 - 5.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/graph/ElementOrderTest.java
addEdges(network); assertThat(network.edgeOrder()).isEqualTo(ElementOrder.insertion()); assertThat(network.edges()).containsExactly("i", "e", "p").inOrder(); assertThat(network.nodeOrder()).isEqualTo(ElementOrder.insertion()); // default } // The default ordering is INSERTION unless otherwise specified. @Test public void edgeOrder_default() {Created: 2026-04-03 12:43 - Last Modified: 2026-03-17 19:26 - 7.9K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/ImmutableNetwork.java
private ImmutableNetwork(Network<N, E> network) { super( NetworkBuilder.from(network), getNodeConnections(network), getEdgeToReferenceNode(network)); } /** Returns an immutable copy of {@code network}. */ public static <N, E> ImmutableNetwork<N, E> copyOf(Network<N, E> network) { return (network instanceof ImmutableNetwork) ? (ImmutableNetwork<N, E>) network
Created: 2026-04-03 12:43 - Last Modified: 2026-03-11 01:10 - 9.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/graph/DefaultNetworkImplementationsTest.java
network.addEdge(N1, N1, E11); network.addEdge(N1, N1, E11_A); assertThat(network.edgesConnecting(N1, N1)).containsExactly(E11, E11_A); } private static class NetworkForTest<N, E> extends AbstractNetwork<N, E> { private final Network<N, E> network; NetworkForTest(Network<N, E> network) { this.network = network; }
Created: 2026-04-03 12:43 - Last Modified: 2024-12-19 18:03 - 7.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/graph/NetworkMutationTest.java
MutableNetwork<Integer, Object> network = networkBuilder.allowsParallelEdges(true).allowsSelfLoops(true).build(); assertThat(network.nodes()).isEmpty(); assertThat(network.edges()).isEmpty(); AbstractNetworkTest.validateNetwork(network); while (network.nodes().size() < NUM_NODES) { network.addNode(gen.nextInt(NODE_POOL_SIZE)); }
Created: 2026-04-03 12:43 - Last Modified: 2024-12-19 18:03 - 4.6K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt
/** * A concrete interceptor chain that carries the entire interceptor chain: all application * interceptors, the OkHttp core, all network interceptors, and finally the network caller. * * If the chain is for an application interceptor then [exchange] must be null. Otherwise it is for * a network interceptor and [exchange] must be non-null. */ class RealInterceptorChain( internal val call: RealCall,
Created: 2026-04-03 11:42 - Last Modified: 2026-03-10 21:47 - 12.8K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/Graphs.java
/** * Returns a view of {@code network} with the direction (if any) of every edge reversed. All other * properties remain intact, and further updates to {@code network} will be reflected in the view. */ public static <N, E> Network<N, E> transpose(Network<N, E> network) { if (!network.isDirected()) { return network; // the transpose of an undirected network is an identical network }Created: 2026-04-03 12:43 - Last Modified: 2026-03-11 01:10 - 24.4K bytes - Click Count (0) -
android-test/src/test/kotlin/okhttp/android/test/ShadowDnsResolver.kt
var responder: (Request) -> Unit = { it.callback.onAnswer(listOf(), 0) } data class Request( val network: Network?, val domain: String, val nsType: Int, val flags: Int, val callback: DnsResolver.Callback<List<InetAddress>>, ) @Implementation fun query( network: Network?, domain: String, nsType: Int, flags: Int, executor: Executor,Created: 2026-04-03 11:42 - Last Modified: 2024-12-30 23:28 - 1.7K bytes - Click Count (0)