Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 341 - 350 of 524 for handler (0.04 seconds)

  1. fastapi/_compat/shared.py

            or hasattr(origin, "__pydantic_core_schema__")
            or hasattr(origin, "__get_pydantic_core_schema__")
        )
    
    
    def field_annotation_is_scalar(annotation: Any) -> bool:
        # handle Ellipsis here to make tuple[int, ...] work nicely
        return annotation is Ellipsis or not field_annotation_is_complex(annotation)
    
    
    def field_annotation_is_scalar_sequence(annotation: Union[type[Any], None]) -> bool:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  2. tensorflow/c/c_api_experimental.h

    //
    // On success, returns the newly created library handle and places OK in status.
    // The caller owns the library handle.
    //
    // On failure, returns nullptr and places an error status in status.
    TF_CAPI_EXPORT extern TF_Library* TF_LoadPluggableDeviceLibrary(
        const char* library_filename, TF_Status* status);
    
    // Frees the memory associated with the library handle.
    // Does NOT unload the library.
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 15.1K bytes
    - Click Count (0)
  3. tensorflow/c/c_api.h

        const TF_Operation* const* target_opers, int ntargets,
        // Output handle
        const char** handle,
        // Output status
        TF_Status*);
    
    // Continue to run the graph with additional feeds and fetches. The
    // execution state is uniquely identified by the handle.
    TF_CAPI_EXPORT extern void TF_SessionPRun(
        TF_Session*, const char* handle,
        // Input tensors
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Click Count (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/management/DefaultDependencyManagementInjector.java

    import org.apache.maven.model.Model;
    import org.apache.maven.model.building.ModelBuildingRequest;
    import org.apache.maven.model.building.ModelProblemCollector;
    import org.apache.maven.model.merge.MavenModelMerger;
    
    /**
     * Handles injection of dependency management into the model.
     *
     * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead
     */
    @SuppressWarnings({"checkstyle:methodname"})
    @Named
    @Singleton
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  5. internal/s3select/sql/funceval.go

    	default:
    		return ""
    	}
    }
    
    // evalSQLFnNode assumes that the FuncExpr is not an aggregation
    // function.
    func (e *FuncExpr) evalSQLFnNode(r Record, tableAlias string) (res *Value, err error) {
    	// Handle functions that have phrase arguments
    	switch e.getFunctionName() {
    	case sqlFnCast:
    		expr := e.Cast.Expr
    		res, err = expr.castTo(r, strings.ToUpper(e.Cast.CastType), tableAlias)
    		return res, err
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/graph/FilteredProjectDependencyGraph.java

        /**
         * Filter out whitelisted projects with a big twist:
         * Assume we have all projects {@code a, b, c} while active are {@code a, c} and relation among all projects
         * is {@code a -> b -> c}. This method handles well the case for transitive list. But, for non-transitive we need
         * to "pull in" transitive dependencies of eliminated projects, as for case above, the properly filtered list would
         * be {@code a -> c}.
         * <p>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jun 19 16:34:39 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  7. apache-maven/src/assembly/maven/bin/JvmConfigParser.java

            }
    
            try {
                String result = parseJvmConfig(jvmConfigPath, mavenProjectBasedir);
                if (outputFile != null) {
                    // Write directly to file - this ensures proper file handle cleanup on Windows
                    // Add newline at end for Windows 'for /f' command compatibility
                    try (Writer writer = Files.newBufferedWriter(outputFile, StandardCharsets.UTF_8)) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Dec 10 16:40:06 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  8. docs/en/docs/tutorial/response-model.md

    {* ../../docs_src/response_model/tutorial003_02_py39.py hl[8,10:11] *}
    
    This simple case is handled automatically by FastAPI because the return type annotation is the class (or a subclass of) `Response`.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 15.5K bytes
    - Click Count (0)
  9. tensorflow/c/c_api_experimental.cc

        for (int j = 0; j < input_shape.num_dims; ++j) {
          dims.push_back(c.MakeDim(input_shape.dims[j]));
        }
        c.SetInput(i, c.MakeShape(dims));
      }
    
      // TODO(bgogul): Handle input_tensors_as_shapes.
      // TODO(bgogul): Handle input_resource_shapes_and_types.
    
      status->status = c.construction_status();
      if (!status->status.ok()) return;
    
      if (op_reg_data->shape_inference_fn == nullptr) {
        status->status =
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Sat Oct 04 05:55:32 GMT 2025
    - 29.4K bytes
    - Click Count (0)
  10. internal/handlers/proxy_test.go

    // GNU Affero General Public License for more details.
    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package handlers
    
    import (
    	"net/http"
    	"testing"
    )
    
    type headerTest struct {
    	key      string // header key
    	val      string // header val
    	expected string // expected result
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Feb 26 19:25:49 GMT 2025
    - 3.9K bytes
    - Click Count (0)
Back to Top