Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2321 - 2330 of 3,625 for List (0.06 seconds)

  1. docs_src/sql_databases/tutorial002_py310.py

        db_hero = Hero.model_validate(hero)
        session.add(db_hero)
        session.commit()
        session.refresh(db_hero)
        return db_hero
    
    
    @app.get("/heroes/", response_model=list[HeroPublic])
    def read_heroes(
        session: Session = Depends(get_session),
        offset: int = 0,
        limit: int = Query(default=100, le=100),
    ):
        heroes = session.exec(select(Hero).offset(offset).limit(limit)).all()
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Oct 09 19:44:42 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  2. .teamcity/src/main/kotlin/configurations/DocsTest.kt

        os: Os,
    ): String = "${model.projectId}_DocsTest_${os.asName()}"
    
    class DocsTestProject(
        model: CIBuildModel,
        stage: Stage,
        val os: Os,
        testJava: JvmCategory,
        testTypes: List<DocsTestType>,
    ) : Project({
            id(asDocsTestId(model, os))
            name = "Docs Test - ${testJava.version.toCapitalized()} ${os.asName()}"
        }) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Jan 08 05:47:02 GMT 2026
    - 3.2K bytes
    - Click Count (0)
  3. samples/tlssurvey/src/main/kotlin/okhttp3/survey/Iana.kt

      val id = (matcher.groupValues[1] + matcher.groupValues[2]).decodeHex()
      return SuiteId(id, matcher.groupValues[3])
    }
    
    class IanaSuites(
      val name: String,
      val suites: List<SuiteId>,
    ) {
      fun fromJavaName(javaName: String): SuiteId =
        suites.firstOrNull {
          it.name == javaName || it.name == "TLS_${javaName.drop(4)}"
        } ?: throw IllegalArgumentException("No such suite: $javaName")
    }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2K bytes
    - Click Count (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/ListRetainAllTester.java

    import com.google.common.collect.testing.features.CollectionSize;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code retainAll} operations on a list. Can't be invoked
     * directly; please see {@link com.google.common.collect.testing.ListTestSuiteBuilder}.
     *
     * @author Chris Povirk
     */
    @GwtCompatible
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 3K bytes
    - Click Count (0)
  5. docs_src/sql_databases/tutorial002_an_py310.py

        db_hero = Hero.model_validate(hero)
        session.add(db_hero)
        session.commit()
        session.refresh(db_hero)
        return db_hero
    
    
    @app.get("/heroes/", response_model=list[HeroPublic])
    def read_heroes(
        session: SessionDep,
        offset: int = 0,
        limit: Annotated[int, Query(le=100)] = 100,
    ):
        heroes = session.exec(select(Hero).offset(offset).limit(limit)).all()
        return heroes
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Oct 09 19:44:42 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  6. okhttp-osgi-tests/src/test/kotlin/okhttp3/osgi/OsgiTest.kt

          runee = RESOLVE_JAVA_VERSION
          setRunRequires(runRequireString)
        }
      }
    
      private fun RepositoryPlugin.deployDirectory(directory: Path) {
        for (path in fileSystem.list(directory)) {
          deployFile(path)
        }
      }
    
      private fun RepositoryPlugin.deployClassPath() {
        val classpath = System.getProperty("java.class.path")
        val entries =
          classpath
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 5K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/opensearch/config/cbean/bs/BsFileAuthenticationCB.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.opensearch.config.cbean.bs;
    
    import java.util.ArrayList;
    import java.util.List;
    import java.util.Map;
    
    import org.codelibs.fess.opensearch.config.allcommon.EsAbstractConditionBean;
    import org.codelibs.fess.opensearch.config.bsentity.dbmeta.FileAuthenticationDbm;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/opensearch/config/cbean/bs/BsLabelTypeCB.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.opensearch.config.cbean.bs;
    
    import java.util.ArrayList;
    import java.util.List;
    import java.util.Map;
    
    import org.codelibs.fess.opensearch.config.allcommon.EsAbstractConditionBean;
    import org.codelibs.fess.opensearch.config.bsentity.dbmeta.LabelTypeDbm;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/cache/LocalCacheMapComputeTest.java

    import static java.util.concurrent.TimeUnit.MILLISECONDS;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.util.concurrent.UncheckedExecutionException;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.Queue;
    import java.util.concurrent.ConcurrentLinkedQueue;
    import java.util.concurrent.ExecutionException;
    import java.util.function.IntConsumer;
    import java.util.stream.IntStream;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 6.4K bytes
    - Click Count (0)
  10. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/NoticeTask.java

    import org.gradle.api.tasks.OutputFile;
    import org.gradle.api.tasks.TaskAction;
    
    import org.elasticsearch.gradle.util.FileUtils;
    import java.io.File;
    import java.io.IOException;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.Map;
    import java.util.TreeMap;
    
    import static org.apache.commons.io.FileUtils.readFileToString;
    
    /**
     * A task to create a notice file which includes dependencies' notices.
     */
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 6.9K bytes
    - Click Count (0)
Back to Top