Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 2,911 for case1 (0.05 sec)

  1. pilot/pkg/networking/util/util_test.go

    			},
    		},
    	}
    	for _, tt := range cases {
    		t.Run(tt.name, func(t *testing.T) {
    			input := &core.Metadata{}
    			AppendLbEndpointMetadata(tt.metadata, input)
    			if !reflect.DeepEqual(input, tt.want) {
    				t.Errorf("Unexpected Endpoint metadata got %v, want %v", input, tt.want)
    			}
    		})
    	}
    }
    
    func TestByteCount(t *testing.T) {
    	cases := []struct {
    		in  int
    		out string
    	}{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 01:17:58 UTC 2024
    - 40K bytes
    - Viewed (0)
  2. src/internal/trace/raw/doc.go

    Any amount of whitespace is allowed to separate each token. Whitespace
    is identified via unicode.IsSpace.
    
    Some events have additional data on following lines. There are two such
    special cases.
    
    The first special case consists of events with trailing byte-oriented data.
    The trailer begins on the following line from the event. That line consists
    of a single argument 'data' and a Go-quoted string representing the byte data
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. pilot/cmd/pilot-agent/status/server_test.go

    	case "redirect-loop":
    		http.Redirect(w, r, "/redirect-loop", http.StatusMovedPermanently)
    	case "remote-redirect":
    		http.Redirect(w, r, "http://example.com/foo", http.StatusMovedPermanently)
    	case "", "hello/sunnyvale":
    		w.Write([]byte("welcome, it works"))
    	case "status":
    		code, _ := strconv.Atoi(segments[1])
    		w.Header().Set("Location", "/")
    		w.WriteHeader(code)
    	default:
    		return
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 15:07:03 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  4. platforms/software/testing-base/src/main/java/org/gradle/api/tasks/testing/JUnitXmlReport.java

     */
    public interface JUnitXmlReport extends DirectoryReport {
    
        /**
         * Should the output be associated with individual test cases instead of at the suite level.
         */
        @Input
        boolean isOutputPerTestCase();
    
        /**
         * Should the output be associated with individual test cases instead of at the suite level.
         */
        void setOutputPerTestCase(boolean outputPerTestCase);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 18:49:56 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. tests/integration/telemetry/policy/helper_test.go

    	//       namespace
    
    	// Test cases:
    	// 1. http case:
    	//    client -------> Hits listener 0.0.0.0_80 cluster
    	//    Metric is istio_requests_total i.e. HTTP
    	//
    	// 2. https case:
    	//    client ----> Hits no listener -> 0.0.0.0_150001 -> ALLOW_ANY/REGISTRY_ONLY
    	//    Metric is istio_tcp_connections_closed_total i.e. TCP
    	//
    	// 3. https conflict case:
    	//    client ----> Hits listener 0.0.0.0_9443
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/types.go

    	}
    	m.seen[typ] = true
    
    	switch typ := typ.(type) {
    	case *types.Signature:
    		return m.t == argPointer
    
    	case *types.Map:
    		if m.t == argPointer {
    			return true
    		}
    		// Recur: map[int]int matches %d.
    		return m.match(typ.Key(), false) && m.match(typ.Elem(), false)
    
    	case *types.Chan:
    		return m.t&argPointer != 0
    
    	case *types.Array:
    		// Same as slice.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  7. docs/en/docs/deployment/docker.md

    **replication** at the cluster level, with multiple **containers**. In those cases, you are better off **building an image from scratch** as described above: [Build a Docker Image for FastAPI](#build-a-docker-image-for-fastapi).
    
    This image would be useful mainly in the special cases described above in [Containers with Multiple Processes and Special Cases](#containers-with-multiple-processes-and-special-cases). For example, if your application is **simple enough** that setting a default...
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 34K bytes
    - Viewed (0)
  8. pkg/config/security/security.go

    		return err
    	}
    	switch {
    	case hasPrefix(key, attrRequestHeader):
    		return validateMapKey(key)
    	case isEqual(key, attrSrcIP):
    		return ValidateIPs(values)
    	case isEqual(key, attrRemoteIP):
    		return ValidateIPs(values)
    	case isEqual(key, attrSrcNamespace):
    	case isEqual(key, attrSrcPrincipal):
    	case isEqual(key, attrRequestPrincipal):
    	case isEqual(key, attrRequestAudiences):
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 07 04:43:34 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  9. src/unicode/utf8/utf8.go

    // It returns -1 if the rune is not a valid value to encode in UTF-8.
    func RuneLen(r rune) int {
    	switch {
    	case r < 0:
    		return -1
    	case r <= rune1Max:
    		return 1
    	case r <= rune2Max:
    		return 2
    	case surrogateMin <= r && r <= surrogateMax:
    		return -1
    	case r <= rune3Max:
    		return 3
    	case r <= MaxRune:
    		return 4
    	}
    	return -1
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 02:00:36 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  10. pilot/pkg/xds/delta.go

    	// Spontaneous DeltaDiscoveryRequests from the client.
    	// This can be done to dynamically add or remove elements from the tracked resource_names set.
    	// In this case response_nonce is empty.
    	spontaneousReq := request.ResponseNonce == ""
    	// It is invalid in the below two cases:
    	// 1. no subscribed resources change from spontaneous delta request.
    	// 2. subscribed resources changes from ACK.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 25.6K bytes
    - Viewed (0)
Back to top