Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for friend (0.05 sec)

  1. tests/generics_test.go

    	ctx := context.Background()
    	db := gorm.G[User](DB)
    
    	u := *GetUser("GenericsPreloads_1", Config{Company: true, Pets: 3, Friends: 7})
    	u2 := *GetUser("GenericsPreloads_2", Config{Company: true, Pets: 5, Friends: 5})
    	u3 := *GetUser("GenericsPreloads_3", Config{Company: true, Pets: 7, Friends: 3})
    	names := []string{u.Name, u2.Name, u3.Name}
    
    	db.CreateInBatches(ctx, &[]User{u3, u, u2}, 10)
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 28K bytes
    - Viewed (0)
  2. statement.go

    				case reflect.Struct:
    					for _, field := range s.Fields {
    						selected := selectedColumns[field.DBName] || selectedColumns[field.Name]
    						if selected || (!restricted && field.Readable) {
    							if v, isZero := field.ValueOf(stmt.Context, reflectValue); !isZero || selected {
    								if field.DBName != "" {
    									conds = append(conds, clause.Eq{Column: clause.Column{Table: curTable, Name: field.DBName}, Value: v})
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  3. src/archive/tar/strconv.go

    	if len(s) > len(b) {
    		f.err = ErrFieldTooLong
    	}
    	copy(b, s)
    	if len(s) < len(b) {
    		b[len(s)] = 0
    	}
    
    	// Some buggy readers treat regular files with a trailing slash
    	// in the V7 path field as a directory even though the full path
    	// recorded elsewhere (e.g., via PAX record) contains no trailing slash.
    	if len(s) > len(b) && b[len(b)-1] == '/' {
    		n := len(strings.TrimRight(s[:len(b)-1], "/"))
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Sep 08 17:08:20 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  4. generics.go

    			if !ok {
    				if preloadFields := strings.Split(association, "."); len(preloadFields) > 1 {
    					relationships := &db.Statement.Schema.Relationships
    					for _, field := range preloadFields {
    						var ok bool
    						relation, ok = relationships.Relations[field]
    						if ok {
    							relationships = &relation.FieldSchema.Relationships
    						} else {
    							db.AddError(fmt.Errorf("relation %s not found", association))
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  5. src/bytes/bytes.go

    				start = -1
    			}
    		} else {
    			if start < 0 {
    				start = i
    			}
    		}
    		i += size
    	}
    
    	// Last field might end at EOF.
    	if start >= 0 {
    		spans = append(spans, span{start, len(s)})
    	}
    
    	// Create subslices from recorded field indices.
    	a := make([][]byte, len(spans))
    	for i, span := range spans {
    		a[i] = s[span.start:span.end:span.end]
    	}
    
    	return a
    }
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Sep 03 14:04:47 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  6. guava-gwt/pom.xml

      <description>
        Guava is a suite of core and expanded libraries that include
        utility classes, Google's collections, I/O classes, and
        much more.
    
        This project includes GWT-friendly sources.
      </description>
      <properties>
        <gwt.version>2.12.2</gwt.version>
        <gwt.plugin.version>2.10.0</gwt.plugin.version>
        <gwt.logLevel>WARN</gwt.logLevel>
      </properties>
      <repositories>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 21:35:58 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  7. src/bufio/bufio.go

    func (b *Reader) fill() {
    	// Slide existing data to beginning.
    	if b.r > 0 {
    		copy(b.buf, b.buf[b.r:b.w])
    		b.w -= b.r
    		b.r = 0
    	}
    
    	if b.w >= len(b.buf) {
    		panic("bufio: tried to fill full buffer")
    	}
    
    	// Read new data: try a limited number of times.
    	for i := maxConsecutiveEmptyReads; i > 0; i-- {
    		n, err := b.rd.Read(b.buf[b.w:])
    		if n < 0 {
    			panic(errNegativeRead)
    		}
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Sep 03 14:04:47 UTC 2025
    - 22K bytes
    - Viewed (0)
  8. docs/en/docs/release-notes.md

    ```python
    from typing import Annotated, Literal
    
    from fastapi import FastAPI, Query
    from pydantic import BaseModel, Field
    
    app = FastAPI()
    
    
    class FilterParams(BaseModel):
        limit: int = Field(100, gt=0, le=100)
        offset: int = Field(0, ge=0)
        order_by: Literal["created_at", "updated_at"] = "created_at"
        tags: list[str] = []
    
    
    @app.get("/items/")
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Sep 05 12:48:45 UTC 2025
    - 544.1K bytes
    - Viewed (0)
  9. cmd/erasure-multipart.go

    			})
    		})
    		// Get the modtime of the shaDir.
    		vi, err := disk.StatVol(ctx, pathJoin(minioMetaMultipartBucket, shaDir))
    		if err != nil {
    			return nil
    		}
    		// Modtime is returned in the Created field. See (*xlStorage).StatVol
    		if time.Since(vi.Created) < globalAPIConfig.getStaleUploadsExpiry() {
    			return nil
    		}
    		w := xioutil.NewDeadlineWorker(globalDriveConfig.GetMaxTimeout())
    		return w.Run(func() error {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 47.3K bytes
    - Viewed (0)
Back to top