Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 193 for returns_ (0.25 sec)

  1. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

    }
    
    // Return true when the given element_type is I32.
    bool IsI32Type(Type element_type) {
      return element_type.isInteger(32) && !element_type.isUnsignedInteger();
    }
    
    // Return true when the given element_type is UI32.
    bool IsUI32Type(Type element_type) {
      return element_type.isInteger(32) && element_type.isUnsignedInteger();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet.go

    	if err := kl.containerRuntime.CheckpointContainer(ctx, options); err != nil {
    		return err
    	}
    
    	return nil
    }
    
    // ListMetricDescriptors gets the descriptors for the metrics that will be returned in ListPodSandboxMetrics.
    func (kl *Kubelet) ListMetricDescriptors(ctx context.Context) ([]*runtimeapi.MetricDescriptor, error) {
    	return kl.containerRuntime.ListMetricDescriptors(ctx)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
  3. pkg/controller/garbagecollector/garbagecollector_test.go

    	query  string
    }
    
    // String returns method=path to aid in testing
    func (f *fakeAction) String() string {
    	return strings.Join([]string{f.method, f.path}, "=")
    }
    
    type FakeResponse struct {
    	statusCode int
    	content    []byte
    }
    
    // fakeActionHandler holds a list of fakeActions received
    type fakeActionHandler struct {
    	// statusCode and content returned by this handler for different method + path.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  4. cmd/site-replication.go

    				return nil
    			}
    		}
    		configData, err := base64.StdEncoding.DecodeString(*versioning)
    		if err != nil {
    			return wrapSRErr(err)
    		}
    		_, err = globalBucketMetadataSys.Update(ctx, bucket, bucketVersioningConfig, configData)
    		if err != nil {
    			return wrapSRErr(err)
    		}
    		return nil
    	}
    
    	return nil
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 184.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

    LogicalResult StridedSliceOp::verify() { return VerifyStridedSliceBase(*this); }
    
    // Clamps the given `val`: returns `low` if `val` is less than `low`; returns
    // `high` if `high` is less than `val`; otherwise returns `val`.
    template <class T>
    constexpr const T &Clamp(const T &val, const T &low, const T &high) {
      assert(!(high < low));
      return (val < low) ? low : (high < val) ? high : val;
    }
    
    // Checks if the `index` bit of `val` is set.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  6. fastapi/applications.py

                response.headers["X-Process-Time"] = str(process_time)
                return response
            ```
            """
    
            def decorator(func: DecoratedCallable) -> DecoratedCallable:
                self.add_middleware(BaseHTTPMiddleware, dispatch=func)
                return func
    
            return decorator
    
        def exception_handler(
            self,
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 00:48:03 UTC 2024
    - 172.2K bytes
    - Viewed (0)
  7. fastapi/routing.py

                # access instead of dict iteration, e.g. lazy relationships.
                return res
            return _model_dump(
                res,
                by_alias=True,
                exclude_unset=exclude_unset,
                exclude_defaults=exclude_defaults,
                exclude_none=exclude_none,
            )
        elif isinstance(res, list):
            return [
                _prepare_response_content(
                    item,
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Apr 02 02:48:51 UTC 2024
    - 170.1K bytes
    - Viewed (0)
  8. pkg/scheduler/schedule_one_test.go

    		}
    	}
    	return nil
    }
    
    func newTrueMapPlugin() frameworkruntime.PluginFactory {
    	return func(_ context.Context, _ runtime.Object, _ framework.Handle) (framework.Plugin, error) {
    		return &trueMapPlugin{}, nil
    	}
    }
    
    type noPodsFilterPlugin struct{}
    
    // Name returns name of the plugin.
    func (pl *noPodsFilterPlugin) Name() string {
    	return "NoPodsFilter"
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 128.1K bytes
    - Viewed (0)
  9. cmd/metrics-v2.go

    		if globalTierConfigMgr.Empty() {
    			return
    		}
    
    		dui, err := loadDataUsageFromBackend(ctx, objLayer)
    		if err != nil {
    			metricsLogIf(ctx, err)
    			return
    		}
    		// data usage has not captured any tier stats yet.
    		if dui.TierStats == nil {
    			return
    		}
    
    		return dui.tierMetrics()
    	})
    	return mg
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:54 UTC 2024
    - 131.9K bytes
    - Viewed (0)
  10. api/openapi-spec/v3/apis__coordination.k8s.io__v1_openapi.json

    "continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a consistent list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 136.6K bytes
    - Viewed (0)
Back to top