Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 598 for Kappen (0.18 sec)

  1. internal/ioutil/append-file_nix.go

    package ioutil
    
    import (
    	"io"
    	"os"
    )
    
    // AppendFile - appends the file "src" to the file "dst"
    func AppendFile(dst string, src string, osync bool) error {
    	flags := os.O_WRONLY | os.O_APPEND | os.O_CREATE
    	if osync {
    		flags |= os.O_SYNC
    	}
    	appendFile, err := os.OpenFile(dst, flags, 0o666)
    	if err != nil {
    		return err
    	}
    	defer appendFile.Close()
    
    	srcFile, err := os.Open(src)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 1.3K bytes
    - Viewed (0)
  2. internal/ioutil/append-file_windows.go

    	"os"
    
    	"github.com/minio/minio/internal/lock"
    )
    
    // AppendFile - appends the file "src" to the file "dst"
    func AppendFile(dst string, src string, osync bool) error {
    	appendFile, err := lock.Open(dst, os.O_WRONLY|os.O_APPEND|os.O_CREATE, 0o666)
    	if err != nil {
    		return err
    	}
    	defer appendFile.Close()
    
    	srcFile, err := lock.Open(src, os.O_RDONLY, 0o666)
    	if err != nil {
    		return err
    	}
    	defer srcFile.Close()
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 1.2K bytes
    - Viewed (0)
  3. cmd/speedtest.go

    					Err:              errStr,
    				})
    
    				totalUploadTimes = append(totalUploadTimes, throughputHighestResults[i].UploadTimes...)
    				totalDownloadTimes = append(totalDownloadTimes, throughputHighestResults[i].DownloadTimes...)
    				totalDownloadTTFB = append(totalDownloadTTFB, throughputHighestResults[i].DownloadTTFB...)
    			}
    
    			result.PUTStats.Response = totalUploadTimes.Measure()
    			result.GETStats.Response = totalDownloadTimes.Measure()
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Jan 28 18:04:17 GMT 2024
    - 9K bytes
    - Viewed (0)
  4. cmd/bucket-policy.go

    	data, err := json.Marshal(bucketPolicy)
    	if err != nil {
    		// This should not happen because bucketPolicy is valid to convert to JSON data.
    		return nil, err
    	}
    
    	var policyInfo miniogopolicy.BucketAccessPolicy
    	json := jsoniter.ConfigCompatibleWithStandardLibrary
    	if err = json.Unmarshal(data, &policyInfo); err != nil {
    		// This should not happen because data is valid to JSON data.
    		return nil, err
    	}
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 8K bytes
    - Viewed (0)
  5. internal/store/batch.go

    		if !ok {
    			err = fmt.Errorf("item not found for the key: %v; should not happen;", key)
    			return
    		}
    		orderedItems = append(orderedItems, item)
    		delete(b.items, key)
    	}
    
    	b.keys = b.keys[:0]
    
    	return
    }
    
    // GetByKey will get the batch item by the provided key
    func (b *Batch[K, T]) GetByKey(key K) (T, bool) {
    	b.Lock()
    	defer b.Unlock()
    
    	item, ok := b.items[key]
    	return item, ok
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Oct 07 15:07:38 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  6. .github/ISSUE_TEMPLATE/10_contributor_bug_report.yml

      - type: textarea
        id: current-behavior
        attributes:
          label: Current Behavior
          description: Tell us what happens
        validations:
          required: true
      - type: textarea
        id: expected-behavior
        attributes:
          label: Expected Behavior
          description: Tell us what should happen
        validations:
          required: true
      - type: textarea
        id: context
        attributes:
    Others
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Fri Feb 16 07:49:32 GMT 2024
    - 3K bytes
    - Viewed (0)
  7. .github/ISSUE_TEMPLATE/bug_report.md

    <!--- Provide a general summary of the issue in the Title above -->
    
    ## Expected Behavior
    <!--- If you're describing a bug, tell us what should happen -->
    <!--- If you're suggesting a change/improvement, tell us how it should work -->
    
    ## Current Behavior
    <!--- If describing a bug, tell us what happens instead of the expected behavior -->
    <!--- If suggesting a change/improvement, explain the difference from current behavior -->
    
    ## Possible Solution
    Plain Text
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Jan 20 17:37:40 GMT 2022
    - 1.7K bytes
    - Viewed (0)
  8. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlNode.java

    @Experimental
    @ThreadSafe
    @Immutable
    public interface XmlNode {
    
        String CHILDREN_COMBINATION_MODE_ATTRIBUTE = "combine.children";
    
        String CHILDREN_COMBINATION_MERGE = "merge";
    
        String CHILDREN_COMBINATION_APPEND = "append";
    
        /**
         * This default mode for combining children DOMs during merge means that where element names match, the process will
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Nov 27 23:11:34 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  9. .github/ISSUE_TEMPLATE.md

     
    <!--- Provide a general summary of the issue in the Title above -->
    
    ## Expected Behavior
    <!--- If you're describing a bug, tell us what should happen -->
    <!--- If you're suggesting a change/improvement, tell us how it should work -->
    
    ## Current Behavior
    <!--- If describing a bug, tell us what happens instead of the expected behavior -->
    <!--- If suggesting a change/improvement, explain the difference from current behavior -->
    
    ## Possible Solution
    Plain Text
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Jan 29 00:04:16 GMT 2022
    - 2K bytes
    - Viewed (0)
  10. .github/ISSUE_TEMPLATE/30_contributor_regression.yml

      - type: textarea
        id: current-behavior
        attributes:
          label: Current Behavior
          description: Tell us what happens
        validations:
          required: true
      - type: textarea
        id: expected-behavior
        attributes:
          label: Expected Behavior
          description: Tell us what should happen
        validations:
          required: true
      - type: textarea
        id: context
        attributes:
    Others
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Fri Feb 16 07:49:32 GMT 2024
    - 2.7K bytes
    - Viewed (0)
Back to top