Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 47 for addCode (0.03 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 Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 11K bytes
    - Viewed (0)
  2. android/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 Dec 26 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 Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Dec 30 23:28:56 UTC 2024
    - 127.9K bytes
    - Viewed (1)
  4. android/guava-tests/test/com/google/common/graph/AbstractGraphTest.java

        assertThat(graphAsMutableGraph.addNode(N1)).isTrue();
        assertThat(graph.nodes()).contains(N1);
      }
    
      @Test
      public void addNode_existingNode() {
        assume().that(graphIsMutable()).isTrue();
    
        addNode(N1);
        ImmutableSet<Integer> nodes = ImmutableSet.copyOf(graph.nodes());
        assertThat(graphAsMutableGraph.addNode(N1)).isFalse();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 07 15:57:03 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/graph/StandardImmutableUndirectedGraphTest.java

      public Graph<Integer> createGraph() {
        graphBuilder = GraphBuilder.undirected().allowsSelfLoops(allowsSelfLoops).immutable();
        return graphBuilder.build();
      }
    
      @Override
      final void addNode(Integer n) {
        graphBuilder.addNode(n);
        graph = graphBuilder.build();
      }
    
      @Override
      final void putEdge(Integer n1, Integer n2) {
        graphBuilder.putEdge(n1, n2);
        graph = graphBuilder.build();
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/graph/ImmutableGraph.java

         *
         * @return this {@code Builder} object
         */
        @CanIgnoreReturnValue
        public Builder<N> addNode(N node) {
          mutableGraph.addNode(node);
          return this;
        }
    
        /**
         * Adds an edge connecting {@code nodeU} to {@code nodeV} if one is not already present.
         *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/graph/ImmutableValueGraph.java

         *
         * @return this {@code Builder} object
         */
        @CanIgnoreReturnValue
        public ImmutableValueGraph.Builder<N, V> addNode(N node) {
          mutableValueGraph.addNode(node);
          return this;
        }
    
        /**
         * Adds an edge connecting {@code nodeU} to {@code nodeV} if one is not already present, and
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/graph/StandardImmutableGraphAdditionalTest.java

        MutableGraph<String> mutableGraph = GraphBuilder.directed().build();
        mutableGraph.addNode("A");
        ImmutableGraph<String> immutableGraph = ImmutableGraph.copyOf(mutableGraph);
    
        assertThat(immutableGraph).isNotInstanceOf(MutableValueGraph.class);
        assertThat(immutableGraph).isEqualTo(mutableGraph);
    
        mutableGraph.addNode("B");
        assertThat(immutableGraph).isNotEqualTo(mutableGraph);
      }
    
      @Test
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/graph/StandardMutableUndirectedGraphTest.java

        return GraphBuilder.undirected()
            .allowsSelfLoops(allowsSelfLoops)
            .incidentEdgeOrder(incidentEdgeOrder)
            .build();
      }
    
      @Override
      final void addNode(Integer n) {
        graphAsMutableGraph.addNode(n);
      }
    
      @Override
      final void putEdge(Integer n1, Integer n2) {
        graphAsMutableGraph.putEdge(n1, n2);
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/graph/MutableNetwork.java

       * <p><b>Nodes must be unique</b>, just as {@code Map} keys must be. They must also be non-null.
       *
       * @return {@code true} if the network was modified as a result of this call
       */
      @CanIgnoreReturnValue
      boolean addNode(N node);
    
      /**
       * Adds {@code edge} connecting {@code nodeU} to {@code nodeV}.
       *
       * <p>If the graph is directed, {@code edge} will be directed in this graph; otherwise, it will be
       * undirected.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top