Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,693 for clear1 (0.15 sec)

  1. src/runtime/memclr_s390x.s

    clear0to3:
    	CMPBEQ	R5, $0, done
    	CMPBNE	R5, $1, clear2
    	MOVB	$0, 0(R4)
    	RET
    clear2:
    	CMPBNE	R5, $2, clear3
    	MOVH	$0, 0(R4)
    	RET
    clear3:
    	MOVH	$0, 0(R4)
    	MOVB	$0, 2(R4)
    	RET
    
    clear4to7:
    	CMPBNE	R5, $4, clear5
    	MOVW	$0, 0(R4)
    	RET
    clear5:
    	CMPBNE	R5, $5, clear6
    	MOVW	$0, 0(R4)
    	MOVB	$0, 4(R4)
    	RET
    clear6:
    	CMPBNE	R5, $6, clear7
    	MOVW	$0, 0(R4)
    	MOVH	$0, 4(R4)
    	RET
    clear7:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 29 19:11:07 UTC 2021
    - 2K bytes
    - Viewed (0)
  2. src/internal/types/testdata/check/builtins0.go

    		_ = cap /* ERROR "not constant" */ (<-ch)
    		_ = cap /* ERROR "not constant" */ ([4]int{(<-ch)[0]})
    	)
    }
    
    func clear1() {
    	var a [10]int
    	var m map[float64]string
    	var s []byte
    	clear(a /* ERROR "cannot clear a" */)
    	clear(&/* ERROR "cannot clear &a" */a)
    	clear(m)
    	clear(s)
    	clear([]int{})
    }
    
    func close1() {
    	var c chan int
    	var r <-chan int
    	close() // ERROR "not enough arguments"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  3. test/clear.go

    func checkClearSlice() {
    	s := []int{1, 2, 3}
    	clear(s)
    	for i := range s {
    		if s[i] != 0 {
    			panic("clear not zeroing slice elem")
    		}
    	}
    
    	clear([]int{})
    }
    
    func checkClearMap() {
    	m1 := make(map[int]int)
    	m1[0] = 0
    	m1[1] = 1
    	clear(m1)
    	if len(m1) != 0 {
    		panic("m1 is not cleared")
    	}
    
    	// map contains NaN keys is also cleared.
    	m2 := make(map[float64]int)
    	m2[math.NaN()] = 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 31 19:43:07 UTC 2023
    - 743 bytes
    - Viewed (0)
  4. src/cmd/go/internal/clean/clean.go

    distinct from those stored in testdata directory; clean does not remove
    those files.
    
    For more about build flags, see 'go help build'.
    
    For more about specifying packages, see 'go help packages'.
    	`,
    }
    
    var (
    	cleanI         bool // clean -i flag
    	cleanR         bool // clean -r flag
    	cleanCache     bool // clean -cache flag
    	cleanFuzzcache bool // clean -fuzzcache flag
    	cleanModcache  bool // clean -modcache flag
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  5. pilot/pkg/model/typed_xds_cache.go

    	Add(key K, entry dependents, pushRequest *PushRequest, value *discovery.Resource)
    	// Get retrieves the cached value if it exists.
    	Get(key K) *discovery.Resource
    	// Clear removes the cache entries that are dependent on the configs passed.
    	Clear(sets.Set[ConfigKey])
    	// ClearAll clears the entire cache.
    	ClearAll()
    	// Keys returns all currently configured keys. This is for testing/debug only
    	Keys() []K
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 05:26:03 UTC 2024
    - 11K bytes
    - Viewed (0)
  6. src/crypto/internal/boring/bcache/cache.go

    			p = new(cacheTable[K, V])
    			if !c.ptable.CompareAndSwap(nil, p) {
    				continue
    			}
    		}
    		return p
    	}
    }
    
    // Clear clears the cache.
    // The runtime does this automatically at each garbage collection;
    // this method is exposed only for testing.
    func (c *Cache[K, V]) Clear() {
    	// The runtime does this at the start of every garbage collection
    	// (itself, not by calling this function).
    	c.ptable.Store(nil)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 18 00:30:19 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  7. hack/make-rules/clean.sh

    Tim Hockin <******@****.***> 1685038706 -0700
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 08 17:20:44 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  8. build/make-clean.sh

    # limitations under the License.
    
    # Clean out the output directory on the docker host.
    set -o errexit
    set -o nounset
    set -o pipefail
    
    KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
    source "${KUBE_ROOT}/build/common.sh"
    
    kube::build::verify_prereqs false
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 16 08:33:28 UTC 2019
    - 845 bytes
    - Viewed (0)
  9. tests/named_polymorphic_test.go

    	}
    
    	DB.Model(&hamster).Association("PreferredToy").Clear()
    
    	if DB.Model(&hamster2).Association("PreferredToy").Count() != 0 {
    		t.Errorf("Hamster's preferred toy should be cleared with Clear")
    	}
    
    	if DB.Model(&hamster2).Association("OtherToy").Count() != 1 {
    		t.Errorf("Hamster's other toy should be still available")
    	}
    
    	DB.Model(&hamster).Association("OtherToy").Clear()
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jul 08 09:59:40 UTC 2020
    - 4.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/internal/Finalizer.java

        /*
         * This is for the benefit of phantom references. Weak and soft references will have already
         * been cleared by this point.
         */
        reference.clear();
    
        if (reference == frqReference) {
          /*
           * The client no longer has a reference to the FinalizableReferenceQueue. We can stop.
           */
          return false;
        }
    
        try {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Aug 23 12:54:09 UTC 2023
    - 9.4K bytes
    - Viewed (0)
Back to top