- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 52 for getInfo (0.06 seconds)
-
internal/disk/stat_solaris.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package disk import ( "errors" "fmt" "golang.org/x/sys/unix" ) // GetInfo returns total and free bytes available in a directory, e.g. `/`. func GetInfo(path string, _ bool) (info Info, err error) { s := unix.Statvfs_t{} if err = unix.Statvfs(path, &s); err != nil { return Info{}, err }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Feb 26 19:34:50 GMT 2024 - 1.8K bytes - Click Count (0) -
internal/disk/stat_linux_s390x.go
fsTypeHex := strconv.FormatUint(uint64(ftype), 16) fsTypeString, ok := fsType2StringMap[fsTypeHex] if !ok { return "UNKNOWN" } return fsTypeString } // GetInfo returns total and free bytes available in a directory, e.g. `/`. func GetInfo(path string, _ bool) (info Info, err error) { s := syscall.Statfs_t{} err = syscall.Statfs(path, &s) if err != nil { return Info{}, err }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Feb 26 19:34:50 GMT 2024 - 2.6K bytes - Click Count (0) -
internal/disk/stat_linux_32bit.go
fsTypeHex := strconv.FormatInt(int64(ftype), 16) fsTypeString, ok := fsType2StringMap[fsTypeHex] if !ok { return "UNKNOWN" } return fsTypeString } // GetInfo returns total and free bytes available in a directory, e.g. `/`. func GetInfo(path string, _ bool) (info Info, err error) { s := syscall.Statfs_t{} err = syscall.Statfs(path, &s) if err != nil { return Info{}, err }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Feb 26 19:34:50 GMT 2024 - 2.6K bytes - Click Count (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 }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 4.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponse.java
} /** * Gets the file information from the response. * * @return the info */ public final FileInformation getInfo() { return this.info; } /** * Gets the file information from the response cast to the specified type. * * @param <T> the type of file information to returnCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.7K bytes - Click Count (0) -
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) }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Jul 31 22:20:48 GMT 2023 - 1.1K bytes - Click Count (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; }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.7K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbFile.java
return resp.getInfo(clazz); } final 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 {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 103.2K bytes - Click Count (0) -
build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/info/GitInfo.java
import java.util.regex.Pattern; import java.util.stream.Collectors; import java.util.stream.Stream; public class GitInfo { private static final Pattern GIT_PATTERN = Pattern.compile("git@([^:]+):([^\\.]+)\\.git"); private final String revision; private final String origin; private GitInfo(String revision, String origin) { this.revision = revision; this.origin = origin; }Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 7.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/entity/GeoInfo.java
* into OpenSearch geo-distance queries for location-based search functionality. * */ public class GeoInfo { /** The OpenSearch query builder for geographic queries. */ private QueryBuilder builder; /** * Constructs a GeoInfo instance by parsing geographic parameters from the HTTP request. * Extracts geo.{field}.point and geo.{field}.distance parameters to createCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 5.7K bytes - Click Count (0)