- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 1,261 for checkDir (0.14 sec)
-
pkg/volume/util/volumepathhandler/volume_path_handler.go
func unmapBindMountDevice(v VolumePathHandler, mapPath string, linkName string) error { // Check bind mount exists linkPath := filepath.Join(mapPath, string(linkName)) if isMountExist, checkErr := v.IsDeviceBindMountExist(linkPath); checkErr != nil { return checkErr } else if !isMountExist { klog.Warningf("Warning: Unmap skipped because bind mount does not exist on the path: %v", linkPath) // Check if linkPath still exists
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 20 14:49:03 UTC 2023 - 10.7K bytes - Viewed (0) -
src/cmd/compile/internal/types2/assignments.go
// type. context describes the context in which the assignment takes place. // Use T == nil to indicate assignment to an untyped blank identifier. // If the assignment check fails, x.mode is set to invalid. func (check *Checker) assignment(x *operand, T Type, context string) { check.singleValue(x) switch x.mode { case invalid: return // error reported before case nilvalue: assert(isTypes2) // ok
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 23 21:21:43 UTC 2024 - 16.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/healthz/healthz_test.go
testCases := []struct { desc string have []HealthChecker want []string }{ {"no checker", []HealthChecker{}, []string{}}, {"one checker", []HealthChecker{c1}, []string{n1}}, {"other checker", []HealthChecker{c2}, []string{n2}}, {"checker order", []HealthChecker{c1, c2}, []string{n1, n2}}, {"different checker order", []HealthChecker{c2, c1}, []string{n2, n1}}, } for _, tc := range testCases {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 15 20:43:16 UTC 2023 - 11.4K bytes - Viewed (0) -
test/fixedbugs/issue40917.go
// run -gcflags=-d=checkptr // Copyright 2020 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package main import "unsafe" func main() { var x [2]uint64 a := unsafe.Pointer(&x[1]) b := a b = unsafe.Pointer(uintptr(b) + 2) b = unsafe.Pointer(uintptr(b) - 1) b = unsafe.Pointer(uintptr(b) &^ 1) if a != b {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 20 17:48:29 UTC 2020 - 453 bytes - Viewed (0) -
tests/integration/pilot/mcs/discoverability/discoverability_test.go
runForAllClusterCombinations(t, func(t framework.TestContext, from echo.Instance, to echo.Target) { var checker echo.Checker if ht == hostTypeClusterLocal { // For calls to cluster.local, ensure that all requests stay in the same cluster expectedClusters := cluster.Clusters{from.Config().Cluster} checker = checkClustersReached(t.AllClusters(), expectedClusters) } else {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 17.9K bytes - Viewed (0) -
test/fixedbugs/issue59334.go
// run -tags=purego -gcflags=all=-d=checkptr // Copyright 2023 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package main import "crypto/subtle" func main() { dst := make([]byte, 5) src := make([]byte, 5) for _, n := range []int{1024, 2048} { // just to make the size non-constant b := make([]byte, n) subtle.XORBytes(dst, src, b[n-5:])
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 31 23:25:07 UTC 2023 - 448 bytes - Viewed (0) -
pkg/test/echo/server/forwarder/dns.go
return doForward(ctx, cfg, c.e, c.makeRequest) } type dnsRequest struct { hostname string dnsServer string query string protocol string } func checkIn(got string, want ...string) error { for _, w := range want { if w == got { return nil } } return fmt.Errorf("got value %q, wanted one of %v", got, want) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 10 18:09:08 UTC 2022 - 3.3K bytes - Viewed (0) -
src/go/types/typeparam.go
// constraint is non-nil, it must be fully defined. func NewTypeParam(obj *TypeName, constraint Type) *TypeParam { return (*Checker)(nil).newTypeParam(obj, constraint) } // check may be nil func (check *Checker) newTypeParam(obj *TypeName, constraint Type) *TypeParam { // Always increment lastID, even if it is not used. id := nextID() if check != nil { check.nextID++
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 20:03:31 UTC 2024 - 5.1K bytes - Viewed (0) -
schema/naming_test.go
if idxName != "idx_public_table_name" { t.Errorf("invalid index name generated, got %v", idxName) } chkName := ns.CheckerName("public.table", "name") if chkName != "chk_public_table_name" { t.Errorf("invalid checker name generated, got %v", chkName) } joinTable := ns.JoinTableName("user_languages") if joinTable != "public.user_languages" { t.Errorf("invalid join table generated, got %v", joinTable) }
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Tue May 30 02:00:48 UTC 2023 - 7K bytes - Viewed (0) -
platforms/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/enterprise/BaseBuildScanPluginCheckInFixture.groovy
def result = checkInService.checkIn(pluginMetadata, serviceFactory) if (result.unsupportedMessage == null) { println "${propertyPrefix}.checkIn.supported" settings.gradle.extensions.add("serviceRef", result.pluginServiceRef) } else { println "${propertyPrefix}.checkIn.unsupported.reasonMessage = \$result.unsupportedMessage"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 21 11:17:11 UTC 2024 - 11.1K bytes - Viewed (0)