- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 41 for getObject (0.42 sec)
-
cmd/object-api-interface.go
} // GetObject - TODO(aead): This function just acts as an adapter for GetObject tests and benchmarks // since the GetObject method of the ObjectLayer interface has been removed. Once, the // tests are adjusted to use GetObjectNInfo this function can be removed.
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Sat Apr 20 09:05:54 GMT 2024 - 16.9K bytes - Viewed (0) -
cmd/admin-handlers-users_test.go
policy := "mypolicy-test-user-update" policyBytes := []byte(fmt.Sprintf(`{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "s3:PutObject", "s3:GetObject", "s3:ListBucket" ], "Resource": [ "arn:aws:s3:::%s/*" ] } ] }`, bucket)) err = s.adm.AddCannedPolicy(ctx, policy, policyBytes) if err != nil {
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Mon Feb 12 16:36:16 GMT 2024 - 45.7K bytes - Viewed (0) -
docs/extensions/s3zip/README.md
- ListObjectsV2 can only list the most recent ZIP archive version of your object, applicable only for versioned buckets. - ListObjectsV2 API calls must be used to list zip file content. - Range requests for GetObject/HeadObject for individual files from zip is not supported.
Plain Text - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Wed Apr 10 16:28:27 GMT 2024 - 3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/WebApiUtil.java
private WebApiUtil() { } public static void setObject(final String name, final Object value) { LaRequestUtil.getOptionalRequest().ifPresent(req -> req.setAttribute(name, value)); } @SuppressWarnings("unchecked") public static <T> T getObject(final String name) { return LaRequestUtil.getOptionalRequest().map(req -> (T) req.getAttribute(name)).orElse(null);
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 1.9K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/RemoteSnapshotMetadataGenerator.java
private final Integer buildNumber; RemoteSnapshotMetadataGenerator(RepositorySystemSession session, DeployRequest request) { timestamp = (Date) ConfigUtils.getObject(session, new Date(), "maven.startTime"); Object bn = ConfigUtils.getObject(session, null, "maven.buildNumber"); if (bn instanceof Integer) { this.buildNumber = (Integer) bn; } else if (bn instanceof String) {
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 4.3K bytes - Viewed (0) -
cmd/erasure-object_test.go
if err != toObjectErr(errErasureReadQuorum, bucket, object) { t.Errorf("Expected GetObject to fail with %v, but failed with %v", toObjectErr(errErasureReadQuorum, bucket, object), err) } } if gr != nil { _, err = io.Copy(io.Discard, gr) if err != toObjectErr(errErasureReadQuorum, bucket, object) { t.Errorf("Expected GetObject to fail with %v, but failed with %v", toObjectErr(errErasureReadQuorum, bucket, object), err) }
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Tue Jan 30 20:43:25 GMT 2024 - 36.8K bytes - Viewed (0) -
cmd/object_api_suite_test.go
} } for key, value := range objects { var byteBuffer bytes.Buffer err = GetObject(context.Background(), obj, "bucket", key, 0, int64(len(value)), &byteBuffer, "", opts) if err != nil { t.Fatalf("%s: <ERROR> %s", instanceType, err) } if !bytes.Equal(byteBuffer.Bytes(), value) { t.Errorf("%s: Mismatch of GetObject data with the expected one.", instanceType) }
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Thu Feb 22 06:26:06 GMT 2024 - 32.3K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/VersionsMetadataGenerator.java
versions = new LinkedHashMap<>(); processedVersions = new LinkedHashMap<>(); timestamp = (Date) ConfigUtils.getObject(session, new Date(), "maven.startTime"); /* * NOTE: This should be considered a quirk to support interop with Maven's legacy ArtifactDeployer which
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 3.9K bytes - Viewed (0) -
cmd/metrics-v2_test.go
import ( "testing" "time" "github.com/prometheus/client_golang/prometheus" ) func TestGetHistogramMetrics(t *testing.T) { histBuckets := []float64{0.05, 0.1, 0.25, 0.5, 0.75} labels := []string{"GetObject", "PutObject", "CopyObject", "CompleteMultipartUpload"} ttfbHist := prometheus.NewHistogramVec( prometheus.HistogramOpts{ Name: "s3_ttfb_seconds",
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Mon Mar 04 18:05:56 GMT 2024 - 2.3K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/LocalSnapshotMetadataGenerator.java
private final Date timestamp; LocalSnapshotMetadataGenerator(RepositorySystemSession session, InstallRequest request) { timestamp = (Date) ConfigUtils.getObject(session, new Date(), "maven.startTime"); snapshots = new LinkedHashMap<>(); } @Override public Collection<? extends Metadata> prepare(Collection<? extends Artifact> artifacts) {
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 2.7K bytes - Viewed (0)