Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for clear (0.39 sec)

  1. cmd/storage-rest-server.go

    		if doneCh == nil {
    			return
    		}
    
    		// Indicate we are ready to write.
    		doneCh <- err
    
    		// Wait for channel to be closed so we don't race on writes.
    		<-doneCh
    
    		// Clear so we can be called multiple times without crashing.
    		doneCh = nil
    	}, &closeNotifier{rc: r.Body, done: bodyDoneCh}
    }
    
    // keepHTTPResponseAlive can be used to avoid timeouts with long storage
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  2. cmd/metacache-set.go

    				topEntries[i] = entry
    				continue
    			}
    			// We got different entries
    			if entry.name > current.name {
    				continue
    			}
    			// We got a new, better current.
    			// Clear existing entries.
    			for i := range topEntries[:i] {
    				topEntries[i] = metaCacheEntry{}
    			}
    			agree = 1
    			current = entry
    			topEntries[i] = entry
    		}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 19:52:52 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  3. doc/go_spec.html

    n2 := copy(s, s[2:])            // n2 == 4, s is []int{2, 3, 4, 5, 4, 5}
    n3 := copy(b, "Hello, World!")  // n3 == 5, b is []byte("Hello")
    </pre>
    
    
    <h3 id="Clear">Clear</h3>
    
    <p>
    The built-in function <code>clear</code> takes an argument of <a href="#Map_types">map</a>,
    <a href="#Slice_types">slice</a>, or <a href="#Type_parameter_declarations">type parameter</a> type,
    and deletes or zeroes out all elements
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 00:39:16 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  4. cmd/xl-storage.go

    	volsInfo := make([]VolInfo, 0, len(entries))
    	for _, entry := range entries {
    		if !HasSuffix(entry, SlashSeparator) || !isValidVolname(pathutil.Clean(entry)) {
    			// Skip if entry is neither a directory not a valid volume name.
    			continue
    		}
    		volsInfo = append(volsInfo, VolInfo{
    			Name: pathutil.Clean(entry),
    		})
    	}
    	return volsInfo, nil
    }
    
    // StatVol - get volume info.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  5. CREDITS

    indemnity or liability obligations to one or more recipients of Covered
    Software. However, You may do so only on Your own behalf, and not on
    behalf of any Contributor. You must make it absolutely clear that any
    such warranty, support, indemnity, or liability obligation is offered by
    You alone, and You hereby agree to indemnify every Contributor for any
    liability incurred by such Contributor as a result of warranty, support,
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:31:35 GMT 2024
    - 1.6M bytes
    - Viewed (0)
  6. .teamcity/performance-tests-ci.json

          "coverage" : {
            "per_commit" : [ "linux" ]
          }
        } ]
      }, {
        "testId" : "org.gradle.performance.regression.android.RealLifeAndroidBuildPerformanceTest.clean assembleDebug with clean transforms cache",
        "groups" : [ {
          "testProject" : "largeAndroidBuild",
          "coverage" : {
            "per_day" : [ "linux" ]
          }
        }, {
          "testProject" : "nowInAndroidBuild",
    Json
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Apr 26 11:42:52 GMT 2024
    - 36.8K bytes
    - Viewed (0)
  7. Makefile.core.mk

    	prow/benchtest.sh report
    
    #-----------------------------------------------------------------------------
    # Target: clean
    #-----------------------------------------------------------------------------
    .PHONY: clean
    
    clean: ## Cleans all the intermediate files and folders previously generated.
    	rm -rf $(DIRS_TO_CLEAN)
    
    #-----------------------------------------------------------------------------
    # Target: docker
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Apr 26 19:45:17 GMT 2024
    - 22.5K bytes
    - Viewed (0)
  8. build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java

             * Not clean up global Gradle processes (i.e. classpath in ~/.gradle/...).
             */
            KILL_LEAKED_PROCESSES_FROM_PREVIOUS_BUILDS,
            /**
             * Run at the end of each build. Kill potentially leaked processes in the current build.
             * Only kill local Gradle processes (classpath in checkout directory).
             * Not clean up global Gradle processes (i.e. classpath in ~/.gradle/...).
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Apr 26 09:46:00 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  9. cni/pkg/nodeagent/net_test.go

    	assert.Equal(t, nlDeps.DelLoopbackRoutesCnt.Load(), 1)
    	// 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) {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  10. cni/pkg/nodeagent/net.go

    		log.Errorf("failed to remove pod %s from host ipset, error was: %v", pod.Name, err)
    		return err
    	}
    
    	log.Info("in pod mode - deleting pod from ztunnel")
    
    	// pod is deleted, clean-up its open netns
    	openNetns := s.currentPodSnapshot.Take(string(pod.UID))
    	if openNetns == nil {
    		log.Warn("failed to find pod netns")
    	}
    
    	if err := s.ztunnelServer.PodDeleted(ctx, string(pod.UID)); err != nil {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.2K bytes
    - Viewed (1)
Back to top