Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1031 - 1040 of 1,209 for strncat (0.14 sec)

  1. istioctl/pkg/metrics/metrics.go

    	}
    
    	cmd.PersistentFlags().DurationVarP(&metricsDuration, "duration", "d", time.Minute, "Duration of query metrics, default value is 1m.")
    
    	return cmd
    }
    
    type workloadMetrics struct {
    	workload                           string
    	totalRPS, errorRPS                 float64
    	p50Latency, p90Latency, p99Latency time.Duration
    }
    
    func run(c *cobra.Command, ctx cli.Context, args []string) error {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. cmd/sftp-server_test.go

    package cmd
    
    import (
    	"context"
    	"errors"
    	"fmt"
    	"net"
    	"os"
    	"testing"
    
    	"github.com/minio/madmin-go/v3"
    	"golang.org/x/crypto/ssh"
    )
    
    type MockConnMeta struct {
    	username string
    }
    
    func (m *MockConnMeta) User() string {
    	return m.username
    }
    
    func (m *MockConnMeta) SessionID() []byte {
    	return []byte{}
    }
    
    func (m *MockConnMeta) ClientVersion() []byte {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 28 09:06:25 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. fastapi/openapi/docs.py

        html = """
        <!doctype html>
        <html lang="en-US">
        <head>
            <title>Swagger UI: OAuth2 Redirect</title>
        </head>
        <body>
        <script>
            'use strict';
            function run () {
                var oauth2 = window.opener.swaggerUIRedirectOauth2;
                var sentState = oauth2.state;
                var redirectUrl = oauth2.redirectUrl;
                var isValid, qp, arr;
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu May 23 22:59:02 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/HeadersChallengesTest.kt

        expectedAuthParams["stale"] = "FALSE"
        assertThat(challenges[0].authParams).isEqualTo(expectedAuthParams)
      }
    
      @Test fun testDigestChallengeWithCamelCasedNames2() {
        // Strict RFC 2617 camelcased.
        val headers =
          Headers.Builder()
            .add(
              "WWW-Authenticate",
              "DIgEsT rEaLm=\"myrealm\", nonce=\"fjalskdflwejrlaskdfjlaskdjflaks" +
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/security/first-steps.md

    We will soon also create the actual path operation.
    
    /// info
    
    If you are a very strict "Pythonista" you might dislike the style of the parameter name `tokenUrl` instead of `token_url`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  6. cmd/kms-handlers_test.go

    	kmsAdminKeyCreate     = adminURL + "/kms/key/create"
    )
    
    const (
    	userAccessKey = "miniofakeuseraccesskey"
    	userSecretKey = "miniofakeusersecret"
    )
    
    type kmsTestCase struct {
    	name   string
    	method string
    	path   string
    	query  map[string]string
    
    	// User credentials and policy for request
    	policy string
    	asRoot bool
    
    	// Wanted in response.
    	wantStatusCode int
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  7. tests/sql_builder_test.go

    	user1 := User{Name: "ExecRawSqlUser1", Age: 1}
    	user2 := User{Name: "ExecRawSqlUser2", Age: 10}
    	user3 := User{Name: "ExecRawSqlUser3", Age: 20}
    	DB.Save(&user1).Save(&user2).Save(&user3)
    
    	type result struct {
    		Name  string
    		Email string
    	}
    
    	var results []result
    	DB.Raw("SELECT name, age FROM users WHERE name = ? or name = ?", user2.Name, user3.Name).Scan(&results)
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Jan 12 08:42:21 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  8. cmd/erasure-heal_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"bytes"
    	"context"
    	"crypto/rand"
    	"io"
    	"os"
    	"testing"
    )
    
    var erasureHealTests = []struct {
    	dataBlocks, disks int
    
    	// number of offline disks is also number of staleDisks for
    	// erasure reconstruction in this test
    	offDisks int
    
    	// bad disks are online disks which return errors
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  9. src/bytes/compare_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package bytes_test
    
    import (
    	. "bytes"
    	"fmt"
    	"testing"
    )
    
    var compareTests = []struct {
    	a, b []byte
    	i    int
    }{
    	{[]byte(""), []byte(""), 0},
    	{[]byte("a"), []byte(""), 1},
    	{[]byte(""), []byte("a"), -1},
    	{[]byte("abc"), []byte("abc"), 0},
    	{[]byte("abd"), []byte("abc"), 1},
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 13 23:11:42 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  10. istioctl/pkg/proxyconfig/proxyconfig_test.go

    	cmdutil "k8s.io/kubectl/pkg/cmd/util"
    
    	"istio.io/istio/istioctl/pkg/cli"
    	"istio.io/istio/pilot/test/util"
    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    type execTestCase struct {
    	execClientConfig map[string][]byte
    	args             []string
    
    	// Typically use one of the three
    	expectedOutput string // Expected constant output
    	expectedString string // String output is expected to contain
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Apr 10 21:51:29 UTC 2024
    - 8.9K bytes
    - Viewed (0)
Back to top