- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for statObject (0.19 sec)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/storage/StorageClient.java
// check file size responseData.setContentLength(statObject.size()); checkMaxContentLength(responseData); responseData.setHttpStatusCode(Constants.OK_STATUS_CODE); responseData.setCharSet(getCharset()); responseData.setLastModified(statObject.lastModified() == null ? null : Date.from(statObject.lastModified().toInstant()));
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 13.9K bytes - Viewed (0) -
cmd/sftp-server-driver.go
return nil, os.ErrNotExist } return listerAt{&minioFileInfo{ p: pathClean(bucket), info: minio.ObjectInfo{Key: bucket}, isDir: true, }}, nil } objInfo, err := clnt.StatObject(context.Background(), bucket, object, minio.StatObjectOptions{}) if err != nil { if minio.ToErrorResponse(err).Code == "NoSuchKey" { // dummy return to satisfy LIST (stat -> list) behavior.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed Jun 05 07:51:13 UTC 2024 - 11.1K bytes - Viewed (0) -
cmd/ftp-server-driver.go
if !ok { return nil, os.ErrNotExist } return &minioFileInfo{ p: pathClean(bucket), info: minio.ObjectInfo{Key: bucket}, isDir: true, }, nil } objInfo, err := clnt.StatObject(context.Background(), bucket, object, minio.StatObjectOptions{}) if err != nil { if minio.ToErrorResponse(err).Code == "NoSuchKey" { // dummy return to satisfy LIST (stat -> list) behavior. return &minioFileInfo{
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 03 15:45:54 UTC 2024 - 14K bytes - Viewed (0) -
cmd/erasure-object_test.go
Recursive: true, Immediate: false, }) } } } _, err = xl.GetObjectInfo(ctx, bucket, object, opts) if err != nil { t.Errorf("Expected StatObject to succeed if data dir are not found, but failed with %v", err) } // Test use case 2: Make 9 disks offline, which leaves less than quorum number of disks
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Jan 30 20:43:25 UTC 2024 - 36.8K bytes - Viewed (0) -
cmd/admin-handlers-users_test.go
} } func (c *check) mustHeadObject(ctx context.Context, client *minio.Client, bucket, object string, tagCount int) { c.Helper() oinfo, err := client.StatObject(ctx, bucket, object, minio.StatObjectOptions{}) if err != nil { c.Fatalf("user was unable to download the object: %v", err) } if oinfo.UserTagCount != tagCount {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 45.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java
protected LoadingCache<String, StatsObject> statsCache; @PostConstruct public void init() { statsLogger = LogManager.getLogger(loggerName); statsCache = CacheBuilder.newBuilder().maximumSize(maxCacheSize).expireAfterWrite(cacheExpireAfterWrite, TimeUnit.MILLISECONDS) .build(new CacheLoader<String, StatsObject>() { @Override
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 9.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/settings/ArraySettings.java
} if (empty) { client.admin().indices().preparePutMapping(actualIndex) .setSource(XContentFactory.jsonBuilder().startObject().startObject("properties").startObject(FieldNames.ARRAY_KEY) .field("type", "keyword").endObject().endObject().endObject()) .execute().actionGet(settings.getIndicesTimeout()); }
Registered: Wed Jun 12 15:38:08 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 10.9K bytes - Viewed (0)