Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 319 for elem2 (0.17 sec)

  1. src/cmd/compile/internal/walk/temp.go

    // allocated temporary variable of type [len]elem. This variable is
    // initialized, and elem must not contain pointers.
    func stackBufAddr(len int64, elem *types.Type) *ir.AddrExpr {
    	if elem.HasPointers() {
    		base.FatalfAt(base.Pos, "%v has pointers", elem)
    	}
    	tmp := typecheck.TempAt(base.Pos, ir.CurFunc, types.NewArray(elem, len))
    	return typecheck.Expr(typecheck.NodAddr(tmp)).(*ir.AddrExpr)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 16:41:23 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. src/go/types/index.go

    			case *Array:
    				l = t.len
    				e = t.elem
    				if x.mode != variable {
    					mode = value
    				}
    			case *Pointer:
    				if t, _ := under(t.base).(*Array); t != nil {
    					l = t.len
    					e = t.elem
    				}
    			case *Slice:
    				e = t.elem
    			case *Map:
    				k = t.key
    				e = t.elem
    			}
    			if e == nil {
    				return false
    			}
    			if elem == nil {
    				// first type
    				length = l
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:17:05 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  3. src/path/filepath/path_unix.go

    	return strings.Split(path, string(ListSeparator))
    }
    
    func abs(path string) (string, error) {
    	return unixAbs(path)
    }
    
    func join(elem []string) string {
    	// If there's a bug here, fix the logic in ./path_plan9.go too.
    	for i, e := range elem {
    		if e != "" {
    			return Clean(strings.Join(elem[i:], string(Separator)))
    		}
    	}
    	return ""
    }
    
    func sameWord(a, b string) bool {
    	return a == b
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 23:07:50 UTC 2024
    - 970 bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/it/admin/CrawlerLogTests.java

            for (Map<String, Object> elem : jobLogList) {
                deleteMethod("/api/admin/joblog/log/" + elem.get("id"));
            }
    
            final List<Map<String, Object>> crawlingInfoList = readCrawlingInfo(webConfigId);
            for (Map<String, Object> elem : crawlingInfoList) {
                deleteMethod("/api/admin/crawlinginfo/log/" + elem.get("id"));
            }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  5. callbacks/preload.go

    	}
    
    	for i := 0; i < reflectResults.Len(); i++ {
    		elem := reflectResults.Index(i)
    		for idx, field := range relForeignFields {
    			fieldValues[idx], _ = field.ValueOf(tx.Statement.Context, elem)
    		}
    
    		datas, ok := identityMap[utils.ToStringKey(fieldValues...)]
    		if !ok {
    			return fmt.Errorf("failed to assign association %#v, make sure foreign fields exists", elem.Interface())
    		}
    
    		for _, data := range datas {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:52:33 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  6. src/embed/embed.go

    	//	q/s/u
    	//	q/v
    	//	w
    	//
    	// is actually sorted as:
    	//
    	//	p       # dir=.    elem=p
    	//	q/      # dir=.    elem=q
    	//	w/      # dir=.    elem=w
    	//	q/r     # dir=q    elem=r
    	//	q/s/    # dir=q    elem=s
    	//	q/v     # dir=q    elem=v
    	//	q/s/t   # dir=q/s  elem=t
    	//	q/s/u   # dir=q/s  elem=u
    	//
    	// This order brings directory contents together in contiguous sections
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 19:42:51 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  7. schema/field.go

    					}
    
    					fieldValue.Elem().Set(reflectV.Convert(fieldType))
    					return
    				}
    			}
    
    			if reflectV.Kind() == reflect.Ptr {
    				if reflectV.IsNil() {
    					field.ReflectValueOf(ctx, value).Set(reflect.New(field.FieldType).Elem())
    				} else if reflectV.Type().Elem().AssignableTo(field.FieldType) {
    					field.ReflectValueOf(ctx, value).Set(reflectV.Elem())
    					return
    				} else {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Apr 15 03:20:20 UTC 2024
    - 32K bytes
    - Viewed (0)
  8. src/encoding/gob/type.go

    	return s
    }
    
    func (s *sliceType) init(elem gobType) {
    	// Set our type id before evaluating the element's, in case it's our own.
    	setTypeId(s)
    	// See the comments about ids in newTypeObject. Only slices and
    	// structs have mutual recursion.
    	if elem.id() == 0 {
    		setTypeId(elem)
    	}
    	s.Elem = elem.id()
    }
    
    func (s *sliceType) safeString(seen map[typeId]bool) string {
    	if seen[s.Id] {
    		return s.Name
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 02:00:26 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/internal/typeparams/free.go

    	case *aliases.Alias:
    		return w.Has(aliases.Unalias(t))
    
    	case *types.Array:
    		return w.Has(t.Elem())
    
    	case *types.Slice:
    		return w.Has(t.Elem())
    
    	case *types.Struct:
    		for i, n := 0, t.NumFields(); i < n; i++ {
    			if w.Has(t.Field(i).Type()) {
    				return true
    			}
    		}
    
    	case *types.Pointer:
    		return w.Has(t.Elem())
    
    	case *types.Tuple:
    		n := t.Len()
    		for i := 0; i < n; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. src/runtime/chan.go

    	return makechan(t, int(size))
    }
    
    func makechan(t *chantype, size int) *hchan {
    	elem := t.Elem
    
    	// compiler checks this but be safe.
    	if elem.Size_ >= 1<<16 {
    		throw("makechan: invalid channel element type")
    	}
    	if hchanSize%maxAlign != 0 || elem.Align_ > maxAlign {
    		throw("makechan: bad alignment")
    	}
    
    	mem, overflow := math.MulUintptr(elem.Size_, uintptr(size))
    	if overflow || mem > maxAlloc-hchanSize || size < 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:50 UTC 2024
    - 25.9K bytes
    - Viewed (0)
Back to top