Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 342 for flat (0.19 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. 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)
  5. 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)
  6. 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)
  7. tensorflow/c/eager/BUILD

            ":tape",
            "//tensorflow/core/common_runtime/eager:attr_builder",
            "//tensorflow/core/lib/llvm_rtti",
            "//tensorflow/core/platform:errors",
            "@com_google_absl//absl/container:flat_hash_map",
            "@com_google_absl//absl/strings",
        ],
    )
    
    cc_library(
        name = "unified_api_testutil",
        testonly = 1,
        srcs = [
            "unified_api_testutil.cc",
        ],
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 33.3K bytes
    - Viewed (0)
  8. cmd/format-erasure.go

    	} `json:"xl"`
    }
    
    // formatErasureV3 struct is same as formatErasureV2 struct except that formatErasureV3.Erasure.Version is "3" indicating
    // the simplified multipart backend which is a flat hierarchy now.
    // In .minio.sys/multipart we have:
    // sha256(bucket/object)/uploadID/[xl.meta, part.1, part.2 ....]
    type formatErasureV3 struct {
    	formatMetaV1
    	Erasure struct {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 23.4K bytes
    - Viewed (0)
  9. cmd/metacache-server-pool.go

    	// With max keys of zero we have reached eof, return right here.
    	if o.Limit == 0 {
    		return entries, io.EOF
    	}
    
    	// For delimiter and prefix as '/' we do not list anything at all
    	// along // with the prefix. On a flat namespace with 'prefix'
    	// as '/' we don't have any entries, since all the keys are
    	// of form 'keyName/...'
    	if strings.HasPrefix(o.Prefix, SlashSeparator) {
    		return entries, io.EOF
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/next_pluggable_device/c_api.cc

                         "], which is not type DT_RESOURCE."));
        status->status = cc_status;
        return nullptr;
      }
      const tensorflow::ResourceHandle& handle =
          arg_tensor.flat<tensorflow::ResourceHandle>()(0);
      tensorflow::Var* variable;
      cc_status = tensorflow::LookupResource(cc_ctx, handle, &variable);
      return new TF_VariableInfo(index, handle.name(), variable);
    }
    
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Tue Jan 09 00:52:04 GMT 2024
    - 13.9K bytes
    - Viewed (1)
Back to top