Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for objWith (0.14 sec)

  1. src/runtime/pinner_test.go

    	x int64
    	y int64
    	z int64
    }
    
    type objWith[T any] struct {
    	x int64
    	y int64
    	z int64
    	o T
    }
    
    var (
    	globalUintptr                uintptr
    	globalPtrToObj               = &obj{}
    	globalPtrToObjWithPtr        = &objWith[*uintptr]{}
    	globalPtrToRuntimeObj        = func() *obj { return &obj{} }()
    	globalPtrToRuntimeObjWithPtr = func() *objWith[*uintptr] { return &objWith[*uintptr]{} }()
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 18:36:12 UTC 2023
    - 11K bytes
    - Viewed (0)
  2. cmd/ftp-server-driver.go

    // Stat implements ftpDriver
    func (driver *ftpDriver) Stat(ctx *ftp.Context, objPath string) (fi os.FileInfo, err error) {
    	stopFn := globalFtpMetrics.log(ctx, objPath)
    	defer stopFn(0, err)
    
    	if objPath == SlashSeparator {
    		return &minioFileInfo{
    			p:     SlashSeparator,
    			isDir: true,
    		}, nil
    	}
    
    	bucket, object := path2BucketObject(objPath)
    	if bucket == "" {
    		return nil, errors.New("bucket name cannot be empty")
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 03 15:45:54 UTC 2024
    - 14K bytes
    - Viewed (0)
  3. cmd/iam-object-store.go

    }
    
    func decryptData(data []byte, objPath string) ([]byte, error) {
    	if utf8.Valid(data) {
    		return data, nil
    	}
    
    	pdata, err := madmin.DecryptData(globalActiveCred.String(), bytes.NewReader(data))
    	if err == nil {
    		return pdata, nil
    	}
    	if GlobalKMS != nil {
    		pdata, err = config.DecryptBytes(GlobalKMS, data, kms.Context{
    			minioMetaBucket: path.Join(minioMetaBucket, objPath),
    		})
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/check.go

    func (check *Checker) push(obj Object) int {
    	check.objPath = append(check.objPath, obj)
    	return len(check.objPath) - 1
    }
    
    // pop pops and returns the topmost object from the object path.
    func (check *Checker) pop() Object {
    	i := len(check.objPath) - 1
    	obj := check.objPath[i]
    	check.objPath[i] = nil
    	check.objPath = check.objPath[:i]
    	return obj
    }
    
    type cleaner interface {
    	cleanup()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  5. src/go/types/check.go

    func (check *Checker) push(obj Object) int {
    	check.objPath = append(check.objPath, obj)
    	return len(check.objPath) - 1
    }
    
    // pop pops and returns the topmost object from the object path.
    func (check *Checker) pop() Object {
    	i := len(check.objPath) - 1
    	obj := check.objPath[i]
    	check.objPath[i] = nil
    	check.objPath = check.objPath[:i]
    	return obj
    }
    
    type cleaner interface {
    	cleanup()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/decl.go

    	if check.conf.Trace && obj.Type() == nil {
    		if check.indent == 0 {
    			fmt.Println() // empty line between top-level objects for readability
    		}
    		check.trace(obj.Pos(), "-- checking %s (%s, objPath = %s)", obj, obj.color(), pathString(check.objPath))
    		check.indent++
    		defer func() {
    			check.indent--
    			check.trace(obj.Pos(), "=> %s (%s)", obj, obj.color())
    		}()
    	}
    
    	// Checking the declaration of obj means inferring its type
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  7. src/go/types/decl.go

    	if check.conf._Trace && obj.Type() == nil {
    		if check.indent == 0 {
    			fmt.Println() // empty line between top-level objects for readability
    		}
    		check.trace(obj.Pos(), "-- checking %s (%s, objPath = %s)", obj, obj.color(), pathString(check.objPath))
    		check.indent++
    		defer func() {
    			check.indent--
    			check.trace(obj.Pos(), "=> %s (%s)", obj, obj.color())
    		}()
    	}
    
    	// Checking the declaration of obj means inferring its type
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 31K bytes
    - Viewed (0)
  8. src/debug/pe/file_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    
    	objpath := filepath.Join(tmpdir, "a.obj")
    	cmd := exec.Command(gccpath, "-c", srcpath, "-o", objpath)
    	out, err := cmd.CombinedOutput()
    	if err != nil {
    		t.Fatalf("failed to build object file: %v - %v", err, string(out))
    	}
    
    	f, err := Open(objpath)
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer f.Close()
    
    	var bss *Section
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 01 02:25:16 UTC 2023
    - 22.3K bytes
    - Viewed (0)
  9. src/go/types/expr.go

    					// ok to continue
    				}
    			}
    
    		case *Array:
    			// Prevent crash if the array referred to is not yet set up. Was go.dev/issue/18643.
    			// This is a stop-gap solution. Should use Checker.objPath to report entire
    			// path starting with earliest declaration in the source. TODO(gri) fix this.
    			if utyp.elem == nil {
    				check.error(e, InvalidTypeCycle, "invalid recursive type")
    				goto Error
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/expr.go

    					// ok to continue
    				}
    			}
    
    		case *Array:
    			// Prevent crash if the array referred to is not yet set up. Was go.dev/issue/18643.
    			// This is a stop-gap solution. Should use Checker.objPath to report entire
    			// path starting with earliest declaration in the source. TODO(gri) fix this.
    			if utyp.elem == nil {
    				check.error(e, InvalidTypeCycle, "invalid recursive type")
    				goto Error
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
Back to top