Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for free1 (0.13 sec)

  1. src/runtime/proc.go

    	}
    
    	// Release the free M list. We need to do this somewhere and
    	// this may free up a stack we can use.
    	if sched.freem != nil {
    		lock(&sched.lock)
    		var newList *m
    		for freem := sched.freem; freem != nil; {
    			// Wait for freeWait to indicate that freem's stack is unused.
    			wait := freem.freeWait.Load()
    			if wait == freeMWait {
    				next := freem.freelink
    				freem.freelink = newList
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  2. src/database/sql/sql.go

    // DB is a database handle representing a pool of zero or more
    // underlying connections. It's safe for concurrent use by multiple
    // goroutines.
    //
    // The sql package creates and frees connections automatically; it
    // also maintains a free pool of idle connections. If the database has
    // a concept of per-connection state, such state can be reliably observed
    // within a transaction ([Tx]) or connection ([Conn]). Once [DB.Begin] is called, the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 103.6K bytes
    - Viewed (0)
  3. src/database/sql/sql_test.go

    	}
    
    	if g, w := db.numOpen, 3; g != w {
    		t.Errorf("free conns = %d; want %d", g, w)
    	}
    
    	db.SetMaxOpenConns(2)
    	if g, w := db.numOpen, 3; g != w {
    		t.Errorf("free conns = %d; want %d", g, w)
    	}
    
    	conn0.releaseConn(nil)
    	conn1.releaseConn(nil)
    	if g, w := db.numOpen, 2; g != w {
    		t.Errorf("free conns = %d; want %d", g, w)
    	}
    
    	conn2.releaseConn(nil)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  4. cmd/metrics-v2.go

    // Copyright (c) 2015-2024 MinIO, Inc.
    //
    // This file is part of MinIO Object Storage stack
    //
    // This program is free software: you can redistribute it and/or modify
    // it under the terms of the GNU Affero General Public License as published by
    // the Free Software Foundation, either version 3 of the License, or
    // (at your option) any later version.
    //
    // This program is distributed in the hope that it will be useful
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:54 UTC 2024
    - 131.9K bytes
    - Viewed (0)
  5. cmd/admin-handlers.go

    					MemStats: madmin.MemStats{
    						Alloc:      server.MemStats.Alloc,
    						TotalAlloc: server.MemStats.TotalAlloc,
    						Mallocs:    server.MemStats.Mallocs,
    						Frees:      server.MemStats.Frees,
    						HeapAlloc:  server.MemStats.HeapAlloc,
    					},
    					GoMaxProcs:     server.GoMaxProcs,
    					NumCPU:         server.NumCPU,
    					RuntimeVersion: server.RuntimeVersion,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 98K bytes
    - Viewed (0)
  6. cmd/storage-datatypes_gen.go

    		return
    	}
    	z.Total, err = dc.ReadUint64()
    	if err != nil {
    		err = msgp.WrapError(err, "Total")
    		return
    	}
    	z.Free, err = dc.ReadUint64()
    	if err != nil {
    		err = msgp.WrapError(err, "Free")
    		return
    	}
    	z.Used, err = dc.ReadUint64()
    	if err != nil {
    		err = msgp.WrapError(err, "Used")
    		return
    	}
    	z.UsedInodes, err = dc.ReadUint64()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 130.6K bytes
    - Viewed (0)
  7. pkg/kubelet/eviction/helpers_test.go

    		t.Errorf("Expected %v, actual: %v", expectedBytes, nodeFsQuantity.capacity.Value())
    	}
    	nodeFsInodesQuantity, found := actualObservations[evictionapi.SignalNodeFsInodesFree]
    	if !found {
    		t.Error("Expected inodes free nodefs observation")
    	}
    	if expected := int64(nodeFsInodesFree); nodeFsInodesQuantity.available.Value() != expected {
    		t.Errorf("Expected %v, actual: %v", expected, nodeFsInodesQuantity.available.Value())
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 23:14:12 UTC 2024
    - 106.7K bytes
    - Viewed (0)
  8. tensorflow/c/c_api.cc

    }
    
    TF_Buffer TF_GetOpList(TF_Library* lib_handle) { return lib_handle->op_list; }
    
    void TF_DeleteLibraryHandle(TF_Library* lib_handle) {
      if (lib_handle == nullptr) return;
      tensorflow::port::Free(const_cast<void*>(lib_handle->op_list.data));
      delete lib_handle;
    }
    
    TF_Buffer* TF_GetAllOpList() {
      std::vector<tensorflow::OpDef> op_defs;
      tensorflow::OpRegistry::Global()->GetRegisteredOps(&op_defs);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  9. src/cmd/link/internal/ld/data.go

    //	Revisions Copyright © 2000-2007 Lucent Technologies Inc. and others
    //	Portions Copyright © 2009 The Go Authors. All rights reserved.
    //
    // Permission is hereby granted, free of charge, to any person obtaining a copy
    // of this software and associated documentation files (the "Software"), to deal
    // in the Software without restriction, including without limitation the rights
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (0)
  10. pkg/controller/daemon/daemon_controller_test.go

    		v1.ResourceCPU:    resource.MustParse(cpu),
    		v1.ResourcePods:   resource.MustParse("100"),
    	}
    }
    
    // DaemonSets should not unschedule a daemonset pod from a node with insufficient free resource
    func TestInsufficientCapacityNodeDaemonDoesNotUnscheduleRunningPod(t *testing.T) {
    	for _, strategy := range updateStrategies() {
    		podSpec := resourcePodSpec("too-much-mem", "75M", "75m")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.4K bytes
    - Viewed (0)
Back to top