Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1231 - 1240 of 3,421 for list (0.05 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionToArrayTester.java

    import com.google.common.collect.testing.features.CollectionSize;
    import java.lang.reflect.Method;
    import java.util.Arrays;
    import java.util.Collection;
    import java.util.List;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code toArray()} operations on a collection. Can't be invoked
     * directly; please see {@link com.google.common.collect.testing.CollectionTestSuiteBuilder}.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  2. docs_src/request_files/tutorial002_py39.py

    from fastapi.responses import HTMLResponse
    
    app = FastAPI()
    
    
    @app.post("/files/")
    async def create_files(files: list[bytes] = File()):
        return {"file_sizes": [len(file) for file in files]}
    
    
    @app.post("/uploadfiles/")
    async def create_upload_files(files: list[UploadFile]):
        return {"filenames": [file.filename for file in files]}
    
    
    @app.get("/")
    async def main():
        content = """
    <body>
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 786 bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/ConnectionSpec.kt

       */
      @get:JvmName("cipherSuites")
      val cipherSuites: List<CipherSuite>?
        get() {
          return cipherSuitesAsString?.map { CipherSuite.forJavaName(it) }
        }
    
      @JvmName("-deprecated_cipherSuites")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "cipherSuites"),
        level = DeprecationLevel.ERROR,
      )
      fun cipherSuites(): List<CipherSuite>? = cipherSuites
    
      /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/-UtilCommon.kt

      if (!contains(element)) add(element)
    }
    
    internal fun Exception.withSuppressed(suppressed: List<Exception>): Throwable =
      apply {
        for (e in suppressed) addSuppressed(e)
      }
    
    internal inline fun <T> Iterable<T>.filterList(predicate: T.() -> Boolean): List<T> {
      var result: List<T> = emptyList()
      for (i in this) {
        if (predicate(i)) {
          if (result.isEmpty()) result = mutableListOf()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon May 13 13:42:37 UTC 2024
    - 11K bytes
    - Viewed (0)
  5. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilder.java

        private String extractDescription(PlexusConfiguration c) {
            return c.getChild("description").getValue();
        }
    
        private List<MojoDescriptor> extractMojos(PlexusConfiguration c, PluginDescriptor pluginDescriptor)
                throws PlexusConfigurationException {
            List<MojoDescriptor> mojos = new ArrayList<>();
    
            PlexusConfiguration[] mojoConfigurations = c.getChild("mojos").getChildren("mojo");
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  6. docs_src/sql_databases/tutorial001.py

    from typing import List, Union
    
    from fastapi import Depends, FastAPI, HTTPException, Query
    from sqlmodel import Field, Session, SQLModel, create_engine, select
    
    
    class Hero(SQLModel, table=True):
        id: Union[int, None] = Field(default=None, primary_key=True)
        name: str = Field(index=True)
        age: Union[int, None] = Field(default=None, index=True)
        secret_name: str
    
    
    sqlite_file_name = "database.db"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapReplaceValuesTester.java

    import static java.util.Arrays.asList;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.ListMultimap;
    import com.google.common.collect.testing.features.MapFeature;
    import java.util.List;
    import org.junit.Ignore;
    
    /**
     * Testers for {@link ListMultimap#replaceValues(Object, Iterable)}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/SitemapSet.java

    import java.io.Serializable;
    import java.util.ArrayList;
    import java.util.List;
    
    /**
     * @author shinsuke
     *
     */
    public class SitemapSet implements Serializable {
    
        private static final long serialVersionUID = 1L;
    
        public static final String URLSET = "UrlSet";
    
        public static final String INDEX = "Index";
    
        private final List<Sitemap> sitemapList = new ArrayList<>();
    
        private String type = URLSET;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/MapTestSuiteBuilder.java

    import com.google.common.collect.testing.testers.MapToStringTester;
    import com.google.common.testing.SerializableTester;
    import java.util.Arrays;
    import java.util.HashSet;
    import java.util.List;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.Set;
    import junit.framework.TestSuite;
    
    /**
     * Creates, based on your criteria, a JUnit test suite that exhaustively tests a Map implementation.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java

            String reference = getReference(Collections.newSetFromMap(new IdentityHashMap<>()), exception);
    
            List<ExceptionSummary> children = null;
    
            if (exception instanceof ProjectBuildingException) {
                List<ProjectBuildingResult> results = ((ProjectBuildingException) exception).getResults();
    
                children = new ArrayList<>();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.9K bytes
    - Viewed (0)
Back to top