Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 262 for ref2 (0.02 sec)

  1. tests/test_response_model_include_exclude.py

        }
    
    
    @app.get(
        "/mixed",
        response_model=Model3,
        response_model_include={"ref2", "name"},
        response_model_exclude={"ref2": {"baz"}},
    )
    def mixed():
        return Model3(
            name="mixed model3 name",
            age=3,
            ref2=Model2(
                ref=Model1(foo="mixed model foo", bar="mixed model bar"),
                baz="mixed model2 baz",
            ),
        )
    
    
    @app.get(
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Jul 19 19:14:58 UTC 2021
    - 4K bytes
    - Viewed (0)
  2. schema/schema_helper_test.go

    			}
    
    			for _, ref := range relation.References {
    				var found bool
    				for _, rf := range r.References {
    					if (rf.PrimaryKey == nil || (rf.PrimaryKey.Name == ref.PrimaryKey && rf.PrimaryKey.Schema.Name == ref.PrimarySchema)) && (rf.PrimaryValue == ref.PrimaryValue) && (rf.ForeignKey.Name == ref.ForeignKey && rf.ForeignKey.Schema.Name == ref.ForeignSchema) && (rf.OwnPrimaryKey == ref.OwnPrimaryKey) {
    						found = true
    					}
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Thu Aug 28 02:57:17 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  3. internal/lock/lock.go

    func (r *RLockedFile) IncLockRef() {
    	r.mutex.Lock()
    	r.refs++
    	r.mutex.Unlock()
    }
    
    // Close - this closer implements a special closer
    // closes the underlying fd only when the refs
    // reach zero.
    func (r *RLockedFile) Close() (err error) {
    	r.mutex.Lock()
    	defer r.mutex.Unlock()
    
    	if r.refs == 0 {
    		return os.ErrInvalid
    	}
    
    	r.refs--
    	if r.refs == 0 {
    		err = r.File.Close()
    	}
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  4. .github/workflows/docs.yml

    jobs:
      test_docs:
        permissions:
          checks: write # for actions/upload-artifact
        runs-on: ubuntu-latest
        if: github.ref == 'refs/heads/master' || contains(github.event.pull_request.labels.*.name, 'documentation')
    
        steps:
          - name: Checkout
            uses: actions/checkout@v6
    
          - name: Configure JDK
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 12 23:30:30 UTC 2025
    - 987 bytes
    - Viewed (0)
  5. .github/workflows/containers.yml

    jobs:
      test_containers:
        permissions:
          checks: write # for actions/upload-artifact
        runs-on: ubuntu-latest
        if: github.ref == 'refs/heads/master' || contains(github.event.pull_request.labels.*.name, 'containers')
    
        steps:
          - name: Checkout
            uses: actions/checkout@v6
    
          - name: Configure JDK
            uses: actions/setup-java@v5
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Nov 21 15:26:25 UTC 2025
    - 872 bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/cache/CacheReferencesTest.java

                return builder.build(KEY_TO_STRING_LOADER);
              }
            });
      }
    
      public void testContainsKeyAndValue() {
        for (LoadingCache<Key, String> cache : caches()) {
          // maintain strong refs so these won't be collected, regardless of cache's key/value strength
          Key key = new Key(1);
          String value = key.toString();
          assertThat(cache.getUnchecked(key)).isSameInstanceAs(value);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/cache/CacheReferencesTest.java

                return builder.build(KEY_TO_STRING_LOADER);
              }
            });
      }
    
      public void testContainsKeyAndValue() {
        for (LoadingCache<Key, String> cache : caches()) {
          // maintain strong refs so these won't be collected, regardless of cache's key/value strength
          Key key = new Key(1);
          String value = key.toString();
          assertThat(cache.getUnchecked(key)).isSameInstanceAs(value);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  8. gradle/libs.versions.toml

    kotlin-stdlib-osgi = { module = "org.jetbrains.kotlin:kotlin-osgi-bundle", version.ref = "org-jetbrains-kotlin" }
    kotlin-test-annotations = { module = "org.jetbrains.kotlin:kotlin-test-annotations-common", version.ref = "org-jetbrains-kotlin" }
    kotlin-test-common = { module = "org.jetbrains.kotlin:kotlin-test-common", version.ref = "org-jetbrains-kotlin" }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 19 22:05:50 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  9. tests/test_schema_ref_pydantic_v2.py

    def get_client():
        app = FastAPI()
    
        class ModelWithRef(BaseModel):
            ref: str = Field(validation_alias="$ref", serialization_alias="$ref")
            model_config = ConfigDict(validate_by_alias=True, serialize_by_alias=True)
    
        @app.get("/", response_model=ModelWithRef)
        async def read_root() -> Any:
            return {"$ref": "some-ref"}
    
        client = TestClient(app)
        return client
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  10. src/main/webapp/WEB-INF/env/crawler/resources/log4j2.xml

    			<AppenderRef ref="AppFile" />
    		</Logger>
    		<Logger name="org.dbflute" additivity="false" level="${log.level}">
    			<AppenderRef ref="AppFile" />
    		</Logger>
    		<Logger name="org.lastaflute" additivity="false" level="${log.level}">
    			<AppenderRef ref="AppFile" />
    		</Logger>
    		<Logger name="fess.log.crawler.stats" additivity="false" level="info">
    			<AppenderRef ref="StatsFile" />
    		</Logger>
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Mon Feb 20 13:05:30 UTC 2023
    - 2.4K bytes
    - Viewed (0)
Back to top