Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 112 for wasmv3 (0.15 sec)

  1. pkg/istio-agent/xds_proxy_test.go

    		t.Errorf("xds proxy ecds wasm conversion number of received resource got %v want 1", len(gotResp.Resources))
    	}
    	gotEcdsConfig := &core.TypedExtensionConfig{}
    	if err := gotResp.Resources[0].UnmarshalTo(gotEcdsConfig); err != nil {
    		t.Fatalf("wasm config conversion output %v failed to unmarshal", gotResp.Resources[0])
    	}
    	wasm := &wasm.Wasm{
    		Config: &wasmv3.PluginConfig{
    			Vm: &wasmv3.PluginConfig_VmConfig{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 04:48:02 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssagen/abi.go

    	ir.CurFunc = savedcurfn
    }
    
    // CreateWasmImportWrapper creates a wrapper for imported WASM functions to
    // adapt them to the Go calling convention. The body for this function is
    // generated in cmd/internal/obj/wasm/wasmobj.go
    func CreateWasmImportWrapper(fn *ir.Func) bool {
    	if fn.WasmImport == nil {
    		return false
    	}
    	if buildcfg.GOARCH != "wasm" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/wasm/wasmobj.go

    				loadOffset := f.Offset + 8
    
    				// We're reading the value from the Go stack onto the WASM stack and leaving it there
    				// for CALL to pick them up.
    				switch f.Type {
    				case obj.WasmI32:
    					p = appendp(p, AI32Load, constAddr(loadOffset))
    				case obj.WasmI64:
    					p = appendp(p, AI64Load, constAddr(loadOffset))
    				case obj.WasmF32:
    					p = appendp(p, AF32Load, constAddr(loadOffset))
    				case obj.WasmF64:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 34.6K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/Wasm.rules

    Keith Randall <******@****.***> 1676485312 -0800
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 03:56:57 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  5. src/cmd/link/internal/wasm/asm.go

    	}
    }
    
    func fieldsToTypes(fields []obj.WasmField) []byte {
    	b := make([]byte, len(fields))
    	for i, f := range fields {
    		switch f.Type {
    		case obj.WasmI32, obj.WasmPtr:
    			b[i] = I32
    		case obj.WasmI64:
    			b[i] = I64
    		case obj.WasmF32:
    			b[i] = F32
    		case obj.WasmF64:
    			b[i] = F64
    		default:
    			panic(fmt.Sprintf("fieldsToTypes: unknown field type: %d", f.Type))
    		}
    	}
    	return b
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:17:48 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  6. pkg/wasm/convert_test.go

    					t.Errorf("wasm config conversion output index %d got %v want %v", i, ec, c.wantOutput[i])
    				}
    			}
    			if c.wantErr && gotErr == nil {
    				t.Error("wasm config conversion fails to raise an error")
    			} else if !c.wantErr && gotErr != nil {
    				t.Errorf("wasm config conversion got unexpected error: %v", gotErr)
    			}
    		})
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  7. pkg/wasm/cache.go

    	// sha256 scheme prefix
    	sha256SchemePrefix = "sha256:"
    )
    
    // Cache models a Wasm module cache.
    type Cache interface {
    	Get(url string, opts GetOptions) (string, error)
    	Cleanup()
    }
    
    // LocalFileCache for downloaded Wasm modules. Currently it stores the Wasm module as local file.
    type LocalFileCache struct {
    	// Map from Wasm module checksum to cache entry.
    	modules map[moduleKey]*cacheEntry
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/wasm/ssa.go

    			s.Prog(wasm.AIf)
    			s.Br(obj.AJMP, b.Succs[0].Block())
    			s.Prog(wasm.AEnd)
    			s.Br(obj.AJMP, b.Succs[1].Block())
    		}
    
    	case ssa.BlockRet:
    		s.Prog(obj.ARET)
    
    	case ssa.BlockExit, ssa.BlockRetJmp:
    
    	case ssa.BlockDefer:
    		p := s.Prog(wasm.AGet)
    		p.From = obj.Addr{Type: obj.TYPE_REG, Reg: wasm.REG_RET0}
    		s.Prog(wasm.AI64Eqz)
    		s.Prog(wasm.AI32Eqz)
    		s.Prog(wasm.AIf)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:21:13 UTC 2023
    - 17.6K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/link.go

    	// Offset holds the frame-pointer-relative locations for Go's stack-based
    	// ABI. This is used by the src/cmd/internal/wasm package to map WASM
    	// import parameters to the Go stack in a wrapper function.
    	Offset int64
    }
    
    type WasmFieldType byte
    
    const (
    	WasmI32 WasmFieldType = iota
    	WasmI64
    	WasmF32
    	WasmF64
    	WasmPtr
    )
    
    type InlMark struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/text/cases/map.go

    			c.isMidWord = false
    		}
    
    		// As we save the state of the transformer, it is safe to call
    		// checkpoint after any successful write.
    		if !(c.isMidWord && wasMid) {
    			c.checkpoint()
    		}
    
    		if !c.next() {
    			break
    		}
    		if wasMid && c.info.isMid() {
    			c.isMidWord = false
    		}
    	}
    	return c.ret()
    }
    
    func (t *titleCaser) Span(src []byte, atEOF bool) (n int, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 22.7K bytes
    - Viewed (0)
Back to top