Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 107 for isCall (0.21 sec)

  1. src/bytes/bytes_test.go

    				t.Errorf("IndexByte(%q, 'x') = %v", b1, pos)
    			}
    			b1[j] = 0
    			pos = IndexByte(b1, 'x')
    			if pos != -1 {
    				t.Errorf("IndexByte(%q, 'x') = %v", b1, pos)
    			}
    		}
    	}
    }
    
    // test a small index across all page offsets
    func TestIndexByteSmall(t *testing.T) {
    	b := make([]byte, 5015) // bigger than a page
    	// Make sure we find the correct byte even when straddling a page.
    	for i := 0; i <= len(b)-15; i++ {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  2. internal/store/batch.go

    func (b *Batch[K, T]) Len() int {
    	b.Lock()
    	defer b.Unlock()
    
    	return len(b.keys)
    }
    
    // IsFull checks if the batch is full or not
    func (b *Batch[K, T]) IsFull() bool {
    	b.Lock()
    	defer b.Unlock()
    
    	return b.isFull()
    }
    
    func (b *Batch[K, T]) isFull() bool {
    	return len(b.items) >= int(b.limit)
    }
    
    // NewBatch creates a new batch
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Oct 07 15:07:38 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  3. operator/cmd/mesh/operator-init.go

    	installerScope.Debugf("Installing operator charts with the following values:\n%s", vals)
    	installerScope.Debugf("Using the following manifest to install operator:\n%s\n", mstr)
    
    	opts := &applyOptions{
    		DryRun: args.DryRun,
    	}
    
    	// If CR was passed, we must create a namespace for it and install CR into it.
    	customResource, istioNamespace, err := getCRAndNamespaceFromFile(oiArgs.inFilename, l)
    	if err != nil {
    		l.LogAndFatal(err)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  4. operator/cmd/mesh/manifest-generate.go

    }
    
    func ManifestGenerateCmd(ctx cli.Context, rootArgs *RootArgs, mgArgs *ManifestGenerateArgs) *cobra.Command {
    	return &cobra.Command{
    		Use:   "generate",
    		Short: "Generates an Istio install manifest",
    		Long:  "The generate subcommand generates an Istio install manifest and outputs to the console by default.",
    		// nolint: lll
    		Example: `  # Generate a default Istio installation
      istioctl manifest generate
    
      # Enable Tracing
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  5. internal/s3select/sql/value_test.go

    			tests = append(tests, test{
    				name: fmt.Sprint(a.GetTypeString(), "!=", b.GetTypeString()),
    				fields: fields{
    					a: *a, b: *b,
    				},
    				// Only Null == Null
    				wantOk: a.IsNull() && b.IsNull() && i == 0 && j == 0,
    			})
    		}
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			if gotOk := tt.fields.a.Equals(tt.fields.b); gotOk != tt.wantOk {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 06 16:56:10 GMT 2023
    - 12.5K bytes
    - Viewed (0)
  6. cmd/site-replication-metrics.go

    	// Replication latency information
    	Latency ReplicationLatency `json:"replicationLatency"`
    	// transfer rate for large uploads
    	XferRateLrg *XferStats `json:"largeTransferRate" msg:"lt"`
    	// transfer rate for small uploads
    	XferRateSml *XferStats `json:"smallTransferRate" msg:"st"`
    	// Endpoint is the replication target endpoint
    	Endpoint string `json:"-"`
    	// Secure is true if the replication target endpoint is secure
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  7. cni/pkg/install/kubeconfig_test.go

    // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package install
    
    import (
    	"os"
    	"path/filepath"
    	"testing"
    
    	"istio.io/istio/cni/pkg/config"
    	"istio.io/istio/cni/pkg/constants"
    	testutils "istio.io/istio/pilot/test/util"
    )
    
    const (
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Feb 08 03:52:24 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  8. cmd/update-notifier.go

    	// not able to calculate terminal width via OS syscalls
    	termWidth := 25
    	if width, err := pb.GetTerminalWidth(); err == nil {
    		termWidth = width
    	}
    
    	// Box cannot be printed if terminal width is small than maxContentWidth
    	if maxContentWidth > termWidth {
    		return "\n" + line1InColor + "\n" + line2InColor + "\n\n"
    	}
    
    	topLeftChar := "┏"
    	topRightChar := "┓"
    	bottomLeftChar := "┗"
    	bottomRightChar := "┛"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 09 03:07:08 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  9. cni/pkg/install/cniconfig.go

    // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package install
    
    import (
    	"context"
    	"encoding/json"
    	"fmt"
    	"os"
    	"path/filepath"
    	"sort"
    	"strings"
    
    	"github.com/containernetworking/cni/libcni"
    
    	"istio.io/istio/cni/pkg/config"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  10. internal/s3select/sql/value.go

    		return false, errArithInvalidOperator
    	}
    	switch op {
    	case opIs:
    		if a.IsNull() {
    			// Missing is null
    			return v.IsNull() || v.IsMissing(), nil
    		}
    		if a.IsMissing() {
    			return v.IsMissing(), nil
    		}
    		// Forward to Equal
    		op = opEq
    	case opIsNot:
    		if a.IsNull() {
    			// Missing is not null
    			return !v.IsNull() && !v.IsMissing(), nil
    		}
    		if a.IsMissing() {
    			return !v.IsMissing(), nil
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 25 20:31:19 GMT 2022
    - 20.2K bytes
    - Viewed (0)
Back to top