Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for gc (0.14 sec)

  1. cmd/peer-s3-client.go

    				return nil
    			}
    			gc := gridConn.Load()
    			if gc != nil {
    				return gc
    			}
    			gm := globalGrid.Load()
    			if gm == nil {
    				return nil
    			}
    			gc = gm.Connection(node.GridHost)
    			if gc == nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/net_test.go

    	// make sure the uid was taken from cache and netns closed
    	netns := fixture.podNsMap.Take(string(pod.UID))
    	assert.Equal(t, nil, netns)
    
    	// run gc to clean up ns:
    
    	//revive:disable-next-line:call-to-gc Just a test that we are cleaning up the netns
    	runtime.GC()
    	assertNSClosed(t, closed)
    }
    
    func TestServerDeletePod(t *testing.T) {
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  3. cmd/peer-rest-client.go

    				return nil
    			}
    			gc := gridConn.Load()
    			if gc != nil {
    				return gc
    			}
    			gm := globalGrid.Load()
    			if gm == nil {
    				return nil
    			}
    			gc = gm.Connection(gridHost)
    			if gc == nil {
    				bugLogIf(context.Background(), fmt.Errorf("gridHost %q not found for peer %s", gridHost, peer.String()), peer.String()+":gridHost")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.8K bytes
    - Viewed (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilJvm.kt

      }
    
      /**
       * See FinalizationTester for discussion on how to best trigger GC in tests.
       * https://android.googlesource.com/platform/libcore/+/master/support/src/test/java/libcore/
       * java/lang/ref/FinalizationTester.java
       */
      @Throws(Exception::class)
      @JvmStatic
      fun awaitGarbageCollection() {
        Runtime.getRuntime().gc()
        Thread.sleep(100)
        System.runFinalization()
      }
    
      @JvmStatic
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  5. src/cmd/cgo/doc.go

    the translation process.
    
    Translating Go
    
    Given the input Go files x.go and y.go, cgo generates these source
    files:
    
    	x.cgo1.go       # for gc (cmd/compile)
    	y.cgo1.go       # for gc
    	_cgo_gotypes.go # for gc
    	_cgo_import.go  # for gc (if -dynout _cgo_import.go)
    	x.cgo2.c        # for gcc
    	y.cgo2.c        # for gcc
    	_cgo_defun.c    # for gcc (if -gccgo)
    	_cgo_export.c   # for gcc
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  6. cmd/admin-server-info.go

    		// For example, if len(stats.PauseQuantiles) is 5, it will be
    		// filled with the minimum, 25%, 50%, 75%, and maximum pause times.
    		PauseQuantiles: make([]time.Duration, 5),
    	}
    	debug.ReadGCStats(&gcStats)
    	// Truncate GC stats to max 5 entries.
    	if len(gcStats.PauseEnd) > 5 {
    		gcStats.PauseEnd = gcStats.PauseEnd[len(gcStats.PauseEnd)-5:]
    	}
    	if len(gcStats.Pause) > 5 {
    		gcStats.Pause = gcStats.Pause[len(gcStats.Pause)-5:]
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  7. cni/pkg/nodeagent/pod_cache.go

    	// snapshot the cache to avoid long locking
    	return maps.Clone(p.currentPodCache)
    }
    
    // Remove and return the Netns for the given uid
    // No need to return NetnsCloser here it will be closed automatically on GC.
    // (it may be used in parallel by other parts of the code, so we want it to be used only when not used)
    func (p *podNetnsCache) Take(uid string) Netns {
    	// lock current pod map
    	p.mu.Lock()
    	defer p.mu.Unlock()
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  8. .github/workflows/codeql-analysis.yml

        - name: Cleanup Gradle Cache
          # Cleans up the Gradle caches before being cached
          run: |
            rm -f ~/.gradle/caches/modules-2/modules-2.lock
            rm -f ~/.gradle/caches/modules-2/gc.properties
    Others
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Thu May 02 09:13:16 GMT 2024
    - 4K bytes
    - Viewed (0)
  9. doc/godebug.md

    starting with Go 1.21.6.
    This setting may be removed in a future release, and users impacted by this issue
    should adjust their Linux configuration according to the recommendations in the
    [GC guide](/doc/gc-guide#Linux_transparent_huge_pages), or switch to a Linux
    distribution that disables transparent huge pages altogether.
    
    Go 1.22 added contention on runtime-internal locks to the [`mutex`
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Apr 16 17:29:58 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  10. cmd/bucket-replication-metrics_gen.go

    				err = msgp.WrapError(err, "GetTagTotal")
    				return
    			}
    		case "rtc":
    			z.RmvTagTotal, err = dc.ReadUint64()
    			if err != nil {
    				err = msgp.WrapError(err, "RmvTagTotal")
    				return
    			}
    		case "gc":
    			z.GetTotal, err = dc.ReadUint64()
    			if err != nil {
    				err = msgp.WrapError(err, "GetTotal")
    				return
    			}
    		case "hc":
    			z.HeadTotal, err = dc.ReadUint64()
    			if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 21 17:21:35 GMT 2024
    - 33.3K bytes
    - Viewed (0)
Back to top