- Sort Score
- Result 10 results
- Languages All
Results 601 - 610 of 1,387 for funcs (0.02 sec)
-
internal/disk/directio_darwin.go
const ODirectPlatform = true // OpenFileDirectIO - bypass kernel cache. func OpenFileDirectIO(filePath string, flag int, perm os.FileMode) (*os.File, error) { return directio.OpenFile(filePath, flag, perm) } // DisableDirectIO - disables directio mode. func DisableDirectIO(f *os.File) error { fd := f.Fd() _, err := unix.FcntlInt(fd, unix.F_NOCACHE, 0) return err }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Jun 17 14:31:36 UTC 2023 - 1.4K bytes - Viewed (0) -
istioctl/pkg/analyze/analyze.go
const FileParseString = "Some files couldn't be parsed." func (f AnalyzerFoundIssuesError) Error() string { var sb strings.Builder sb.WriteString(fmt.Sprintf("Analyzers found issues when analyzing %s.\n", analyzeTargetAsString())) sb.WriteString(fmt.Sprintf("See %s for more information about causes and resolutions.", url.ConfigAnalysis)) return sb.String() } func (f FileParseError) Error() string { return FileParseString }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 31 06:53:50 UTC 2024 - 17.6K bytes - Viewed (0) -
cmd/decommetric_string.go
// Code generated by "stringer -type=decomMetric -trimprefix=decomMetric erasure-server-pool-decom.go"; DO NOT EDIT. package cmd import "strconv" func _() { // An "invalid array index" compiler error signifies that the constant values have changed. // Re-run the stringer command to generate them again. var x [1]struct{} _ = x[decomMetricDecommissionBucket-0] _ = x[decomMetricDecommissionObject-1] _ = x[decomMetricDecommissionRemoveObject-2]
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 10 19:46:45 UTC 2022 - 830 bytes - Viewed (0) -
clause/delete.go
package clause type Delete struct { Modifier string } func (d Delete) Name() string { return "DELETE" } func (d Delete) Build(builder Builder) { builder.WriteString("DELETE") if d.Modifier != "" { builder.WriteByte(' ') builder.WriteString(d.Modifier) } } func (d Delete) MergeClause(clause *Clause) { clause.Name = "" clause.Expression = d
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Mar 09 09:07:00 UTC 2020 - 359 bytes - Viewed (0) -
tensorflow/c/eager/c_api_distributed_test.cc
ASSERT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status); TFE_Op* func = TFE_NewOp(ctx, "AddVariablesFunction", status); ASSERT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status); TFE_OpAddInput(func, packed_handle, status); ASSERT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status); if (remote) { TFE_OpSetDevice(func, task1_name, status); ASSERT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status); }
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 23.4K bytes - Viewed (0) -
schema/pool.go
package schema import ( "reflect" "sync" ) // sync pools var ( normalPool sync.Map poolInitializer = func(reflectType reflect.Type) FieldNewValuePool { v, _ := normalPool.LoadOrStore(reflectType, &sync.Pool{ New: func() interface{} { return reflect.New(reflectType).Interface() }, }) return v.(FieldNewValuePool) }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Apr 11 13:37:44 UTC 2022 - 345 bytes - Viewed (0) -
cmd/bucket-lifecycle_test.go
import ( "bytes" "net/http" "testing" "time" "github.com/minio/minio/internal/bucket/lifecycle" xhttp "github.com/minio/minio/internal/http" ) // TestParseRestoreObjStatus tests parseRestoreObjStatus func TestParseRestoreObjStatus(t *testing.T) { testCases := []struct { restoreHdr string expectedStatus restoreObjStatus expectedErr error }{ { // valid: represents a restored object, 'pending' expiry.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue May 31 09:57:57 UTC 2022 - 7K bytes - Viewed (0) -
istioctl/pkg/proxystatus/proxystatus.go
pilotxds "istio.io/istio/pilot/pkg/xds" "istio.io/istio/pkg/log" ) var configDumpFile string func readConfigFile(filename string) ([]byte, error) { file := os.Stdin if filename != "-" { var err error file, err = os.Open(filename) if err != nil { return nil, err } } defer func() { if err := file.Close(); err != nil { log.Errorf("failed to close %s: %s", filename, err) } }()
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 6.2K bytes - Viewed (0) -
cmd/api-utils.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "fmt" "net/http" "reflect" "runtime" "strings" ) func shouldEscape(c byte) bool { if 'A' <= c && c <= 'Z' || 'a' <= c && c <= 'z' || '0' <= c && c <= '9' { return false } switch c { case '-', '_', '.', '/', '*': return false } return true }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Mar 04 18:05:56 UTC 2024 - 2.8K bytes - Viewed (0) -
internal/grid/debugmsg_string.go
// Code generated by "stringer -type=debugMsg debug.go"; DO NOT EDIT. package grid import "strconv" func _() { // An "invalid array index" compiler error signifies that the constant values have changed. // Re-run the stringer command to generate them again. var x [1]struct{} _ = x[debugShutdown-0] _ = x[debugKillInbound-1] _ = x[debugKillOutbound-2] _ = x[debugWaitForExit-3] _ = x[debugSetConnPingDuration-4]
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jun 07 15:51:52 UTC 2024 - 1K bytes - Viewed (0)