Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Sscanf (0.03 sec)

  1. cmd/erasure-multipart.go

    		// part files can be either part.N or part.N.meta
    		for _, partPath := range driveParts {
    			var partNum int
    			if _, err := fmt.Sscanf(partPath, "part.%d", &partNum); err == nil {
    				partsWithMetaCount[partNum]++
    				continue
    			}
    			if _, err := fmt.Sscanf(partPath, "part.%d.meta", &partNum); err == nil {
    				partsWithMetaCount[partNum]++
    			}
    		}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 47.3K bytes
    - Viewed (0)
  2. tests/generics_test.go

    		t.Errorf("found invalid user, got %v, expect %v", u, user)
    	}
    
    	result := struct {
    		ID   int
    		Name string
    	}{}
    	if err := gorm.G[User](DB).Where("name = ?", user.Name).Scan(ctx, &result); err != nil {
    		t.Fatalf("failed to scan user, got error: %v", err)
    	} else if result.Name != user.Name || uint(result.ID) != user.ID {
    		t.Errorf("found invalid user, got %v, expect %v", result, user)
    	}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 28K bytes
    - Viewed (0)
  3. docs/en/data/topic_repos.yml

    - name: restish
      html_url: https://github.com/rest-sh/restish
      stars: 1107
      owner_login: rest-sh
      owner_html_url: https://github.com/rest-sh
    - name: fastapi-scaff
      html_url: https://github.com/atpuxiner/fastapi-scaff
      stars: 1052
      owner_login: atpuxiner
      owner_html_url: https://github.com/atpuxiner
    - name: runhouse
      html_url: https://github.com/run-house/runhouse
      stars: 1043
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Sep 05 08:57:41 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  4. generics.go

    	Updates(ctx context.Context, t T) (rowsAffected int, err error)
    	Count(ctx context.Context, column string) (result int64, err error)
    }
    
    type ExecInterface[T any] interface {
    	Scan(ctx context.Context, r interface{}) error
    	First(context.Context) (T, error)
    	Last(ctx context.Context) (T, error)
    	Take(context.Context) (T, error)
    	Find(ctx context.Context) ([]T, error)
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 15.5K bytes
    - Viewed (0)
Back to top