- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 81 for fullpath (0.19 sec)
-
src/cmd/vendor/golang.org/x/telemetry/internal/upload/findwork.go
// 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 upload import ( "os" "path/filepath" "strings" ) // files to handle type work struct { // absolute file names countfiles []string // count files to process readyfiles []string // old reports to upload // relative names
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 21:12:15 UTC 2024 - 3.4K bytes - Viewed (0) -
cmd/metrics-v3-handler.go
matchingMG := make(map[collectorPath]*MetricsGroup) for _, collPath := range h.metricsData.collectorPaths { if collPath.isDescendantOf(path) { if v, ok := h.metricsData.mgMap[collPath]; ok { matchingMG[collPath] = v } else if v, ok := h.metricsData.bucketMGMap[collPath]; ok { matchingMG[collPath] = v } } } if len(matchingMG) == 0 { return nil }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 15 16:06:35 UTC 2024 - 7.6K bytes - Viewed (0) -
cni/pkg/iptables/iptables_test.go
return "ipv4" } func compareToGolden(t *testing.T, ipv6 bool, name string, actual []string) { t.Helper() gotBytes := []byte(strings.Join(actual, "\n")) goldenFile := filepath.Join("testdata", name+".golden") if ipv6 { goldenFile = filepath.Join("testdata", name+"_ipv6.golden") } testutil.CompareContent(t, gotBytes, goldenFile) } func constructTestConfig() *Config { return &Config{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 20:16:04 UTC 2024 - 3.7K bytes - Viewed (0) -
pkg/kubelet/util/util_unix.go
package util import ( "net/url" "path/filepath" ) const ( // unixProtocol is the network protocol of unix socket. unixProtocol = "unix" ) // LocalEndpoint returns the full path to a unix socket at the given endpoint func LocalEndpoint(path, file string) (string, error) { u := url.URL{ Scheme: unixProtocol, Path: path, } return filepath.Join(u.String(), file+".sock"), nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 08:58:18 UTC 2024 - 1.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/internal/telemetry/proginfo.go
// Copyright 2024 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 telemetry import ( "os" "path/filepath" "runtime/debug" "strings" "golang.org/x/mod/module" ) // IsToolchainProgram reports whether a program with the given path is a Go // toolchain program. func IsToolchainProgram(progPath string) bool {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:09:33 UTC 2024 - 1.5K bytes - Viewed (0) -
analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/SymbolByFqName.kt
import org.jetbrains.kotlin.name.Name import org.jetbrains.kotlin.psi.KtFile import java.io.File import java.nio.file.Path object SymbolByFqName { fun getSymbolDataFromFile(filePath: Path): SymbolData { val testFileText = FileUtil.loadFile(filePath.toFile()) val identifier = testFileText.lineSequence().first { line -> SymbolData.identifiers.any { identifier ->
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 29 17:43:55 UTC 2024 - 8K bytes - Viewed (0) -
cni/pkg/install/cniconfig.go
// See the License for the specific language governing permissions and // limitations under the License. package install import ( "context" "encoding/json" "fmt" "os" "path/filepath" "sort" "strings" "github.com/containernetworking/cni/libcni" "istio.io/istio/cni/pkg/config" "istio.io/istio/cni/pkg/plugin" "istio.io/istio/cni/pkg/util" "istio.io/istio/pkg/file" )
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 21 18:32:01 UTC 2024 - 8.3K bytes - Viewed (0) -
pkg/volume/flexvolume/plugin.go
volumeName, err := plugin.GetVolumeName(spec) if err != nil { return "", fmt.Errorf("GetVolumeName failed from getDeviceMountPath: %s", err) } mountsDir := filepath.Join(plugin.host.GetPluginDir(flexVolumePluginName), plugin.driverName, "mounts") return filepath.Join(mountsDir, volumeName), nil } func (plugin *flexVolumePlugin) RequiresFSResize() bool { return plugin.capabilities.RequiresFSResize
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 9.7K bytes - Viewed (0) -
src/cmd/cgo/internal/testerrors/errors_test.go
// license that can be found in the LICENSE file. package errorstest import ( "bytes" "fmt" "internal/testenv" "os" "os/exec" "path/filepath" "regexp" "strconv" "strings" "testing" ) func path(file string) string { return filepath.Join("testdata", file) } func check(t *testing.T, file string) { t.Run(file, func(t *testing.T) { testenv.MustHaveGoBuild(t) testenv.MustHaveCGO(t)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:50:06 UTC 2024 - 4K bytes - Viewed (0) -
src/syscall/dirent_test.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build unix package syscall_test import ( "bytes" "fmt" "os" "path/filepath" "runtime" "slices" "strconv" "strings" "syscall" "testing" "unsafe" ) func TestDirent(t *testing.T) { const ( direntBufSize = 2048 // arbitrary? See https://go.dev/issue/37323.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 3.4K bytes - Viewed (0)