Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for fileName (0.06 sec)

  1. cmd/xl-storage_test.go

    	if err := storage.WriteAll(context.Background(), volName, fileName, data); err != nil {
    		t.Fatal(err)
    	}
    	if err := storage.storage.bitrotVerify(context.Background(), pathJoin(path, volName, fileName), size, algo, hashBytes, 0); err != nil {
    		t.Fatal(err)
    	}
    
    	// 2) Whole-file bitrot check on corrupted file
    	if err := storage.AppendFile(context.Background(), volName, fileName, []byte("a")); err != nil {
    		t.Fatal(err)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  2. cmd/bucket-handlers.go

    		return
    	}
    
    	formValues.Set("Bucket", bucket)
    	if fileName != "" && strings.Contains(formValues.Get("Key"), "${filename}") {
    		// S3 feature to replace ${filename} found in Key form field
    		// by the filename attribute passed in multipart
    		formValues.Set("Key", strings.ReplaceAll(formValues.Get("Key"), "${filename}", fileName))
    	}
    	object := trimLeadingSlash(formValues.Get("Key"))
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
  3. cmd/batch-handlers.go

    	var fileName string
    	switch {
    	case j.Replicate != nil:
    		fileName = batchReplName
    	case j.KeyRotate != nil:
    		fileName = batchKeyRotationName
    	case j.Expire != nil:
    		fileName = batchExpireName
    	default:
    		return "", errors.New("unknown job type")
    	}
    	return pathJoin(batchJobReportsPrefix, j.ID, fileName), nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  4. istioctl/pkg/proxyconfig/proxyconfig.go

    	return setupConfigdumpEnvoyConfigWriter(debug, out)
    }
    
    func readFile(filename string) ([]byte, error) {
    	file := os.Stdin
    	if filename != "-" {
    		var err error
    		file, err = os.Open(filename)
    		if err != nil {
    			return nil, err
    		}
    	}
    	defer func() {
    		if err := file.Close(); err != nil {
    			log.Errorf("failed to close %s: %s", filename, err)
    		}
    	}()
    	return io.ReadAll(file)
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 15:53:49 UTC 2024
    - 50.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbFile.java

         * identical to the list returned by the parameterless <code>list()</code>
         * method minus filenames filtered by the specified filter.
         *
         * @param filter
         *            a filename filter to exclude filenames from the results
         * @return <code>String[]</code> array of matching files and directories,
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (0)
  6. src/archive/zip/reader_test.go

    	if err == nil {
    		t.Errorf("archive/zip.NewReader: expected error when negative size is passed")
    	}
    }
    
    func messWith(fileName string, corrupter func(b []byte)) (r io.ReaderAt, size int64) {
    	data, err := os.ReadFile(filepath.Join("testdata", fileName))
    	if err != nil {
    		panic("Error reading " + fileName + ": " + err.Error())
    	}
    	corrupter(data)
    	return bytes.NewReader(data), int64(len(data))
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 25 00:25:45 UTC 2024
    - 55.6K bytes
    - Viewed (0)
  7. CHANGELOG/CHANGELOG-1.3.md

    <!-- NEW RELEASE NOTES ENTRY -->
    
    
    # v1.3.10
    
    [Documentation](http://kubernetes.github.io) & [Examples](http://releases.k8s.io/release-1.3/examples)
    
    ## Downloads for v1.3.10
    
    
    filename | sha256 hash
    -------- | -----------
    [kubernetes.tar.gz](https://storage.googleapis.com/kubernetes-release/release/v1.3.10/kubernetes.tar.gz) | `0f61517fbab1feafbe1024da0b88bfe16e61fed7e612285d70e3ecb53ce518cf`
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Thu Dec 24 02:28:26 UTC 2020
    - 84K bytes
    - Viewed (0)
  8. cmd/admin-handlers-users.go

    	// of bucket metadata
    	zipWriter := zip.NewWriter(w)
    	defer zipWriter.Close()
    	rawDataFn := func(r io.Reader, filename string, sz int) error {
    		header, zerr := zip.FileInfoHeader(dummyFileInfo{
    			name:    filename,
    			size:    int64(sz),
    			mode:    0o600,
    			modTime: time.Now(),
    			isDir:   false,
    			sys:     nil,
    		})
    		if zerr != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 03 23:11:02 UTC 2024
    - 85.1K bytes
    - Viewed (0)
  9. tensorflow/c/c_api.h

    // with the printed messages and immediately return without writing to the
    // logs.
    TF_CAPI_EXPORT extern void TF_RegisterLogListener(
        void (*listener)(const char*));
    
    // Register a FileSystem plugin from filename `plugin_filename`.
    //
    // On success, place OK in status.
    // On failure, place an error status in status.
    TF_CAPI_EXPORT extern void TF_RegisterFilesystemPlugin(
        const char* plugin_filename, TF_Status* status);
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  10. cmd/sts-handlers_test.go

    		exportContent[k] = []byte(v)
    	}
    
    	var importContent []byte
    	{
    		var b bytes.Buffer
    		zipWriter := zip.NewWriter(&b)
    		rawDataFn := func(r io.Reader, filename string, sz int) error {
    			header, zerr := zip.FileInfoHeader(dummyFileInfo{
    				name:    filename,
    				size:    int64(sz),
    				mode:    0o600,
    				modTime: time.Now(),
    				isDir:   false,
    				sys:     nil,
    			})
    			if zerr != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 97.1K bytes
    - Viewed (0)
Back to top