- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 127 for set_resource (0.66 sec)
-
staging/src/k8s.io/apiserver/pkg/admission/plugin/resourcequota/controller.go
func (e *quotaEvaluator) checkRequest(quotas []corev1.ResourceQuota, a admission.Attributes) ([]corev1.ResourceQuota, error) { evaluator := e.registry.Get(a.GetResource().GroupResource()) if evaluator == nil { return quotas, nil } return CheckRequest(quotas, a, evaluator, e.config.LimitedResources) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 25.8K bytes - Viewed (0) -
platforms/software/resources-s3/src/main/java/org/gradle/internal/resource/transport/aws/s3/S3Client.java
//Would typically use GetObjectMetadataRequest but it does not work with v4 signatures return doGetS3Object(uri, true); } public S3Object getResource(URI uri) { LOGGER.debug("Attempting to get s3 resource: [{}]", uri.toString()); return doGetS3Object(uri, false); } public List<String> listDirectChildren(URI parent) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 11.7K bytes - Viewed (0) -
platforms/software/resources-s3/src/test/groovy/org/gradle/internal/resource/transport/aws/s3/S3ClientTest.groovy
AmazonS3Exception amazonS3Exception = new AmazonS3Exception("test exception") amazonS3Client.getObject(_) >> { throw amazonS3Exception } when: s3Client.getResource(uri) then: def ex = thrown(ResourceException) ex.message.startsWith("Could not get resource 'https://somehost/file.txt'") } def "should include uri when upload fails"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 10.3K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_cluster_util.cc
} bool HasResourceInputOrOutput(const Node& node) { return std::find(node.input_types().begin(), node.input_types().end(), DT_RESOURCE) != node.input_types().end() || std::find(node.output_types().begin(), node.output_types().end(), DT_RESOURCE) != node.output_types().end(); } void RemoveFromXlaCluster(NodeDef* node_def) { node_def->mutable_attr()->erase(kXlaClusterAttr); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 29 08:39:39 UTC 2024 - 21.3K bytes - Viewed (0) -
pkg/kubelet/server/server.go
klog.ErrorS(err, "Authorization error", "user", attrs.GetUser().GetName(), "verb", attrs.GetVerb(), "resource", attrs.GetResource(), "subresource", attrs.GetSubresource()) msg := fmt.Sprintf("Authorization error (user=%s, verb=%s, resource=%s, subresource=%s)", attrs.GetUser().GetName(), attrs.GetVerb(), attrs.GetResource(), attrs.GetSubresource()) resp.WriteErrorString(http.StatusInternalServerError, msg) return }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 40.1K bytes - Viewed (0) -
platforms/extensibility/plugin-development/src/main/java/org/gradle/plugin/devel/internal/precompiled/GeneratePluginAdaptersTask.java
} } if (!validationErrors.isEmpty()) { throw new LocationAwareException(new IllegalArgumentException(String.join("\n", validationErrors)), scriptPlugin.getBodySource().getResource().getLocation().getDisplayName(), pluginRequests.iterator().next().getLineNumber()); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jun 06 22:50:50 UTC 2024 - 10.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/internal/resource/transfer/DefaultCacheAwareExternalResourceAccessor.java
this.fileResourceRepository = fileResourceRepository; this.checksumService = checksumService; } @Nullable @Override public LocallyAvailableExternalResource getResource(final ExternalResourceName location, @Nullable String baseName, final ResourceFileStore fileStore, @Nullable final LocallyAvailableResourceCandidates additionalCandidates) { return producerGuard.guardByKey(location, () -> {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 11.2K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/process/internal/worker/child/WorkerProcessClassPathProvider.java
String internalName = Type.getInternalName(classToMap); String resourceName = internalName.concat(".class"); URL resource = WorkerProcessClassPathProvider.class.getClassLoader().getResource(resourceName); if (resource == null) { throw new IllegalStateException("Could not locate classpath resource for class " + classToMap.getName()); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jun 10 14:28:48 UTC 2024 - 11.1K bytes - Viewed (0) -
testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/report/AbstractReportGenerator.java
return resultsStoreClass.getConstructor().newInstance(); } protected void copyResource(String resourceName, File outputDirectory) { URL resource = getClass().getClassLoader().getResource("org/gradle/reporting/" + resourceName); String dir = StringUtils.substringAfterLast(resourceName, "."); GFileUtils.copyURLToFile(resource, new File(outputDirectory, dir + "/" + resourceName)); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 11.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting_cleanup.cc
Value LocalVarOp_resource(LocalVarOp &op) { if (auto var_handle_op = std::get_if<TF::VarHandleOp>(&op)) { return var_handle_op->getResource(); } else { return std::get<TF::MlirLocalVarOp>(op).getResource(); } } void LocalVarOp_erase(LocalVarOp &op) { if (auto var_handle_op = std::get_if<TF::VarHandleOp>(&op)) { var_handle_op->erase(); } else {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 19.7K bytes - Viewed (0)