Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 46 for Accounting (0.19 sec)

  1. src/runtime/mem_darwin.go

    }
    
    func sysUnusedOS(v unsafe.Pointer, n uintptr) {
    	// MADV_FREE_REUSABLE is like MADV_FREE except it also propagates
    	// accounting information about the process to task_info.
    	madvise(v, n, _MADV_FREE_REUSABLE)
    }
    
    func sysUsedOS(v unsafe.Pointer, n uintptr) {
    	// MADV_FREE_REUSE is necessary to keep the kernel's accounting
    	// accurate. If called on any memory region that hasn't been
    	// MADV_FREE_REUSABLE'd, it's a no-op.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. src/runtime/mem.go

    // that transition memory regions between these states. The helpers call into
    // OS-specific implementations that handle errors, while the interface boundary
    // implements cross-OS functionality, like updating runtime accounting.
    
    // sysAlloc transitions an OS-chosen region of memory from None to Ready.
    // More specifically, it obtains a large chunk of zeroed memory from the
    // operating system, typically on the order of a hundred kilobytes
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  3. pkg/proxy/util/nfacct/nfacct.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package nfacct
    
    // Counter represents a nfacct accounting object.
    type Counter struct {
    	Name    string
    	Packets uint64
    	Bytes   uint64
    }
    
    // Interface is an injectable interface for running nfacct commands.
    type Interface interface {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 06:47:50 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  4. platforms/software/antlr/src/main/java/org/gradle/api/plugins/antlr/internal/antlr2/GenerationPlan.java

        /**
         * Instantiates a generation plan.
         *
         * @param source The grammar file.
         * @param generationDirectory The directory into which generated lexers and parsers should be written, accounting for
         * declared package.
         */
        GenerationPlan(File source, File generationDirectory) {
            this.source = source;
            this.generationDirectory = generationDirectory;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 14:52:10 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  5. pkg/volume/util/fsquota/common/quota_common_linux.go

    limitations under the License.
    */
    
    package common
    
    import (
    	"regexp"
    )
    
    // QuotaType -- type of quota to be applied
    type QuotaType int
    
    const (
    	// FSQuotaAccounting for quotas for accounting only
    	FSQuotaAccounting QuotaType = 1 << iota
    	// FSQuotaEnforcing for quotas for enforcement
    	FSQuotaEnforcing QuotaType = 1 << iota
    )
    
    // FirstQuota is the quota ID we start with.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jan 28 06:09:31 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/server/filters/waitgroup.go

    	"k8s.io/apiserver/pkg/endpoints/handlers/responsewriters"
    	apirequest "k8s.io/apiserver/pkg/endpoints/request"
    	"k8s.io/client-go/kubernetes/scheme"
    )
    
    // RequestWaitGroup helps with the accounting of request(s) that are in
    // flight: the caller is expected to invoke Add(1) before executing the
    // request handler and then invoke Done() when the handler finishes.
    // NOTE: implementations must ensure that it is thread-safe
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jan 10 21:18:55 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  7. src/net/dnsconfig_unix_test.go

    			if shortestSuffix == 0 || len(suffix) < shortestSuffix {
    				shortestSuffix = len(suffix)
    			}
    		}
    
    		// Test a name that will be maximally long when prefixing the shortest
    		// suffix (accounting for the intervening dot).
    		longName := longDomain[len(longDomain)-254+1+shortestSuffix:]
    		if longName[0] == '.' || longName[1] == '.' {
    			longName = "aa." + longName[3:]
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 03 17:41:32 UTC 2022
    - 7.1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/request/mutating_work_estimator.go

    	// goroutines (proportional to the number of watchers) that are all
    	// resumed at once, as a starting point we assume that each such goroutine
    	// is taking 1/Nth of a seat for M milliseconds.
    	// We allow the accounting of that work in P&F to be reshaped into another
    	// rectangle of equal area for practical reasons.
    	var finalSeats uint64
    	var additionalLatency time.Duration
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 17 19:26:52 UTC 2023
    - 6K bytes
    - Viewed (0)
  9. pkg/volume/util/fsquota/common/quota_common_linux_impl.go

    	if err != nil {
    		return false, err
    	}
    	if qType == FSQuotaEnforcing {
    		return strings.Contains(data, "Enforcement: ON"), nil
    	}
    	return strings.Contains(data, "Accounting: ON"), nil
    }
    
    func isFilesystemOfType(mountpoint string, backingDev string, typeMagic int64) bool {
    	var buf syscall.Statfs_t
    	err := syscall.Statfs(mountpoint, &buf)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 14:49:03 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  10. src/sync/runtime.go

    // Semacquire(RW)Mutex(R) is like Semacquire, but for profiling contended
    // Mutexes and RWMutexes.
    // If lifo is true, queue waiter at the head of wait queue.
    // skipframes is the number of frames to omit during tracing, counting from
    // runtime_SemacquireMutex's caller.
    // The different forms of this function just tell the runtime how to present
    // the reason for waiting in a backtrace, and is used to compute some metrics.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 16:32:27 UTC 2022
    - 2.3K bytes
    - Viewed (0)
Back to top