Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 101 for wasmv3 (0.54 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/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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. pkg/wasm/cache_test.go

    			},
    			initialCachedChecksums: map[string]*checksumEntry{},
    			fetchURL:               ts.URL + "/invalid-wasm-header",
    			getOptions: GetOptions{
    				Checksum:       invalidHTTPDataCheckSum,
    				RequestTimeout: time.Second * 10,
    			},
    			wantCachedModules: map[moduleKey]*cacheEntry{
    				{name: ts.URL, checksum: httpDataCheckSum}: {modulePath: httpDataCheckSum + ".wasm"},
    			},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  9. pkg/wasm/imagefetcher.go

    	if err != nil {
    		return nil, fmt.Errorf("could not extract wasm binary: %v", err)
    	}
    	return ret, nil
    }
    
    // extractOCIStandardImage extracts the Wasm binary from the
    // *compat* variant Wasm image with the standard OCI media type: application/vnd.oci.image.layer.v1.tar+gzip.
    // https://github.com/solo-io/wasm/blob/master/spec/spec-compat.md#specification
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Dec 10 05:44:51 UTC 2023
    - 12K bytes
    - Viewed (0)
  10. pkg/wasm/convert.go

    // if `resource` is a wasm config loading a wasm module from the remote site.
    // It returns `nil` for both the typed extension config and wasm config if it is not for the remote wasm or has an error.
    func tryUnmarshal(resource *anypb.Any) (*core.TypedExtensionConfig, *httpwasm.Wasm, *networkwasm.Wasm, error) {
    	ec := &core.TypedExtensionConfig{}
    	wasmHTTPFilterConfig := &httpwasm.Wasm{}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top