Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 83 for helper (0.17 sec)

  1. internal/grid/grid_test.go

    	"strings"
    	"testing"
    	"time"
    
    	"github.com/minio/minio/internal/logger/target/testlogger"
    )
    
    func TestSingleRoundtrip(t *testing.T) {
    	defer testlogger.T.SetLogTB(t)()
    	errFatal := func(err error) {
    		t.Helper()
    		if err != nil {
    			t.Fatal(err)
    		}
    	}
    	grid, err := SetupTestGrid(2)
    	errFatal(err)
    	remoteHost := grid.Hosts[1]
    	local := grid.Managers[0]
    
    	// 1: Echo
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 30 15:03:35 GMT 2024
    - 30.1K bytes
    - Viewed (0)
  2. operator/cmd/mesh/manifest-generate_test.go

    	t.Helper()
    	path := mustGetPath(t, obj, "webhooks")
    	by, err := json.Marshal(path)
    	if err != nil {
    		t.Fatal(err)
    	}
    	var mwh []v1.MutatingWebhook
    	if err := json.Unmarshal(by, &mwh); err != nil {
    		t.Fatal(err)
    	}
    	return mwh
    }
    
    func getWebhooks(t *testing.T, setFlags string, webhookName string) []v1.MutatingWebhook {
    	t.Helper()
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 43.5K bytes
    - Viewed (0)
  3. tensorflow/c/eager/BUILD

            "-fexceptions",
            "-fno-strict-aliasing",
        ],
        features = ["-use_header_modules"],
        visibility = ["//tensorflow:__subpackages__"],
        deps = [
            ":c_api",
            ":c_api_experimental",
            ":tfe_tensorhandle_internal",
            "//tensorflow/c:tf_status_helper",
            "//tensorflow/c:tf_status_internal",
            "//tensorflow/core:framework",
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 33.3K bytes
    - Viewed (0)
  4. helm-releases/minio-5.2.0.tgz

    initialize: |- {{- include (print $.Template.BasePath "/_helper_create_bucket.txt") . | nindent 4 }} add-user: |- {{- include (print $.Template.BasePath "/_helper_create_user.txt") . | nindent 4 }} add-policy: |- {{- include (print $.Template.BasePath "/_helper_create_policy.txt") . | nindent 4 }} {{- range $idx, $policy := .Values.policies }} # Policy: {{ $policy.name }} policy_{{ $idx }}.json: |- {{- include (print $.Template.BasePath "/_helper_policy.tpl") . | nindent 4 }} {{ end }} {{- range $idx,...
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 10:14:37 GMT 2024
    - 21.7K bytes
    - Viewed (0)
  5. cmd/signature-v4.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    // Package cmd This file implements helper functions to validate AWS
    // Signature Version '4' authorization header.
    //
    // This package provides comprehensive helpers for following signature
    // types.
    // - Based on Authorization header.
    // - Based on Query parameters.
    // - Based on Form POST policy.
    package cmd
    
    import (
    	"bytes"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  6. cmd/metrics-v3-types.go

    	return prometheus.NewDesc(
    		md.toPromName(namePrefix),
    		md.Help,
    		md.VariableLabels, extraLabels,
    	)
    }
    
    // NewCounterMD - creates a new counter metric descriptor.
    func NewCounterMD(name MetricName, help string, labels ...string) MetricDescriptor {
    	return MetricDescriptor{
    		Name:           name,
    		Type:           CounterMT,
    		Help:           help,
    		VariableLabels: labels,
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 30 15:05:22 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  7. cmd/metrics-v3.go

    		systemGoCollectorPath: collectors.NewGoCollector(),
    	}
    
    	// Add all `MetricGroup` collectors to the map.
    	for _, mg := range allMetricGroups {
    		collectors[mg.CollectorPath] = mg
    	}
    
    	// Helper function to register a collector and return a gatherer for it.
    	mustRegister := func(c ...prometheus.Collector) prometheus.Gatherer {
    		subRegistry := prometheus.NewRegistry()
    		for _, col := range c {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 17:37:57 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirImportOptimizer.kt

    private fun KtExpression.getPossiblyQualifiedSimpleNameExpression(): KtSimpleNameExpression? {
        return ((this as? KtQualifiedExpression)?.selectorExpression ?: this) as? KtSimpleNameExpression?
    }
    
    /**
     * Helper abstraction to navigate through qualified FIR elements - we have to match [ClassId] and PSI qualifier pair
     * to correctly reason about long qualifiers.
     */
    private sealed interface TypeQualifier {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:47 GMT 2024
    - 24.2K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/connection/ConnectionPoolTest.kt

        connection.readerRunnable.applyAndAckSettings(true, settings)
        assertThat(connection.peerSettings[Settings.MAX_CONCURRENT_STREAMS]).isEqualTo(amount)
        taskFaker.runTasks()
      }
    
      /** Use a helper method so there's no hidden reference remaining on the stack.  */
      private fun allocateAndLeakAllocation(
        pool: ConnectionPool,
        connection: RealConnection,
      ) {
        val client =
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 24 04:40:49 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  10. internal/ioutil/ioutil.go

    type DeadlineWorker struct {
    	timeout time.Duration
    }
    
    // NewDeadlineWorker constructs a new DeadlineWorker with the given timeout.
    // To return values, use the WithDeadline helper instead.
    func NewDeadlineWorker(timeout time.Duration) *DeadlineWorker {
    	dw := &DeadlineWorker{
    		timeout: timeout,
    	}
    	return dw
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 11:26:59 GMT 2024
    - 10.3K bytes
    - Viewed (0)
Back to top