- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for filterNil (0.27 sec)
-
pkg/test/framework/components/echo/check/checkers.go
} // And is an aggregate Checker that requires all Checkers succeed. Any nil Checkers are ignored. func And(checkers ...echo.Checker) echo.Checker { return func(result echo.CallResult, err error) error { for _, c := range filterNil(checkers) { if err := c(result, err); err != nil { return err } } return nil } } // Or is an aggregate Checker that requires at least one Checker succeeds.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Mar 03 16:19:07 UTC 2023 - 17.5K bytes - Viewed (0) -
src/go/ast/filter.go
// always removed. The [File.Comments] list is not changed. // // FilterFile reports whether there are any top-level declarations // left after filtering. func FilterFile(src *File, f Filter) bool { return filterFile(src, f, false) } func filterFile(src *File, f Filter, export bool) bool { j := 0 for _, d := range src.Decls { if filterDecl(d, f, export) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 13.3K bytes - Viewed (0) -
pkg/kubelet/pod_container_deletor_test.go
}, }, } testCases := []struct { filterID string expectedContainersToDelete containerStatusbyCreatedList }{ { "abc", []*kubecontainer.Status{}, }, } for _, test := range testCases { candidates := getContainersToDeleteInPod(test.filterID, &pod, len(pod.ContainerStatuses))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 19 15:48:08 UTC 2020 - 5.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/utils/tf_to_xla_attribute_utils.cc
const int stride_i = mlir::cast<IntegerAttr>(strides[i]).getInt(); const int dilation_i = mlir::cast<IntegerAttr>(dilations[i]).getInt(); const int filter_i = filter_shape.getDimSize(i - 1); Value pad_i_low, pad_i_high; GetSamePaddingValues(builder, loc, input_size_i, filter_i, dilation_i, stride_i, pad_i_low, pad_i_high); temp_padding_values.push_back(scalar_to_rank1(pad_i_low));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 13.3K bytes - Viewed (0) -
platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/Project.java
} private void addResourceFiltersToXml() { Node parent = getXml().appendNode("filteredResources"); int filterId = 1; for (ResourceFilter resourceFilter : resourceFilters) { Node filterNode = parent.appendNode("filter"); filterNode.appendNode("id", filterId++); int type = getResourceFilterType(resourceFilter); filterNode.appendNode("type", type);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 16.5K bytes - Viewed (0) -
src/go/printer/testdata/declarations.input
filter = flag.String("filter", "", "filter file containing permitted package directory paths") filterMin = flag.Int("filter_minutes", 0, "filter file update interval in minutes; disabled if <= 0") filterDelay delayTime // actual filter update interval in minutes; usually filterDelay == filterMin, but filterDelay may back off exponentially ) // formatting of structs type _ struct{}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 13 22:24:31 UTC 2021 - 16.5K bytes - Viewed (0) -
src/go/printer/testdata/declarations.golden
filter = flag.String("filter", "", "filter file containing permitted package directory paths") filterMin = flag.Int("filter_minutes", 0, "filter file update interval in minutes; disabled if <= 0") filterDelay delayTime // actual filter update interval in minutes; usually filterDelay == filterMin, but filterDelay may back off exponentially ) // formatting of structs type _ struct{}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 13 22:24:31 UTC 2021 - 16.2K bytes - Viewed (0) -
src/database/sql/fakedb_test.go
// where types are: "string", [u]int{8,16,32,64}, "bool" // INSERT|<tablename>|col=val,col2=val2,col3=? // SELECT|<tablename>|projectcol1,projectcol2|filtercol=?,filtercol2=? // SELECT|<tablename>|projectcol1,projectcol2|filtercol=?param1,filtercol2=?param2 // // Any of these can be preceded by PANIC|<method>|, to cause the // named method on fakeStmt to panic. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 01 12:38:07 UTC 2024 - 30.3K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/normalization/ConfigureRuntimeClasspathNormalizationIntegrationTest.groovy
static final String PROPERTIES_FILTER_FLAG = "filterProperties" static final String META_INF_FILTER_FLAG = "filterMetaInf" static final String FILE_FILTER_FLAG = "filterFile" enum Api { RUNTIME, ANNOTATION } class ProjectWithRuntimeClasspathNormalization { final TestFile root final TestFile buildCacheDir
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 01 03:07:53 UTC 2023 - 37.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"File.Name", Field, 0}, {"File.Package", Field, 0}, {"File.Scope", Field, 0}, {"File.Unresolved", Field, 0}, {"FileExports", Func, 0}, {"Filter", Type, 0}, {"FilterDecl", Func, 0}, {"FilterFile", Func, 0}, {"FilterFuncDuplicates", Const, 0}, {"FilterImportDuplicates", Const, 0}, {"FilterPackage", Func, 0}, {"FilterUnassociatedComments", Const, 0}, {"ForStmt", Type, 0},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0)