Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 307 for indices (0.07 seconds)

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

          27,
          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
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 11K bytes
    - Click Count (0)
  2. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt

            }
    
            override fun encode(
              writer: DerWriter,
              value: T,
            ) {
              val list = decompose(value)
              writer.withTypeHint {
                for (i in list.indices) {
                  val adapter = members[i] as DerAdapter<Any?>
                  adapter.toDer(writer, list[i])
                }
              }
            }
          }
    
        return BasicDerAdapter(
          name = name,
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 15K bytes
    - Click Count (0)
  3. api/go1.18.txt

    pkg go/ast, method (*IndexListExpr) Pos() token.Pos
    pkg go/ast, type FuncType struct, TypeParams *FieldList
    pkg go/ast, type IndexListExpr struct
    pkg go/ast, type IndexListExpr struct, Indices []Expr
    pkg go/ast, type IndexListExpr struct, Lbrack token.Pos
    pkg go/ast, type IndexListExpr struct, Rbrack token.Pos
    pkg go/ast, type IndexListExpr struct, X Expr
    pkg go/ast, type TypeSpec struct, TypeParams *FieldList
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 13K bytes
    - Click Count (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt

            }
          }
        }
    
      private fun nameToFirstIndex(): Map<ByteString, Int> {
        val result = LinkedHashMap<ByteString, Int>(STATIC_HEADER_TABLE.size, 1.0F)
        for (i in STATIC_HEADER_TABLE.indices) {
          if (!result.containsKey(STATIC_HEADER_TABLE[i].name)) {
            result[STATIC_HEADER_TABLE[i].name] = i
          }
        }
        return result.unmodifiable()
      }
    
      class Writer
        @JvmOverloads
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon May 05 16:01:00 GMT 2025
    - 22.4K bytes
    - Click Count (0)
  5. src/archive/tar/writer_test.go

    	}
    
    	// xattr bar should always appear before others
    	indices := []int{
    		bytes.Index(buf.Bytes(), []byte("bar=bar")),
    		bytes.Index(buf.Bytes(), []byte("baz=baz")),
    		bytes.Index(buf.Bytes(), []byte("foo=foo")),
    		bytes.Index(buf.Bytes(), []byte("qux=qux")),
    	}
    	if !slices.IsSorted(indices) {
    		t.Fatal("PAX headers are not sorted")
    	}
    }
    
    func TestUSTARLongName(t *testing.T) {
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon Dec 15 16:34:13 GMT 2025
    - 40.2K bytes
    - Click Count (0)
  6. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategyTest.java

                assertNotNull(buildElement, "Build element should exist");
    
                List<Element> buildChildren = buildElement.children().toList();
    
                // Find the indices of pluginManagement and plugins
                int pluginManagementIndex = -1;
                int pluginsIndex = -1;
    
                for (int i = 0; i < buildChildren.size(); i++) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 27.8K bytes
    - Click Count (0)
  7. src/bytes/bytes.go

    	// The start index is inclusive and the end index is exclusive.
    	type span struct {
    		start int
    		end   int
    	}
    	spans := make([]span, 0, 32)
    
    	// Find the field start and end indices.
    	// Doing this in a separate pass (rather than slicing the string s
    	// and collecting the result substrings right away) is significantly
    	// more efficient, possibly due to cache effects.
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Sep 16 16:42:15 GMT 2025
    - 35.5K bytes
    - Click Count (0)
  8. doc/go_spec.html

    <a href="#Representability">representable</a> by a value of type
    <code>int</code>; for arrays or constant strings, constant indices must also be in range.
    If both indices are constant, they must satisfy <code>low &lt;= high</code>.
    If the indices are out of range at run time, a <a href="#Run_time_panics">run-time panic</a> occurs.
    </p>
    
    <p>
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Dec 02 23:07:19 GMT 2025
    - 286.5K bytes
    - Click Count (1)
  9. android/guava/src/com/google/common/collect/Streams.java

          this.a = a;
          this.b = b;
        }
      }
    
      /**
       * Returns a stream consisting of the results of applying the given function to the elements of
       * {@code stream} and their indices in the stream. For example,
       *
       * {@snippet :
       * mapWithIndex(
       *     Stream.of("a", "b", "c"),
       *     (e, index) -> index + ":" + e)
       * }
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 21 15:40:45 GMT 2025
    - 36.8K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/ImmutableSet.java

        static boolean hashFloodingDetected(@Nullable Object[] hashTable) {
          int maxRunBeforeFallback = maxRunBeforeFallback(hashTable.length);
          int mask = hashTable.length - 1;
    
          // Invariant: all elements at indices in [knownRunStart, knownRunEnd) are nonnull.
          // If knownRunStart == knownRunEnd, this is vacuously true.
          // When knownRunEnd exceeds hashTable.length, it "wraps", detecting runs around the end
          // of the table.
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Nov 07 16:09:47 GMT 2025
    - 35.3K bytes
    - Click Count (0)
Back to Top