Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1161 - 1170 of 4,253 for Uname (0.02 seconds)

  1. docs_src/separate_openapi_schemas/tutorial001_py310.py

    from fastapi import FastAPI
    from pydantic import BaseModel
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
    
    
    app = FastAPI()
    
    
    @app.post("/items/")
    def create_item(item: Item):
        return item
    
    
    @app.get("/items/")
    def read_items() -> list[Item]:
        return [
            Item(
                name="Portal Gun",
                description="Device to travel through the multi-rick-verse",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Aug 25 19:10:22 GMT 2023
    - 451 bytes
    - Click Count (0)
  2. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/util/ConfigurationExtensions.kt

    import org.gradle.api.provider.Provider
    import java.io.File
    
    fun Configuration.getSingleFileProvider(): Provider<File> {
        val name = this.name
        return incoming.files.elements.map {
            require(it.size <= 1) {
                "Expected at most one file in configuration '$name' but found: $it"
            }
            it.firstOrNull()?.asFile
        }
    }
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Aug 18 18:02:41 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  3. internal/config/legacy.go

    // One time migration code section
    
    // SetRegion - One time migration code needed, for migrating from older config to new for server Region.
    func SetRegion(c Config, name string) {
    	if name == "" {
    		return
    	}
    	c[RegionSubSys][Default] = KVS{
    		KV{
    			Key:   RegionName,
    			Value: name,
    		},
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Dec 19 20:27:06 GMT 2022
    - 1.1K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/io/IoTestCase.java

        }
    
        return testDir;
      }
    
      /** Returns the file with the given name under the testdata directory. */
      protected final @Nullable File getTestFile(String name) throws IOException {
        File file = new File(getTestDir(), name);
        if (!file.exists()) {
          URL resourceUrl = IoTestCase.class.getResource("testdata/" + name);
          if (resourceUrl == null) {
            return null;
          }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 5.6K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/InternalDistributionDownloadPlugin.java

        }
    
        /**
         * Works out the gradle project name that provides a distribution artifact.
         *
         * @param distribution the distribution from which to derive a project name
         * @return the name of a project. It is not the full project path, only the name.
         */
        private static String distributionProjectName(ElasticsearchDistribution distribution) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Aug 20 19:11:05 GMT 2021
    - 8.8K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/opensearch/config/cbean/cq/bs/BsDataConfigCQ.java

        }
    
        public void setName_Equal(String name) {
            setName_Term(name, null);
        }
    
        public void setName_Equal(String name, ConditionOptionCall<TermQueryBuilder> opLambda) {
            setName_Term(name, opLambda);
        }
    
        public void setName_Term(String name) {
            setName_Term(name, null);
        }
    
        public void setName_Term(String name, ConditionOptionCall<TermQueryBuilder> opLambda) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 108.9K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/core/exception/IllegalPropertyRuntimeException.java

         */
        private final Class<?> targetClass;
    
        /**
         * The name of the property.
         */
        private final String propertyName;
    
        /**
         * Creates a {@link IllegalPropertyRuntimeException}.
         *
         * @param targetClass
         *            Target class
         * @param propertyName
         *            Property name
         * @param cause
         *            The cause of the exception
         */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Jul 05 00:11:05 GMT 2025
    - 2K bytes
    - Click Count (0)
  8. tests/test_dependency_yield_except_httpexception.py

    
    @app.put("/invalid-user/{user_id}")
    def put_invalid_user(
        user_id: str, name: str = Body(), db: dict = Depends(get_database)
    ):
        db[user_id] = name
        raise HTTPException(status_code=400, detail="Invalid user")
    
    
    @app.put("/user/{user_id}")
    def put_user(user_id: str, name: str = Body(), db: dict = Depends(get_database)):
        db[user_id] = name
        return {"message": "OK"}
    
    
    @pytest.fixture(autouse=True)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Sep 29 03:29:38 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  9. src/archive/tar/example_test.go

    	var buf bytes.Buffer
    	tw := tar.NewWriter(&buf)
    	var files = []struct {
    		Name, Body string
    	}{
    		{"readme.txt", "This archive contains some text files."},
    		{"gopher.txt", "Gopher names:\nGeorge\nGeoffrey\nGonzo"},
    		{"todo.txt", "Get animal handling license."},
    	}
    	for _, file := range files {
    		hdr := &tar.Header{
    			Name: file.Name,
    			Mode: 0600,
    			Size: int64(len(file.Body)),
    		}
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Nov 16 16:54:08 GMT 2017
    - 1.4K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb/NetServerFileEntryAdapterIteratorTest.java

        private static final class StubFileEntry implements FileEntry {
            private final String name;
            private final int type;
    
            StubFileEntry(String name, int type) {
                this.name = name;
                this.type = type;
            }
    
            @Override
            public String getName() {
                return name;
            }
    
            @Override
            public int getType() {
                return type;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.9K bytes
    - Click Count (0)
Back to Top