Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 211 - 220 of 411 for ref (0.01 seconds)

  1. tests/test_security_oauth2_authorization_code_bearer_scopes_openapi.py

    # Ref: https://github.com/fastapi/fastapi/issues/14454
    
    from typing import Annotated
    
    from fastapi import APIRouter, Depends, FastAPI, Security
    from fastapi.security import OAuth2AuthorizationCodeBearer
    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    
    oauth2_scheme = OAuth2AuthorizationCodeBearer(
        authorizationUrl="authorize",
        tokenUrl="token",
        auto_error=True,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 6.6K bytes
    - Click Count (0)
  2. internal/lsync/lrwmutex.go

    	lm.mu.Lock()
    	defer lm.mu.Unlock()
    
    	// Try to release lock.
    	if isWriteLock {
    		if lm.isWriteLock && lm.ref == 1 {
    			lm.ref = 0
    			lm.isWriteLock = false
    			unlocked = true
    		}
    	} else {
    		if !lm.isWriteLock {
    			if lm.ref > 0 {
    				lm.ref--
    				unlocked = true
    			}
    		}
    	}
    
    	return unlocked
    }
    
    // ForceUnlock will forcefully clear a write or read lock.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 4.8K bytes
    - Click Count (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleDslReferencePlugin.java

                task.getDestinationDirectory().convention(dslReference.getStagingRoot().dir("dsl"));
            });
    
            extension.dslReference(dslRef -> {
                // DSL ref has custom javascript
                ConfigurableFileTree js = objects.fileTree();
                js.from(dslReference.getRoot());
                js.include("*.js");
                dslRef.getResources().from(js);
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 5.7K bytes
    - Click Count (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleDocumentationExtension.java

         */
        public abstract ConfigurableFileCollection getRenderedDocumentation();
    
        // These are all helper methods for configuring the parts of the documentation (DSL ref, javadoc, user manual, etc).
        public ReleaseNotes getReleaseNotes() {
            return releaseNotes;
        }
    
        public void releaseNotes(Action<? super ReleaseNotes> action) {
            action.execute(releaseNotes);
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Aug 20 14:11:17 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  5. callbacks/delete.go

    				)
    
    				for _, ref := range rel.References {
    					if ref.OwnPrimaryKey {
    						foreignFields = append(foreignFields, ref.PrimaryKey)
    						relForeignKeys = append(relForeignKeys, ref.ForeignKey.DBName)
    					} else if ref.PrimaryValue != "" {
    						queryConds = append(queryConds, clause.Eq{
    							Column: clause.Column{Table: rel.JoinTable.Table, Name: ref.ForeignKey.DBName},
    							Value:  ref.PrimaryValue,
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sun May 25 07:40:40 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  6. fastapi/security/http.py

                else:
                    return None
            return HTTPAuthorizationCredentials(scheme=scheme, credentials=credentials)
    
    
    class HTTPBasic(HTTPBase):
        """
        HTTP Basic authentication.
    
        Ref: https://datatracker.ietf.org/doc/html/rfc7617
    
        ## Usage
    
        Create an instance object and use that object as the dependency in `Depends()`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 16 10:16:48 GMT 2026
    - 13.1K bytes
    - Click Count (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Execute.java

    import java.lang.annotation.Target;
    
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     * Used if your Mojo needs to fork a <a href="/ref/3.0.4/maven-core/lifecycles.html">lifecycle</a>.
     *
     * @since 4.0.0
     */
    @Experimental
    @Documented
    @Retention(RetentionPolicy.RUNTIME)
    @Target(ElementType.TYPE)
    @Inherited
    public @interface Execute {
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  8. tests/test_arbitrary_types.py

                                    "content": {
                                        "application/json": {
                                            "schema": {
                                                "$ref": "#/components/schemas/MyModel"
                                            }
                                        }
                                    },
                                }
                            },
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  9. src/main/java/jcifs/dcerpc/ndr/NdrException.java

        /**
         *
         */
        private static final long serialVersionUID = 7621650016319792189L;
        /**
         * Error message for null reference pointers.
         */
        public static final String NO_NULL_REF = "ref pointer cannot be null";
    
        /**
         * Error message for invalid array conformance.
         */
        public static final String INVALID_CONFORMANCE = "invalid array conformance";
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.7K bytes
    - Click Count (1)
  10. fastapi/utils.py

    if TYPE_CHECKING:  # pragma: nocover
        from .routing import APIRoute
    
    
    def is_body_allowed_for_status_code(status_code: int | str | None) -> bool:
        if status_code is None:
            return True
        # Ref: https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#patterned-fields-1
        if status_code in {
            "default",
            "1XX",
            "2XX",
            "3XX",
            "4XX",
            "5XX",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 18:41:21 GMT 2026
    - 4.2K bytes
    - Click Count (0)
Back to Top