- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 46 for IsType (0.07 sec)
-
internal/mountinfo/mountinfo_linux_test.go
} } } } // Helpers for tests. // Check if two `mountInfo` are equal. func mountPointsEqual(a, b mountInfo) bool { if a.Device != b.Device || a.Path != b.Path || a.FSType != b.FSType || !slicesEqual(a.Options, b.Options) || a.Pass != b.Pass || a.Freq != b.Freq { return false } return true } // Checks if two string slices are equal. func slicesEqual(a, b []string) bool {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 7.3K bytes - Viewed (0) -
src/main/resources/crawler/transformer.xml
<property name="childUrlRuleMap">htmlUrlRuleMap</property> <!-- <property name="invalidUrlPattern">@java.util.regex.Pattern@compile("^\\s*javascript:|^\\s*mailto:|^\\s*irc:|^\\s*skype:|^\\s*callto:",@java.util.regex.Pattern@CASE_INSENSITIVE)</property> --> <property name="convertUrlMap"> {"feed:" : "http:"} </property> <!-- segment --> <postConstruct name="addFieldRule">
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Jan 10 03:35:10 UTC 2019 - 1.6K bytes - Viewed (0) -
cmd/auth-handler.go
} func reqSignatureV4Verify(r *http.Request, region string, stype serviceType) (s3Error APIErrorCode) { sha256sum := getContentSha256Cksum(r, stype) switch { case isRequestSignatureV4(r): return doesSignatureMatch(sha256sum, r, region, stype) case isRequestPresignedSignatureV4(r): return doesPresignedSignatureMatch(sha256sum, r, region, stype) default: return ErrAccessDenied } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 17 16:45:46 UTC 2024 - 26.1K bytes - Viewed (0) -
internal/disk/stat_bsd.go
return Info{}, err } reservedBlocks := s.Bfree - s.Bavail info = Info{ Total: uint64(s.Bsize) * (s.Blocks - reservedBlocks), Free: uint64(s.Bsize) * s.Bavail, Files: s.Files, Ffree: s.Ffree, FSType: getFSType(s.Fstypename[:]), } if info.Free > info.Total { return info, fmt.Errorf("detected free space (%d) > total drive space (%d), fs corruption at (%s). please run 'fsck'", info.Free, info.Total, path) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Feb 26 19:34:50 UTC 2024 - 1.7K bytes - Viewed (0) -
ci/official/utilities/setup.sh
fi export project_name="$TFCI_INSTALLER_WHL_PROJECT_NAME" fi # Mac builds have some specific setup needs. See setup_macos.sh for details if [[ "${OSTYPE}" =~ darwin* ]]; then source ./ci/official/utilities/setup_macos.sh fi # Create and expand to the full path of TFCI_OUTPUT_DIR export TFCI_OUTPUT_DIR=$(realpath "$TFCI_OUTPUT_DIR") mkdir -p "$TFCI_OUTPUT_DIR"
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Aug 07 23:01:25 UTC 2024 - 6K bytes - Viewed (0) -
internal/disk/stat_windows.go
} info = Info{ Total: uint64(lpTotalNumberOfBytes), Free: uint64(lpTotalNumberOfFreeBytes), Used: uint64(lpTotalNumberOfBytes) - uint64(lpTotalNumberOfFreeBytes), FSType: getFSType(path), } // Return values of GetDiskFreeSpace() lpSectorsPerCluster := uint32(0) lpBytesPerSector := uint32(0) lpNumberOfFreeClusters := uint32(0) lpTotalNumberOfClusters := uint32(0)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Feb 26 19:34:50 UTC 2024 - 4.1K bytes - Viewed (0) -
internal/disk/stat_linux.go
} reservedBlocks := s.Bfree - s.Bavail info = Info{ Total: uint64(s.Frsize) * (s.Blocks - reservedBlocks), Free: uint64(s.Frsize) * s.Bavail, Files: s.Files, Ffree: s.Ffree, //nolint:unconvert FSType: getFSType(int64(s.Type)), } st := syscall.Stat_t{} err = syscall.Stat(path, &st) if err != nil { return Info{}, err } //nolint:unconvert devID := uint64(st.Dev) // Needed to support multiple GOARCHs
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Feb 26 19:34:50 UTC 2024 - 4.8K bytes - Viewed (0) -
cmd/signature-v4-utils.go
return r.ContentLength > 0 && !globalServerCtxt.StrictS3Compat } return false } // Returns SHA256 for calculating canonical-request. func getContentSha256Cksum(r *http.Request, stype serviceType) string { if stype == serviceSTS { payload, err := io.ReadAll(io.LimitReader(r.Body, stsRequestBodyLimit)) if err != nil { logger.CriticalIf(GlobalContext, err) } sum256 := sha256.Sum256(payload)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jun 13 22:26:38 UTC 2024 - 9.1K bytes - Viewed (0) -
cmd/metacache-walk.go
// On success a sorted meta cache stream will be returned. // Metadata has data stripped, if any. func (s *xlStorage) WalkDir(ctx context.Context, opts WalkDirOptions, wr io.Writer) (err error) { legacyFS := !(s.fsType == xfs || s.fsType == ext4) s.RLock() legacy := s.formatLegacy s.RUnlock() // Verify if volume is valid and it exists. volumeDir, err := s.getVolDir(opts.Bucket) if err != nil { return err }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Jun 01 05:17:37 UTC 2024 - 12.4K bytes - Viewed (0) -
internal/mountinfo/mountinfo_linux.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Jan 02 17:15:06 UTC 2022 - 4.7K bytes - Viewed (0)