Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of about 10,000 for underIs (0.24 sec)

  1. src/cmd/compile/internal/types2/predicates.go

    }
    
    // hasNil reports whether type t includes the nil value.
    func hasNil(t Type) bool {
    	switch u := under(t).(type) {
    	case *Basic:
    		return u.kind == UnsafePointer
    	case *Slice, *Pointer, *Signature, *Map, *Chan:
    		return true
    	case *Interface:
    		return !isTypeParam(t) || u.typeSet().underIs(func(u Type) bool {
    			return u != nil && hasNil(u)
    		})
    	}
    	return false
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  2. src/go/types/predicates.go

    }
    
    // hasNil reports whether type t includes the nil value.
    func hasNil(t Type) bool {
    	switch u := under(t).(type) {
    	case *Basic:
    		return u.kind == UnsafePointer
    	case *Slice, *Pointer, *Signature, *Map, *Chan:
    		return true
    	case *Interface:
    		return !isTypeParam(t) || u.typeSet().underIs(func(u Type) bool {
    			return u != nil && hasNil(u)
    		})
    	}
    	return false
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  3. src/go/types/conversions.go

    }
    
    func isUintptr(typ Type) bool {
    	t, _ := under(typ).(*Basic)
    	return t != nil && t.kind == Uintptr
    }
    
    func isUnsafePointer(typ Type) bool {
    	t, _ := under(typ).(*Basic)
    	return t != nil && t.kind == UnsafePointer
    }
    
    func isPointer(typ Type) bool {
    	_, ok := under(typ).(*Pointer)
    	return ok
    }
    
    func isBytesOrRunes(typ Type) bool {
    	if s, _ := under(typ).(*Slice); s != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:51:00 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/conversions.go

    }
    
    func isUintptr(typ Type) bool {
    	t, _ := under(typ).(*Basic)
    	return t != nil && t.kind == Uintptr
    }
    
    func isUnsafePointer(typ Type) bool {
    	t, _ := under(typ).(*Basic)
    	return t != nil && t.kind == UnsafePointer
    }
    
    func isPointer(typ Type) bool {
    	_, ok := under(typ).(*Pointer)
    	return ok
    }
    
    func isBytesOrRunes(typ Type) bool {
    	if s, _ := under(typ).(*Slice); s != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:51:00 UTC 2024
    - 9K bytes
    - Viewed (0)
  5. src/go/types/index.go

    		var key, elem Type // key != nil: we must have all maps
    		mode := variable   // non-maps result mode
    		// TODO(gri) factor out closure and use it for non-typeparam cases as well
    		if typ.typeSet().underIs(func(u Type) bool {
    			l := int64(-1) // valid if >= 0
    			var k, e Type  // k is only set for maps
    			switch t := u.(type) {
    			case *Basic:
    				if isString(t) {
    					e = universeByte
    					mode = value
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:17:05 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/index.go

    		var key, elem Type // key != nil: we must have all maps
    		mode := variable   // non-maps result mode
    		// TODO(gri) factor out closure and use it for non-typeparam cases as well
    		if typ.typeSet().underIs(func(u Type) bool {
    			l := int64(-1) // valid if >= 0
    			var k, e Type  // k is only set for maps
    			switch t := u.(type) {
    			case *Basic:
    				if isString(t) {
    					e = universeByte
    					mode = value
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 15 16:16:58 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  7. src/main/resources/fess_indices/fess/de/stopwords.txt

    aber
    alle
    allem
    allen
    aller
    alles
    als
    also
    am
    an
    ander
    andere
    anderem
    anderen
    anderer
    anderes
    anderm
    andern
    anderr
    anders
    auch
    auf
    aus
    bei
    bin
    bis
    bist
    da
    damit
    dann
    der
    den
    des
    dem
    die
    das
    daß
    derselbe
    derselben
    denselben
    desselben
    demselben
    dieselbe
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Mon Nov 27 12:59:36 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  8. ci/official/utilities/repack_libtensorflow.sh

    # under the root of srcjars jars created by bazel, rather than under
    # the maven-style src/main/java subdirectory.
    #
    # Bazel manages annotation generated source as follows: First, it
    # calls javac with options that create generated files under a
    # bazel-out directory. Next, it archives the generated source files
    # into a srcjar directly under the root. There doesn't appear to be a
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jul 12 19:47:53 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  9. licenses/github.com/hashicorp/errwrap/LICENSE

         b. You may distribute such Executable Form under the terms of this License,
            or sublicense it under different terms, provided that the license for
            the Executable Form does not attempt to limit or alter the recipients’
            rights in the Source Code Form under this License.
    
    3.3. Distribution of a Larger Work
    
         You may create and distribute a Larger Work under terms of Your choice,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Oct 26 02:47:39 UTC 2019
    - 15.6K bytes
    - Viewed (0)
  10. src/cmd/link/internal/ld/ar.go

    	loaded := make(map[uint64]bool)
    	any := true
    	for any {
    		var load []uint64
    		returnAllUndefs := -1
    		undefs, froms := ctxt.loader.UndefinedRelocTargets(returnAllUndefs)
    		if buildcfg.GOOS == "windows" {
    			undefs, froms = pruneUndefsForWindows(ctxt.loader, undefs, froms)
    		}
    		for k, symIdx := range undefs {
    			sname := ctxt.loader.SymName(symIdx)
    			if off := armap[sname]; off != 0 && !loaded[off] {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Nov 19 23:11:11 UTC 2022
    - 7.2K bytes
    - Viewed (0)
Back to top