- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 34 for getInfo (0.15 sec)
-
internal/disk/disk_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package disk_test import ( "testing" "github.com/minio/minio/internal/disk" ) func TestFree(t *testing.T) { di, err := disk.GetInfo(t.TempDir(), true) if err != nil { t.Fatal(err) } if di.FSType == "UNKNOWN" { t.Error("Unexpected FSType", di.FSType) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 31 22:20:48 UTC 2023 - 1.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponse.java
} /** * @return the info */ public final FileInformation getInfo () { return this.info; } /** * * @param type * @return the info * @throws CIFSException */ @SuppressWarnings ( "unchecked" ) public <T extends FileInformation> T getInfo ( Class<T> type ) throws CIFSException { if ( !type.isAssignableFrom(this.info.getClass()) ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 4K bytes - Viewed (0) -
internal/disk/stat_linux.go
"fmt" "io" "os" "path/filepath" "strconv" "strings" "syscall" "github.com/prometheus/procfs/blockdevice" "golang.org/x/sys/unix" ) // GetInfo returns total and free bytes available in a directory, e.g. `/`. func GetInfo(path string, firstTime bool) (info Info, err error) { s := syscall.Statfs_t{} err = syscall.Statfs(path, &s) if err != nil { return Info{}, err }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Feb 26 19:34:50 UTC 2024 - 4.8K bytes - Viewed (0) -
src/main/java/jcifs/util/Crypto.java
if (provider != null) { throw new CIFSUnsupportedCryptoException("Provider can't be re-initialized. Provider has already been initialized with "+ provider.getInfo()); } provider = customProvider; }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Tue Aug 17 17:34:29 UTC 2021 - 5.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFile.java
qreq); return resp.getInfo(clazz); } Trans2QueryFSInformationResponse response = new Trans2QueryFSInformationResponse(th.getConfig(), level); th.send(new Trans2QueryFSInformation(th.getConfig(), level), response); return response.getInfo(clazz); } @Override public void mkdir () throws SmbException {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu May 23 01:50:13 UTC 2024 - 82.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/GeoInfo.java
import org.opensearch.index.query.QueryBuilder; import org.opensearch.index.query.QueryBuilders; import jakarta.servlet.http.HttpServletRequest; public class GeoInfo { private QueryBuilder builder; public GeoInfo(final HttpServletRequest request) { final FessConfig fessConfig = ComponentUtil.getFessConfig(); final String[] geoFields = fessConfig.getQueryGeoFieldsAsArray();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 4.7K bytes - Viewed (0) -
cmd/xl-storage.go
return s, nil } // getDiskInfo returns given disk information. func getDiskInfo(drivePath string) (di disk.Info, rootDrive bool, err error) { if err = checkPathLength(drivePath); err == nil { di, err = disk.GetInfo(drivePath, false) if !globalIsCICD && !globalIsErasureSD { if globalRootDiskThreshold > 0 { // Use MINIO_ROOTDISK_THRESHOLD_SIZE to figure out if // this disk is a root disk. treat those disks with
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Oct 26 09:58:27 UTC 2024 - 91.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/entity/GeoInfoTest.java
request.setParameter("geo.location.distance", "10km"); final GeoInfo geoInfo = new GeoInfo(request); String result = "{\"geo_distance\":{\"location\":[150.0,34.0],\"distance\":10000.0,\"distance_type\":\"arc\",\"validation_method\":\"STRICT\",\"ignore_unmapped\":false,\"boost\":1.0}}"; assertEquals(result, geoInfo.toQueryBuilder().toString().replaceAll("[ \n]", "")); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/SearchRequestParams.java
if (StringUtil.isNotBlank(missing)) { facetInfo.missing = missing; } return facetInfo; } protected GeoInfo createGeoInfo(final HttpServletRequest request) { return new GeoInfo(request); } public enum SearchRequestType { SEARCH, ADMIN_SEARCH, JSON, GSA, SUGGEST; } public String[] getResponseFields() {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 4.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/QueryHelper.java
} public void setDefaultFacetInfo(final FacetInfo defaultFacetInfo) { this.defaultFacetInfo = defaultFacetInfo; } public GeoInfo getDefaultGeoInfo() { return defaultGeoInfo; } public void setDefaultGeoInfo(final GeoInfo defaultGeoInfo) { this.defaultGeoInfo = defaultGeoInfo; } public String generateId() {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 11.9K bytes - Viewed (0)