- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 163 for filedata (0.08 sec)
-
cni/pkg/pluginlistener/listener.go
// See the License for the specific language governing permissions and // limitations under the License. package pluginlistener import ( "fmt" "net" "os" "path/filepath" "istio.io/istio/pkg/log" ) func NewListener(path string) (net.Listener, error) { // Remove unix socket before use. if err := os.Remove(path); err != nil && !os.IsNotExist(err) {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jan 26 20:34:28 UTC 2024 - 1.7K bytes - Viewed (0) -
misc/go_android_exec/main.go
return err } if err := adb("push", filepath.Join(goroot, "pkg", "include"), path.Join(deviceGoroot, "pkg", "include")); err != nil { return err } cmd = exec.Command(goTool, "list", "-f", "{{.Target}}", "cmd/compile") cmd.Stderr = os.Stderr out, err = cmd.Output() if err != nil { return fmt.Errorf("%v: %w", cmd, err) } platformToolDir := filepath.Dir(string(bytes.TrimSpace(out)))
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Aug 21 17:46:57 UTC 2023 - 15.3K bytes - Viewed (0) -
istioctl/pkg/multicluster/remote_secret_test.go
// See the License for the specific language governing permissions and // limitations under the License. package multicluster import ( "bytes" "errors" "fmt" "path/filepath" "strings" "testing" "time" "github.com/google/go-cmp/cmp" . "github.com/onsi/gomega" "github.com/spf13/pflag" v1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 24 17:36:49 UTC 2024 - 20.7K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/FileTransformer.java
final String encoding = accessResultData.getEncoding(); String filePath; try { filePath = new String(data, encoding == null ? Constants.UTF_8 : encoding); } catch (final UnsupportedEncodingException e) { filePath = new String(data, Constants.UTF_8_CHARSET); } return new File(baseDir, filePath); } public String getPath() { return path; }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 7.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java
} } Path filePath = ResourceUtil.getSitePath(path.replaceAll("\\.\\.+", StringUtil.EMPTY).replaceAll("/+", "/").split("/")); if (Files.isDirectory(filePath)) { filePath = filePath.resolve("index.html"); } if (Files.exists(filePath)) { try (InputStream in = Files.newInputStream(filePath); ServletOutputStream out = response.getOutputStream()) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Aug 15 08:29:24 UTC 2024 - 11.3K bytes - Viewed (0) -
cmd/erasure-healing-common_test.go
// and check if that disk // appears in outDatedDisks. tamperedIndex = index filePath := pathJoin(erasureDisks[index].String(), bucket, object, fi.DataDir, "part.1") f, err := os.OpenFile(filePath, os.O_WRONLY|os.O_SYNC, 0) if err != nil { t.Fatalf("Failed to open %s: %s\n", filePath, err) } f.WriteString("oops") // Will cause bitrot error f.Close() break }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 01 15:19:10 UTC 2024 - 23.1K bytes - Viewed (0) -
istioctl/cmd/root.go
) const ( FlagCharts = "charts" ) // ConfigAndEnvProcessing uses spf13/viper for overriding CLI parameters func ConfigAndEnvProcessing() error { configPath := filepath.Dir(root.IstioConfig) baseName := filepath.Base(root.IstioConfig) configType := filepath.Ext(root.IstioConfig) configName := baseName[0 : len(baseName)-len(configType)] if configType != "" { configType = configType[1:] }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Aug 05 02:08:47 UTC 2024 - 9.6K bytes - Viewed (0) -
cni/pkg/install/install.go
// See the License for the specific language governing permissions and // limitations under the License. package install import ( "context" "fmt" "os" "path/filepath" "strings" "sync/atomic" "time" "golang.org/x/time/rate" "istio.io/istio/cni/pkg/config" "istio.io/istio/cni/pkg/constants" "istio.io/istio/cni/pkg/scopes" "istio.io/istio/cni/pkg/util"
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Aug 09 21:33:51 UTC 2024 - 13.5K bytes - Viewed (0) -
cni/pkg/pluginlistener/listener_test.go
// limitations under the License. package pluginlistener import ( "context" "net" "path/filepath" "testing" "google.golang.org/grpc" "google.golang.org/grpc/credentials/insecure" ) func TestCNIListener(t *testing.T) { f := filepath.Join(t.TempDir(), "test") l, err := NewListener(f) if err != nil { t.Fatalf("unexpected error %v", err) } defer l.Close()
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Feb 08 21:58:32 UTC 2024 - 1.4K bytes - Viewed (0) -
tests/tests_test.go
package tests_test import ( "log" "math/rand" "os" "path/filepath" "time" "gorm.io/driver/mysql" "gorm.io/driver/postgres" "gorm.io/driver/sqlite" "gorm.io/driver/sqlserver" "gorm.io/gorm" "gorm.io/gorm/logger" . "gorm.io/gorm/utils/tests" ) var DB *gorm.DB var ( mysqlDSN = "gorm:gorm@tcp(localhost:9910)/gorm?charset=utf8&parseTime=True&loc=Local"
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Sep 30 03:21:19 UTC 2024 - 3.3K bytes - Viewed (0)