Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for addCode (0.04 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Huffman.kt

          27,
          28,
          27,
          27,
          27,
          27,
          27,
          26,
        )
    
      private val root = Node()
    
      init {
        for (i in CODE_BIT_COUNTS.indices) {
          addCode(i, CODES[i], CODE_BIT_COUNTS[i].toInt())
        }
      }
    
      @Throws(IOException::class)
      fun encode(
        source: ByteString,
        sink: BufferedSink,
      ) {
        var accumulator = 0L
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 11K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/graph/ElementOrderTest.java

        graph.addNode(node4);
        graph.addNode(node2);
        graph.addNode(node6);
        graph.addNode(node8);
    
        assertThat(graph.nodeOrder().comparator()).isEqualTo(Ordering.natural());
        assertThat(graph.nodes()).containsExactly(node2, node4, node6, node8).inOrder();
      }
    
      private static void addNodes(MutableGraph<Integer> graph) {
        graph.addNode(3);
        graph.addNode(1);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  3. okhttp/src/androidMain/baseline-prof.txt

    HSPLokhttp3/internal/http2/Huffman$Node;-><init>()V
    HSPLokhttp3/internal/http2/Huffman$Node;-><init>(II)V
    HSPLokhttp3/internal/http2/Huffman;-><clinit>()V
    HSPLokhttp3/internal/http2/Huffman;-><init>()V
    HSPLokhttp3/internal/http2/Huffman;->addCode(III)V
    HSPLokhttp3/internal/http2/PushObserver$Companion$PushObserverCancel;-><init>()V
    HSPLokhttp3/internal/http2/PushObserver;-><clinit>()V
    HSPLokhttp3/internal/http2/Settings;-><init>()V
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Dec 30 23:28:56 UTC 2024
    - 127.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedGraphTest.java

        assertThrows(UnsupportedOperationException.class, () -> nodes.add(N2));
        addNode(N1);
        assertThat(graph.nodes()).containsExactlyElementsIn(nodes);
      }
    
      @Override
      @Test
      public void adjacentNodes_checkReturnedSetMutability() {
        assume().that(graphIsMutable()).isTrue();
    
        addNode(N1);
        Set<Integer> adjacentNodes = graph.adjacentNodes(N1);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/graph/DefaultNetworkImplementationsTest.java

      }
    
      @Test
      public void edgesConnecting_disconnectedNodes() {
        network.addNode(N1);
        network.addNode(N2);
        assertThat(networkForTest.edgesConnecting(N1, N2)).isEmpty();
      }
    
      @Test
      public void edgesConnecting_nodesNotInGraph() {
        network.addNode(N1);
        network.addNode(N2);
        IllegalArgumentException e =
            assertThrows(
                IllegalArgumentException.class,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

      }
    
      @Test
      public void edgesConnecting_disconnectedNodes() {
        addNode(N1);
        addNode(N2);
        assertThat(network.edgesConnecting(N1, N2)).isEmpty();
      }
    
      @Test
      public void edgesConnecting_nodesNotInGraph() {
        addNode(N1);
        addNode(N2);
        assertNodeNotInGraphErrorMessage(
            assertThrows(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/graph/PackageSanityTests.java

          NetworkBuilder.directed().<String, String>immutable().addNode("A").build();
      private static final ImmutableNetwork<String, String> IMMUTABLE_NETWORK_B =
          NetworkBuilder.directed().<String, String>immutable().addNode("B").build();
    
      public PackageSanityTests() {
        MutableNetwork<String, String> mutableNetworkA = NetworkBuilder.directed().build();
        mutableNetworkA.addNode("a");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

        }
      }
    
      @Override
      @Test
      public void edgesConnecting_checkReturnedSetMutability() {
        assume().that(graphIsMutable()).isTrue();
    
        addNode(N1);
        addNode(N2);
        Set<String> edgesConnecting = network.edgesConnecting(N1, N2);
        assertThrows(UnsupportedOperationException.class, () -> edgesConnecting.add(E23));
        addEdge(N1, N2, E12);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

        }
      }
    
      @Override
      @Test
      public void edgesConnecting_checkReturnedSetMutability() {
        assume().that(graphIsMutable()).isTrue();
    
        addNode(N1);
        addNode(N2);
        Set<String> edgesConnecting = network.edgesConnecting(N1, N2);
        assertThrows(UnsupportedOperationException.class, () -> edgesConnecting.add(E23));
        addEdge(N1, N2, E12);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java

        assertThrows(UnsupportedOperationException.class, () -> nodes.add(N2));
        addNode(N1);
        assertThat(graph.nodes()).containsExactlyElementsIn(nodes);
      }
    
      @Override
      @Test
      public void adjacentNodes_checkReturnedSetMutability() {
        assume().that(graphIsMutable()).isTrue();
    
        addNode(N1);
        Set<Integer> adjacentNodes = graph.adjacentNodes(N1);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 12.7K bytes
    - Viewed (0)
Back to top