Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 729 for flat (0.15 sec)

  1. cmd/data-usage-cache.go

    		if e == nil {
    			continue
    		}
    		flat := d.flatten(*e)
    		bui := BucketUsageInfo{
    			Size:                    uint64(flat.Size),
    			VersionsCount:           flat.Versions,
    			ObjectsCount:            flat.Objects,
    			DeleteMarkersCount:      flat.DeleteMarkers,
    			ObjectSizesHistogram:    flat.ObjSizes.toMap(),
    			ObjectVersionsHistogram: flat.ObjVersions.toMap(),
    		}
    		if flat.ReplicationStats != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 41.4K bytes
    - Viewed (1)
  2. fastapi/dependencies/utils.py

            flat_dependant.security_requirements.extend(flat_sub.security_requirements)
        return flat_dependant
    
    
    def get_flat_params(dependant: Dependant) -> List[ModelField]:
        flat_dependant = get_flat_dependant(dependant, skip_repeats=True)
        return (
            flat_dependant.path_params
            + flat_dependant.query_params
            + flat_dependant.header_params
            + flat_dependant.cookie_params
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:52:56 GMT 2024
    - 29.5K bytes
    - Viewed (0)
  3. fastapi/openapi/utils.py

                if route.callbacks:
                    callback_flat_models.extend(get_fields_from_routes(route.callbacks))
                params = get_flat_params(route.dependant)
                request_fields_from_routes.extend(params)
    
        flat_models = callback_flat_models + list(
            body_fields_from_routes + responses_from_routes + request_fields_from_routes
        )
        return flat_models
    
    
    def get_openapi(
        *,
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 21.8K bytes
    - Viewed (0)
  4. maven-compat/src/main/java/org/apache/maven/artifact/repository/layout/FlatRepositoryLayout.java

    /**
     * FlatRepositoryLayout
     */
    @Named("flat")
    @Singleton
    @Deprecated
    public class FlatRepositoryLayout implements ArtifactRepositoryLayout {
    
        private static final char ARTIFACT_SEPARATOR = '-';
    
        private static final char GROUP_SEPARATOR = '.';
    
        public String getId() {
            return "flat";
        }
    
        public String pathOf(Artifact artifact) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  5. fastapi/_compat.py

        ) -> Any:
            return {}
    
        def get_model_definitions(
            *,
            flat_models: Set[Union[Type[BaseModel], Type[Enum]]],
            model_name_map: Dict[Union[Type[BaseModel], Type[Enum]], str],
        ) -> Dict[str, Any]:
            definitions: Dict[str, Dict[str, Any]] = {}
            for model in flat_models:
                m_schema, m_definitions, m_nested_models = model_process_schema(
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  6. cmd/data-scanner.go

    			f.newCache.deleteRecursive(thisHash)
    			f.newCache.replaceHashed(thisHash, folder.parent, *flat)
    			total := map[string]string{
    				"objects": strconv.FormatUint(flat.Objects, 10),
    				"size":    strconv.FormatInt(flat.Size, 10),
    			}
    			if flat.Versions > 0 {
    				total["versions"] = strconv.FormatUint(flat.Versions, 10)
    			}
    			stop(total)
    		}
    
    	}
    	// Compact if too many children...
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 47.4K bytes
    - Viewed (0)
  7. internal/s3select/sql/jsonpath.go

    )
    
    // jsonpathEval evaluates a JSON path and returns the value at the path.
    // If the value should be considered flat (from wildcards) any array returned should be considered individual values.
    func jsonpathEval(p []*JSONPathElement, v interface{}) (r interface{}, flat bool, err error) {
    	// fmt.Printf("JPATHexpr: %v jsonobj: %v\n\n", p, v)
    	if len(p) == 0 || v == nil {
    		return v, false, nil
    	}
    
    	switch {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  8. cmd/data-usage_test.go

    		}
    		t.Fatal("got nil root.")
    	}
    
    	// Test dirs
    	want := []struct {
    		path       string
    		isNil      bool
    		size, objs int
    		oSizes     sizeHistogram
    	}{
    		{
    			path:   "flat",
    			size:   1322310 + expectSize,
    			objs:   8 + expectSize,
    			oSizes: sizeHistogram{0: 2 + expectSize, 1: 3, 2: 2, 4: 1},
    		},
    		{
    			path:   "bucket/",
    			size:   20000,
    			objs:   2,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Mar 27 15:10:40 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  9. tensorflow/c/eager/unified_api_testutil.cc

    limitations under the License.
    ==============================================================================*/
    #include "tensorflow/c/eager/unified_api_testutil.h"
    
    #include "absl/container/flat_hash_set.h"
    #include "tensorflow/c/eager/c_api_experimental.h"
    #include "tensorflow/c/eager/c_api_test_util.h"
    #include "tensorflow/c/eager/c_api_unified_experimental.h"
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Feb 27 13:57:45 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  10. tensorflow/c/eager/gradients.h

    limitations under the License.
    ==============================================================================*/
    
    #ifndef TENSORFLOW_C_EAGER_GRADIENTS_H_
    #define TENSORFLOW_C_EAGER_GRADIENTS_H_
    
    #include "absl/container/flat_hash_map.h"
    #include "tensorflow/c/eager/abstract_context.h"
    #include "tensorflow/c/eager/abstract_tensor_handle.h"
    #include "tensorflow/c/eager/tape.h"
    #include "tensorflow/core/common_runtime/eager/attr_builder.h"
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 26 10:27:05 GMT 2022
    - 6.9K bytes
    - Viewed (0)
Back to top