Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Ftruncate (0.12 sec)

  1. pkg/proxy/nftables/proxier.go

    	servicePortFirewallChainNamePrefix      = "firewall-"
    )
    
    // hashAndTruncate prefixes name with a hash of itself and then truncates to
    // chainNameBaseLengthMax. The hash ensures that (a) the name is still unique if we have
    // to truncate the end, and (b) it's visually distinguishable from other chains that would
    // otherwise have nearly identical names (e.g., different endpoint chains for a given
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  2. cmd/xl-storage.go

    		bucketMetaPrefix, healingTrackerFilename)
    	b, err := os.ReadFile(healingFile)
    	if err != nil {
    		return nil
    	}
    	if len(b) == 0 {
    		// 'healing.bin' might be truncated
    		return nil
    	}
    	h := newHealingTracker()
    	_, err = h.UnmarshalMsg(b)
    	bugLogIf(GlobalContext, err)
    	return h
    }
    
    // checkODirectDiskSupport asks the disk to write some data
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  3. src/time/format.go

    // signify its presence. In that case either a comma or a decimal point
    // followed by a maximal series of digits is parsed as a fractional second.
    // Fractional seconds are truncated to nanosecond precision.
    //
    // Elements omitted from the layout are assumed to be zero or, when
    // zero is impossible, one, so parsing "3:04pm" returns the time
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:28 UTC 2024
    - 49.3K bytes
    - Viewed (0)
  4. cmd/test-utils_test.go

    	testServer.Obj.Shutdown(context.Background())
    	os.RemoveAll(testServer.Root)
    	for _, ep := range testServer.Disks {
    		for _, disk := range ep.Endpoints {
    			os.RemoveAll(disk.Path)
    		}
    	}
    }
    
    // Truncate request to simulate unexpected EOF for a request signed using streaming signature v4.
    func truncateChunkByHalfSigv4(req *http.Request) (*http.Request, error) {
    	bufReader := bufio.NewReader(req.Body)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 76.9K bytes
    - Viewed (0)
Back to top