Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 223 for wasm (0.18 sec)

  1. istioctl/pkg/checkinject/checkinject.go

    		"Check namespace and label pairs injection status, split multiple labels by commas")
    	return cmd
    }
    
    func printCheckInjectorResults(writer io.Writer, was []webhookAnalysis) error {
    	if len(was) == 0 {
    		fmt.Fprintf(writer, "ERROR: no Istio injection hooks present.\n")
    		return nil
    	}
    	w := table.NewStyleWriter(writer)
    	w.SetAddRowFunc(func(obj interface{}) table.Row {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/expr_test.go

    // Copyright 2015 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package asm
    
    import (
    	"cmd/asm/internal/lex"
    	"strings"
    	"testing"
    	"text/scanner"
    )
    
    type exprTest struct {
    	input  string
    	output int64
    	atEOF  bool
    }
    
    var exprTests = []exprTest{
    	// Simple
    	{"0", 0, true},
    	{"3", 3, true},
    	{"070", 8 * 7, true},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/test/gcc68255.go

    //go:build cgo
    
    package cgotest
    
    import (
    	"testing"
    
    	"cmd/cgo/internal/test/gcc68255"
    )
    
    func testGCC68255(t *testing.T) {
    	if !gcc68255.F() {
    		t.Error("C global variable was not initialized")
    	}
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 361 bytes
    - Viewed (0)
  4. cmd/admin-heal-ops.go

    type healSequence struct {
    	// bucket, and object on which heal seq. was initiated
    	bucket, object string
    
    	// Report healing progress
    	reportProgress bool
    
    	// time at which heal sequence was started
    	startTime time.Time
    
    	// time at which heal sequence has ended
    	endTime time.Time
    
    	// Heal client info
    	clientToken, clientAddress string
    
    	// was this heal sequence force started?
    	forceStarted bool
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.1K bytes
    - Viewed (1)
  5. internal/config/identity/ldap/config.go

    		return l, err
    	}
    
    	getCfgVal := func(cfgParam string) string {
    		// As parameters are already validated, we skip checking
    		// if the config param was found.
    		val, _, _ := s.ResolveConfigParam(config.IdentityLDAPSubSys, config.Default, cfgParam, false)
    		return val
    	}
    
    	ldapServer := getCfgVal(ServerAddr)
    	if ldapServer == "" {
    		return l, nil
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 7.9K bytes
    - Viewed (2)
  6. cmd/namespace-lock.go

    		// Decrement ref count since we failed to get the lock
    		n.lockMapMutex.Lock()
    		n.lockMap[resource].ref--
    		if n.lockMap[resource].ref < 0 {
    			logger.CriticalIf(GlobalContext, errors.New("resource reference count was lower than 0"))
    		}
    		if n.lockMap[resource].ref == 0 {
    			// Remove from the map if there are no more references.
    			delete(n.lockMap, resource)
    		}
    		n.lockMapMutex.Unlock()
    	}
    
    	return
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jun 05 23:56:35 GMT 2023
    - 9.2K bytes
    - Viewed (0)
  7. internal/bucket/bandwidth/measurement.go

    )
    
    // bucketMeasurement captures the bandwidth details for one bucket
    type bucketMeasurement struct {
    	lock                 sync.Mutex
    	bytesSinceLastWindow uint64    // Total bytes since last window was processed
    	startTime            time.Time // Start time for window
    	expMovingAvg         float64   // Previously calculate sliding window
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Jun 03 20:41:51 GMT 2023
    - 2.9K bytes
    - Viewed (0)
  8. internal/s3select/sql/jsonpath_test.go

    				t.Fatalf("parse failed!: %d %v %s", i, err, tc)
    			}
    
    			// Read only the first json object from the file
    			recs, err := getJSONStructs(b)
    			if err != nil || len(recs) != 3 {
    				t.Fatalf("%v or length was not 3", err)
    			}
    
    			for j, rec := range recs {
    				// fmt.Println(rec)
    				r, _, err := jsonpathEval(jp.PathExpr, rec)
    				if err != nil {
    					t.Errorf("Error: %d %d %v", i, j, err)
    				}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 2.8K bytes
    - Viewed (0)
  9. internal/s3select/errors.go

    }
    
    func (err *s3Error) Error() string {
    	return err.message
    }
    
    func errMalformedXML(err error) *s3Error {
    	return &s3Error{
    		code:       "MalformedXML",
    		message:    "The XML provided was not well-formed or did not validate against our published schema. Check the service documentation and try again: " + err.Error(),
    		statusCode: 400,
    		cause:      err,
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 14 16:48:36 GMT 2022
    - 4.3K bytes
    - Viewed (0)
  10. operator/cmd/mesh/profile-diff_test.go

    	}
    
    	if c.shouldFail {
    		if fErr == nil {
    			t.Fatalf("Command should have failed for 'istioctl %s', didn't get one, output was %q",
    				c.args, output)
    		}
    	} else {
    		if fErr != nil {
    			t.Fatalf("Command should not have failed for 'istioctl %s': %v", c.args, fErr)
    		}
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Jan 10 05:10:03 GMT 2024
    - 3.6K bytes
    - Viewed (1)
Back to top