Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1361 - 1370 of 3,625 for List (0.02 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CertificatePinner.kt

      fun check(
        hostname: String,
        peerCertificates: List<Certificate>,
      ) = check(hostname) {
        (certificateChainCleaner?.clean(peerCertificates, hostname) ?: peerCertificates)
          .map { it as X509Certificate }
      }
    
      internal fun check(
        hostname: String,
        cleanedPeerCertificatesFn: () -> List<X509Certificate>,
      ) {
        val pins = findMatchingPins(hostname)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 14.2K bytes
    - Click Count (1)
  2. benchmarks/src/main/java/org/elasticsearch/benchmark/routing/allocation/Allocators.java

    import java.util.Collections;
    import java.util.List;
    import java.util.Map;
    import java.util.concurrent.atomic.AtomicInteger;
    
    public final class Allocators {
        private static class NoopGatewayAllocator extends GatewayAllocator {
            public static final NoopGatewayAllocator INSTANCE = new NoopGatewayAllocator();
    
            @Override
            public void applyStartedShards(List<ShardRouting> startedShards, RoutingAllocation allocation) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Feb 03 00:10:53 GMT 2021
    - 3.9K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/Synchronized.java

      }
    
      private static <E extends @Nullable Object> List<E> list(List<E> list, @Nullable Object mutex) {
        return (list instanceof RandomAccess)
            ? new SynchronizedRandomAccessList<E>(list, mutex)
            : new SynchronizedList<E>(list, mutex);
      }
    
      private static class SynchronizedList<E extends @Nullable Object>
          extends SynchronizedCollection<E> implements List<E> {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Aug 08 15:11:10 GMT 2025
    - 56.9K bytes
    - Click Count (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/DocBookBuilder.java

    import java.util.LinkedList;
    import java.util.List;
    
    class DocBookBuilder {
        final LinkedList<Element> stack = new LinkedList<Element>();
        final Document document;
    
        DocBookBuilder(Document document) {
            this.document = document;
            stack.addFirst(document.createElement("root"));
        }
    
        List<Element> getElements() {
            List<Element> elements = new ArrayList<Element>();
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.8K bytes
    - Click Count (0)
  5. tests/test_list_bytes_file_order_preserved_issue_14811.py

    """
    Regression test: preserve order when using list[bytes] + File()
    See https://github.com/fastapi/fastapi/discussions/14811
    Fixed in PR: https://github.com/fastapi/fastapi/pull/14884
    """
    
    from typing import Annotated
    
    import anyio
    import pytest
    from fastapi import FastAPI, File
    from fastapi.testclient import TestClient
    from starlette.datastructures import UploadFile as StarletteUploadFile
    
    
    def test_list_bytes_file_preserves_order(
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 10 12:14:38 GMT 2026
    - 1.4K bytes
    - Click Count (0)
  6. misc/chrome/gophertool/gopher.js

        var match = commitRE.exec(t);
        if (match) {
            return "https://golang.org/change/" + match[1];
        }
    
        if (pkgRE.test(t)) {
            // TODO: make this smarter, using a list of packages + substring matches.
            // Get the list from godoc itself in JSON format?
            return "https://golang.org/pkg/" + t;
        }
    
        return null;
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Sat Jul 11 14:36:33 GMT 2015
    - 1.2K bytes
    - Click Count (0)
  7. tensorflow/c/c_api.cc

      return response;
    }
    
    int TF_DeviceListCount(const TF_DeviceList* list) {
      return list->response.size();
    }
    
    #define TF_DEVICELIST_METHOD(return_type, method_name, accessor, err_val) \
      return_type method_name(const TF_DeviceList* list, const int index,     \
                              TF_Status* status) {                            \
        if (list == nullptr) {                                                \
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 04 05:55:32 GMT 2025
    - 102.4K bytes
    - Click Count (0)
  8. guava-testlib/src/com/google/common/collect/testing/TestEnumSetGenerator.java

       * Callers of TestContainerGenerator.order need to be prepared for implementations to return a new
       * collection.
       */
      @SuppressWarnings("CanIgnoreReturnValueSuggester")
      @Override
      public List<AnEnum> order(List<AnEnum> insertionOrder) {
        sort(insertionOrder);
        return insertionOrder;
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Feb 11 19:03:19 GMT 2025
    - 2K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/primitives/Chars.java

       * the returned list is unspecified.
       *
       * <p>The returned list is serializable.
       *
       * @param backingArray the array to back the list
       * @return a list view of the array
       */
      public static List<Character> asList(char... backingArray) {
        if (backingArray.length == 0) {
          return Collections.emptyList();
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 24.2K bytes
    - Click Count (0)
  10. src/bufio/example_test.go

    	// Invalid input: strconv.ParseInt: parsing "1234567901234567890": value out of range
    }
    
    // Use a Scanner with a custom split function to parse a comma-separated
    // list with an empty final value.
    func ExampleScanner_emptyFinalToken() {
    	// Comma-separated list; last entry is empty.
    	const input = "1,2,3,4,"
    	scanner := bufio.NewScanner(strings.NewReader(input))
    	// Define a split function that separates on commas.
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Nov 01 21:52:12 GMT 2024
    - 5.5K bytes
    - Click Count (0)
Back to Top