Search Options

Results per page
Sort
Preferred Languages
Advance

Results 941 - 950 of 1,384 for funcs (0.03 sec)

  1. cni/pkg/install/binaries_test.go

    // limitations under the License.
    
    package install
    
    import (
    	"path/filepath"
    	"testing"
    
    	"istio.io/istio/pkg/test/util/assert"
    	"istio.io/istio/pkg/test/util/file"
    )
    
    func TestCopyBinaries(t *testing.T) {
    	cases := []struct {
    		name          string
    		srcFiles      map[string]string
    		existingFiles map[string]string
    		expectedFiles map[string]string
    	}{
    		{
    			name:          "basic",
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jul 20 18:34:43 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  2. istioctl/pkg/util/configdump/secret.go

    	extapi "github.com/envoyproxy/go-control-plane/envoy/extensions/transport_sockets/tls/v3"
    	anypb "google.golang.org/protobuf/types/known/anypb"
    )
    
    // GetSecretConfigDump retrieves a secret dump from a config dump wrapper
    func (w *Wrapper) GetSecretConfigDump() (*admin.SecretsConfigDump, error) {
    	secretDumpAny, err := w.getSection(secrets)
    	if err != nil {
    		return nil, err
    	}
    	secretDump := &admin.SecretsConfigDump{}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Feb 25 04:09:53 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  3. clause/values.go

    package clause
    
    type Values struct {
    	Columns []Column
    	Values  [][]interface{}
    }
    
    // Name from clause name
    func (Values) Name() string {
    	return "VALUES"
    }
    
    // Build build from clause
    func (values Values) Build(builder Builder) {
    	if len(values.Columns) > 0 {
    		builder.WriteByte('(')
    		for idx, column := range values.Columns {
    			if idx > 0 {
    				builder.WriteByte(',')
    			}
    			builder.WriteQuoted(column)
    		}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sun May 24 03:35:19 UTC 2020
    - 849 bytes
    - Viewed (0)
  4. cmd/object-api-interface.go

    // CheckPreconditionFn returns true if precondition check failed.
    type CheckPreconditionFn func(o ObjectInfo) bool
    
    // EvalMetadataFn validates input objInfo and GetObjectInfo error and returns an updated metadata and replication decision if any
    type EvalMetadataFn func(o *ObjectInfo, gerr error) (ReplicateDecision, error)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 21:57:20 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  5. misc/cgo/gmp/fib.go

    // that pass integers back and forth.  No actual
    // concurrency, just threads and synchronization
    // and foreign code on multiple pthreads.
    
    package main
    
    import (
    	big "."
    	"runtime"
    )
    
    func fibber(c chan *big.Int, out chan string, n int64) {
    	// Keep the fibbers in dedicated operating system
    	// threads, so that this program tests coordination
    	// between pthreads and not just goroutines.
    	runtime.LockOSThread()
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Apr 10 22:32:35 UTC 2023
    - 919 bytes
    - Viewed (0)
  6. cmd/batch-expire.go

    )
    
    type objInfoCache map[string]*ObjectInfo
    
    func newObjInfoCache() objInfoCache {
    	return objInfoCache(make(map[string]*ObjectInfo))
    }
    
    func (oiCache objInfoCache) Add(toDel ObjectToDelete, oi *ObjectInfo) {
    	oiCache[fmt.Sprintf("%s-%s", toDel.ObjectName, toDel.VersionID)] = oi
    }
    
    func (oiCache objInfoCache) Get(toDel ObjectToDelete) (*ObjectInfo, bool) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  7. internal/s3select/parquet/reader.go

    	r *parquetgo.FileReader
    }
    
    // NewParquetReader creates a Reader2 from a io.ReadSeekCloser.
    func NewParquetReader(rsc io.ReadSeekCloser, _ *ReaderArgs) (r *Reader, err error) {
    	fr, err := parquetgo.NewFileReader(rsc)
    	if err != nil {
    		return nil, errParquetParsingError(err)
    	}
    
    	return &Reader{Closer: rsc, r: fr}, nil
    }
    
    func (pr *Reader) Read(dst sql.Record) (rec sql.Record, rerr error) {
    	nextRow, err := pr.r.NextRow()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  8. cmd/update-notifier.go

    	"github.com/cheggaaa/pb"
    	humanize "github.com/dustin/go-humanize"
    	"github.com/minio/minio/internal/color"
    )
    
    // prepareUpdateMessage - prepares the update message, only if a
    // newer version is available.
    func prepareUpdateMessage(downloadURL string, older time.Duration) string {
    	if downloadURL == "" || older <= 0 {
    		return ""
    	}
    
    	// Compute friendly duration string to indicate time
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Mar 09 03:07:08 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. internal/bucket/object/lock/lock_test.go

    package lock
    
    import (
    	"encoding/xml"
    	"errors"
    	"fmt"
    	"net/http"
    	"reflect"
    	"strings"
    	"testing"
    	"time"
    
    	xhttp "github.com/minio/minio/internal/http"
    )
    
    func TestParseMode(t *testing.T) {
    	testCases := []struct {
    		value        string
    		expectedMode RetMode
    	}{
    		{
    			value:        "governance",
    			expectedMode: RetGovernance,
    		},
    		{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jun 29 01:20:27 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  10. cmd/api-response_test.go

    		testCase := testCase
    		t.Run("", func(t *testing.T) {
    			gotLocation := getObjectLocation(testCase.request, testCase.domains, testCase.bucket, testCase.object)
    			if testCase.expectedLocation != gotLocation {
    				t.Errorf("expected %s, got %s", testCase.expectedLocation, gotLocation)
    			}
    		})
    	}
    }
    
    // Tests getURLScheme function behavior.
    func TestGetURLScheme(t *testing.T) {
    	tls := false
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 3.5K bytes
    - Viewed (0)
Back to top