- Sort Score
- Num 10 results
- Language All
Results 801 - 810 of 3,004 for if (0.01 seconds)
-
cmd/config-current_test.go
) if err != nil { t.Fatal(err) } if site.Region() != "us-west-1" { t.Errorf("Expecting region `us-west-1` found %s", globalSite.Region()) } if err := saveServerConfig(t.Context(), objLayer, globalServerConfig); err != nil { t.Fatalf("Unable to save updated config file %s", err) } // Initialize server config. if err := loadConfig(objLayer, nil); err != nil {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 1.9K bytes - Click Count (0) -
migrator/column_type.go
DefaultValueValue sql.NullString } // Name returns the name or alias of the column. func (ct ColumnType) Name() string { if ct.NameValue.Valid { return ct.NameValue.String } return ct.SQLColumnType.Name() } // DatabaseTypeName returns the database system name of the column type. If an empty // string is returned, then the driver type name is not supported.
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Thu Mar 24 01:31:58 GMT 2022 - 3.3K bytes - Click Count (0) -
tests/associations_has_many_test.go
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Fri Sep 12 04:33:27 GMT 2025 - 16.3K bytes - Click Count (0) -
internal/grid/grid_test.go
errFatal(resp.Err) if resp.Msg[0] != byte(got) { t.Error("expected response", got, "got", resp.Msg[0]) } got++ } if got != 100 { t.Error("expected 100 responses, got", got) } } func testServerInCongestion(t *testing.T, local, remote *Manager) { defer testlogger.T.SetErrorTB(t)() errFatal := func(err error) { t.Helper() if err != nil { t.Fatal(err) } }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 36.1K bytes - Click Count (0) -
internal/config/storageclass/storage-class.go
defer ConfigLock.RUnlock() switch strings.TrimSpace(sc) { case RRS: if !sCfg.initialized { return -1 } return sCfg.RRS.Parity default: if !sCfg.initialized { return -1 } return sCfg.Standard.Parity } } // ShouldInline returns true if the shardSize is worthy of inline // if versioned is true then we chosen 1/8th inline block size // to satisfy the same constraints.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 12.3K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Init.java
boolean force = context.options().force().orElse(false); boolean yes = context.options().yes().orElse(false); if (configExists() && !force) { context.logger.error(messageBuilderFactory .builder() .error("Error: configuration exist. Use --force if you want to reset existing configuration.") .build()); return BAD_OPERATION; }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jun 11 13:14:09 GMT 2025 - 12K bytes - Click Count (0) -
utils/tests/utils.go
} if got != nil { got = reflect.Indirect(reflect.ValueOf(got)).Interface() } if expect != nil { expect = reflect.Indirect(reflect.ValueOf(expect)).Interface() } if reflect.ValueOf(got).IsValid() != reflect.ValueOf(expect).IsValid() { t.Errorf("%v: expect: %+v, got %+v", utils.FileWithLineNum(), expect, got) return } if reflect.ValueOf(got).Kind() == reflect.Slice {Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Fri Mar 10 09:21:56 GMT 2023 - 3.9K bytes - Click Count (0) -
cmd/xl-storage-errors.go
} if errors.Is(err, syscall.EEXIST) && runtime.GOOS == "solaris" { return true } var pathErr *os.PathError if errors.As(err, &pathErr) { if runtime.GOOS == globalWindowsOSName { var errno syscall.Errno if errors.As(pathErr.Err, &errno) { // ERROR_DIR_NOT_EMPTY return errno == 0x91 } } } return false } // Check if the given error corresponds to the specific ERROR_PATH_NOT_FOUND for windows
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Mar 06 16:56:29 GMT 2023 - 3.8K bytes - Click Count (0) -
.teamcity/src/main/kotlin/common/CommonExtensions.kt
useGradleWrapper = true if (buildFile == null) { buildFile = "" // Let Gradle detect the build script } skipConditionally(buildType) } fun Requirements.requiresOs(os: Os) { contains("teamcity.agent.jvm.os.name", os.agentRequirement) } fun Requirements.requiresArch( os: Os, arch: Arch, ) { if (os == Os.MACOS) {Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Mon Dec 22 07:15:16 GMT 2025 - 15.6K bytes - Click Count (0) -
internal/crypto/metadata_test.go
keyID, dataKey, sealedKey, err := S3.ParseMetadata(test.Metadata) if err != nil && test.ExpectedErr == nil { t.Errorf("Test %d: got error '%v' - want error '%v'", i, err, test.ExpectedErr) } if err == nil && test.ExpectedErr != nil { t.Errorf("Test %d: got error '%v' - want error '%v'", i, err, test.ExpectedErr) } if err != nil && test.ExpectedErr != nil { if err.Error() != test.ExpectedErr.Error() {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Jul 12 20:51:54 GMT 2024 - 18.7K bytes - Click Count (0)