- Sort Score
- Result 10 results
- Languages All
Results 491 - 500 of 1,209 for structs (0.05 sec)
-
tests/tracer_test.go
package tests_test import ( "context" "time" "gorm.io/gorm/logger" ) type Tracer struct { Logger logger.Interface Test func(ctx context.Context, begin time.Time, fc func() (sql string, rowsAffected int64), err error) } func (S Tracer) LogMode(level logger.LogLevel) logger.Interface { return S.Logger.LogMode(level) } func (S Tracer) Info(ctx context.Context, s string, i ...interface{}) {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Tue Oct 18 09:28:06 UTC 2022 - 830 bytes - Viewed (0) -
cmd/mrf.go
type PartialOperation struct { Bucket string Object string VersionID string Versions []byte SetIndex, PoolIndex int Queued time.Time BitrotScan bool } // mrfState sncapsulates all the information // related to the global background MRF. type mrfState struct { opCh chan PartialOperation closed int32
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 13 22:26:05 UTC 2024 - 6.5K bytes - Viewed (0) -
tensorflow/c/eager/c_api_internal.h
#include "tensorflow/c/eager/tfe_tensor_debug_info_internal.h" // IWYU pragma: export // TODO(b/154564140): Move this to its own header. This requires splitting // c_api_experimental.h struct TFE_ContextOptions { TF_SessionOptions session_options; // true if async execution is enabled. bool async = false; TFE_ContextDevicePlacementPolicy device_placement_policy{ TFE_DEVICE_PLACEMENT_SILENT};
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Jan 18 19:26:34 UTC 2023 - 1.9K bytes - Viewed (0) -
istioctl/pkg/multicluster/options.go
"istio.io/istio/istioctl/pkg/cli" ) const ( clusterNameAnnotationKey = "networking.istio.io/cluster" ) // KubeOptions contains kubernetes options common to all commands. type KubeOptions struct { Kubeconfig string Context string Namespace string } // Inherit the common kubernetes flags defined in the root package. This is a bit of a hack,
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Aug 01 23:59:49 UTC 2023 - 1.6K bytes - Viewed (0) -
cmd/api-utils_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "fmt" "testing" ) func TestS3EncodeName(t *testing.T) { testCases := []struct { inputText, encodingType, expectedOutput string }{ {"a b", "", "a b"}, {"a b", "url", "a+b"}, {"p- ", "url", "p-+"}, {"p-%", "url", "p-%25"}, {"p/", "url", "p/"}, {"p/", "url", "p/"},
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Jan 02 17:15:06 UTC 2022 - 1.5K bytes - Viewed (0) -
internal/bucket/lifecycle/error.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package lifecycle import ( "fmt" ) // Error is the generic type for any error happening during tag // parsing. type Error struct { err error } // Errorf - formats according to a format specifier and returns // the string as a value that satisfies error of type tagging.Error func Errorf(format string, a ...interface{}) error {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 1.3K bytes - Viewed (0) -
internal/bucket/versioning/error.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package versioning import ( "fmt" ) // Error is the generic type for any error happening during tag // parsing. type Error struct { err error } // Errorf - formats according to a format specifier and returns // the string as a value that satisfies error of type tagging.Error func Errorf(format string, a ...interface{}) error {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 1.3K bytes - Viewed (0) -
cmd/osmetric_string.go
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[osMetricRemoveAll-0] _ = x[osMetricMkdirAll-1] _ = x[osMetricMkdir-2] _ = x[osMetricRename-3] _ = x[osMetricOpenFileW-4] _ = x[osMetricOpenFileR-5] _ = x[osMetricOpenFileWFd-6]
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Feb 15 01:09:38 UTC 2024 - 1.3K bytes - Viewed (0) -
tests/prepared_stmt_test.go
if !ok { t.Fatalf("should assign PreparedStatement Manager back to database when using PrepareStmt mode") } loopCount := 100 var wg sync.WaitGroup var unexpectedError bool writerFinish := make(chan struct{}) wg.Add(1) go func(id uint) { defer wg.Done() defer close(writerFinish) for j := 0; j < loopCount; j++ { var tmp User err := tx.Session(&gorm.Session{}).First(&tmp, id).Error
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Aug 22 11:02:05 UTC 2024 - 8.5K bytes - Viewed (0) -
cni/pkg/install/install_test.go
testutils "istio.io/istio/pilot/test/util" "istio.io/istio/pkg/file" "istio.io/istio/pkg/test/util/assert" "istio.io/istio/pkg/util/sets" ) func TestCheckInstall(t *testing.T) { cases := []struct { name string expectedFailure bool cniConfigFilename string cniConfName string chainedCNIPlugin bool existingConfFiles map[string]string // {srcFilename: targetFilename, ...} }{
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jan 26 20:34:28 UTC 2024 - 11.1K bytes - Viewed (0)