- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 51 for asError (0.16 sec)
-
pkg/kubelet/eviction/helpers_test.go
} } } func TestParsePercentage(t *testing.T) { testCases := map[string]struct { hasError bool value float32 }{ "blah": { hasError: true, }, "25.5%": { value: 0.255, }, "foo%": { hasError: true, }, "12%345": { hasError: true, }, } for input, expected := range testCases { value, err := parsePercentage(input)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 15 23:14:12 UTC 2024 - 106.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/runtime_fallback/runtime_fallback_executor.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 08 00:18:59 UTC 2024 - 9.1K bytes - Viewed (0) -
cmd/preferredimports/preferredimports.go
// Not a full match. continue } alias := string(re.ExpandString(nil, template, importPath, match)) if alias != importName { if !*confirm { fmt.Fprintf(os.Stderr, "%sERROR wrong alias for import \"%s\" should be %s in file %s\n", logPrefix, importPath, alias, pathToFile) a.failed = true } replacements[importName] = alias if imp.Name != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:06:44 UTC 2024 - 7.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterTest.java
suggester.refresh(); SuggestItem[] items2 = getItemSet1(); SuggestIndexResponse response = suggester.indexer().index(items2); assertFalse(response.hasError()); suggester.refresh(); SuggestResponse response2 = suggester.suggest().setSuggestDetail(true).execute().getResponse(); assertEquals(2, response2.getNum()); } @Test
Registered: Wed Jun 12 15:38:08 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 37K bytes - Viewed (0) -
src/syscall/syscall_windows.go
) func (e Errno) Is(target error) bool { switch target { case oserror.ErrPermission: return e == ERROR_ACCESS_DENIED || e == EACCES || e == EPERM case oserror.ErrExist: return e == ERROR_ALREADY_EXISTS || e == ERROR_DIR_NOT_EMPTY || e == ERROR_FILE_EXISTS || e == EEXIST || e == ENOTEMPTY case oserror.ErrNotExist: return e == ERROR_FILE_NOT_FOUND || e == _ERROR_BAD_NETPATH ||
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 11:49:46 UTC 2024 - 52.7K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirPsiTypeProvider.kt
preserveAnnotations: Boolean, ): PsiType? { val coneType = type.coneType with(rootModuleSession.typeContext) { if (!allowErrorTypes && coneType.contains { it.isError() }) { return null } } if (!rootModuleSession.moduleData.platform.has<JvmPlatform>()) return null
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 29 20:26:34 UTC 2024 - 18.4K bytes - Viewed (0) -
src/cmd/go/internal/modload/buildlist.go
} var graphRoots []module.Version if inWorkspaceMode() { graphRoots = roots } else { graphRoots = MainModules.Versions() } var ( mu sync.Mutex // guards mg.g and hasError during loading hasError bool mg = &ModuleGraph{ g: mvs.NewGraph(cmpVersion, graphRoots), } ) if pruning != workspace { if inWorkspaceMode() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 16:04:44 UTC 2024 - 53.8K bytes - Viewed (0) -
src/cmd/cgo/gcc.go
// to where the expansion occurs. We care about where // the expansion occurs, so in that case treat the note // as an error. isError := strings.Contains(line, ": error:") isErrorNote := strings.Contains(line, ": note:") && sawUnmatchedErrors if !isError && !isErrorNote { continue } c1 := strings.Index(line, ":") if c1 < 0 { continue } c2 := strings.Index(line[c1+1:], ":")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:50:06 UTC 2024 - 97K bytes - Viewed (0) -
configure.py
"""Force symlink, equivalent of 'ln -sf'. Args: target: items to link to. link_name: name of the link. """ try: os.symlink(target, link_name) except OSError as e: if e.errno == errno.EEXIST: os.remove(link_name) os.symlink(target, link_name) else: raise e def write_to_bazelrc(line): with open(_TF_BAZELRC, 'a') as f:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jun 10 04:32:44 UTC 2024 - 53.8K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/configurations/DefaultConfigurationSpec.groovy
} def legacyResults = DefaultResolverResults.DefaultLegacyResolverResults.graphResolved( depSpec -> selectedArtifacts(failure), Mock(ResolvedConfiguration) { hasError() >> true } ) DefaultResolverResults.graphResolved(visitedGraphResults, visitedArtifactSet, legacyResults) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 17:30:13 UTC 2024 - 64.8K bytes - Viewed (0)