Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 187 for file_path (0.11 sec)

  1. src/cmd/addr2line/addr2line_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"bufio"
    	"bytes"
    	"internal/testenv"
    	"os"
    	"path/filepath"
    	"runtime"
    	"strings"
    	"testing"
    )
    
    // TestMain executes the test binary as the addr2line command if
    // GO_ADDR2LINETEST_IS_ADDR2LINE is set, and runs the tests otherwise.
    func TestMain(m *testing.M) {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Sep 06 13:23:48 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. 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: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Oct 15 15:39:28 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java

            responseData.setMethod(Constants.GET_METHOD);
            final String filePath = preprocessUri(uri);
            responseData.setUrl(filePath);
    
            SmbFile file = null;
            final SmbAuthentication smbAuthentication = smbAuthenticationHolder.get(filePath);
            if (logger.isDebugEnabled()) {
                logger.debug("Creating SmbFile: {}", filePath);
            }
            try {
                if (smbAuthentication == null) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  4. internal/disk/directio_darwin.go

    )
    
    // ODirectPlatform indicates if the platform supports O_DIRECT
    const ODirectPlatform = true
    
    // OpenFileDirectIO - bypass kernel cache.
    func OpenFileDirectIO(filePath string, flag int, perm os.FileMode) (*os.File, error) {
    	return directio.OpenFile(filePath, flag, perm)
    }
    
    // DisableDirectIO - disables directio mode.
    func DisableDirectIO(f *os.File) error {
    	fd := f.Fd()
    	_, err := unix.FcntlInt(fd, unix.F_NOCACHE, 0)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jun 17 14:31:36 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  5. cni/pkg/install/binaries.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package install
    
    import (
    	"os"
    	"path/filepath"
    
    	"istio.io/istio/pkg/file"
    	"istio.io/istio/pkg/util/sets"
    )
    
    // Copies/mirrors any files present in a single source dir to N number of target dirs
    // and returns a set of the filenames copied.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jun 28 19:12:54 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  6. ci/devinfra/docker/windows/Dockerfile

             'https://repo.msys2.org/distrib/x86_64/msys2-base-x86_64-20240113.tar.xz', \
             'msys2.tar.xz'); \
        Start-Process -FilePath \"C:\Program Files\7-Zip\7z.exe\" -ArgumentList 'x msys2.tar.xz -oC:\TEMP\msys2.tar' -Wait; \
        Start-Process -FilePath \"C:\Program Files\7-Zip\7z.exe\" -ArgumentList 'x C:\TEMP\msys2.tar -oC:\tools' -Wait; \
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Aug 20 13:57:04 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  7. internal/disk/directio_unix.go

    )
    
    // ODirectPlatform indicates if the platform supports O_DIRECT
    const ODirectPlatform = true
    
    // OpenFileDirectIO - bypass kernel cache.
    func OpenFileDirectIO(filePath string, flag int, perm os.FileMode) (*os.File, error) {
    	return directio.OpenFile(filePath, flag, perm)
    }
    
    // DisableDirectIO - disables directio mode.
    func DisableDirectIO(f *os.File) error {
    	fd := f.Fd()
    	flag, err := unix.FcntlInt(fd, unix.F_GETFL, 0)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jun 17 14:31:36 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  8. go.mod

    	github.com/mattn/go-runewidth v0.0.16 // indirect
    	github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
    	github.com/minio/colorjson v1.0.8 // indirect
    	github.com/minio/filepath v1.0.0 // indirect
    	github.com/minio/mc v0.0.0-20240909075310-04c5116c9bdf // indirect
    	github.com/minio/md5-simd v1.1.2 // indirect
    	github.com/minio/websocket v1.6.0 // indirect
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  9. 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: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 18:38:14 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  10. lib/time/mkzip.go

    	zw := zip.NewWriter(&zb)
    	seen := make(map[string]bool)
    	err := filepath.WalkDir(".", func(path string, d fs.DirEntry, err error) error {
    		if d.IsDir() {
    			return nil
    		}
    		data, err := os.ReadFile(path)
    		if err != nil {
    			log.Fatal(err)
    		}
    		if strings.HasSuffix(path, ".zip") {
    			log.Fatalf("unexpected file during walk: %s", path)
    		}
    		name := filepath.ToSlash(path)
    		w, err := zw.CreateRaw(&zip.FileHeader{
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Mar 04 17:32:07 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top