Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 89 for UInt32 (0.1 sec)

  1. pilot/pkg/config/kube/gateway/conversion.go

    	res := make([]*istio.HTTPRoute, 0, len(routes))
    	for _, r := range routes {
    		r = r.DeepCopy()
    		for _, m := range r.Match {
    			m.Port = uint32(port)
    		}
    		if len(r.Match) == 0 {
    			r.Match = []*istio.HTTPMatchRequest{{
    				Port: uint32(port),
    			}}
    		}
    		res = append(res, r)
    	}
    	return res
    }
    
    func augmentTCPPortMatch(routes []*istio.TCPRoute, port k8s.PortNumber) []*istio.TCPRoute {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/listener_waypoint.go

    	for _, dst := range in.Route {
    		weight := &wrappers.UInt32Value{Value: uint32(dst.Weight)}
    		if dst.Weight == 0 {
    			// Ignore 0 weighted clusters if there are other clusters in the route.
    			// But if this is the only cluster in the route, then add it as a cluster with weight 100
    			if len(in.Route) == 1 {
    				weight.Value = uint32(100)
    			} else {
    				continue
    			}
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/listener_test.go

    			}, proxy)
    		})
    	})
    }
    
    func testPrivilegedPorts(t *testing.T, buildListeners func(t *testing.T, proxy *model.Proxy, port uint32) []*listener.Listener) {
    	privilegedPorts := []uint32{1, 80, 443, 1023}
    	unprivilegedPorts := []uint32{1024, 8080, 8443, 15443}
    	anyPorts := append(privilegedPorts, unprivilegedPorts...)
    
    	// multiple test cases to ensure that privileged ports get treated differently
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 93.6K bytes
    - Viewed (0)
  4. pilot/pkg/serviceregistry/kube/controller/ambient/workloads_test.go

    				ObjectMeta: metav1.ObjectMeta{
    					Name:      "name",
    					Namespace: "ns",
    					Labels: map[string]string{
    						"app": "foo",
    					},
    				},
    				Spec: networking.WorkloadEntry{
    					Ports: map[string]uint32{
    						"81":        8180,
    						"82-target": 8280,
    					},
    					Address: "1.2.3.4",
    				},
    			},
    			result: &workloadapi.Workload{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  5. pkg/workloadapi/workload.pb.go

    	sizeCache     protoimpl.SizeCache
    	unknownFields protoimpl.UnknownFields
    
    	// Port the service is reached at (frontend).
    	ServicePort uint32 `protobuf:"varint,1,opt,name=service_port,json=servicePort,proto3" json:"service_port,omitempty"`
    	// Port the service forwards to (backend).
    	TargetPort uint32 `protobuf:"varint,2,opt,name=target_port,json=targetPort,proto3" json:"target_port,omitempty"`
    }
    
    func (x *Port) Reset() {
    	*x = Port{}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:02:35 UTC 2024
    - 65.9K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/cluster.go

    	}
    
    	if keepalive.Time != nil {
    		c.UpstreamConnectionOptions.TcpKeepalive.KeepaliveTime = &wrappers.UInt32Value{Value: uint32(keepalive.Time.Seconds)}
    	}
    
    	if keepalive.Interval != nil {
    		c.UpstreamConnectionOptions.TcpKeepalive.KeepaliveInterval = &wrappers.UInt32Value{Value: uint32(keepalive.Interval.Seconds)}
    	}
    }
    
    // Build a struct which contains service metadata and will be added into cluster label.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 33K bytes
    - Viewed (0)
  7. scan.go

    			db.AddError(rows.Scan(values...))
    
    			mapValue := map[string]interface{}{}
    			scanIntoMap(mapValue, values, columns)
    			*dest = append(*dest, mapValue)
    		}
    	case *int, *int8, *int16, *int32, *int64,
    		*uint, *uint8, *uint16, *uint32, *uint64, *uintptr,
    		*float32, *float64,
    		*bool, *string, *time.Time,
    		*sql.NullInt32, *sql.NullInt64, *sql.NullFloat64,
    		*sql.NullBool, *sql.NullString, *sql.NullTime:
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:57:36 UTC 2024
    - 10K bytes
    - Viewed (0)
  8. src/sync/mutex.go

    // A failed call to TryLock does not establish any “synchronizes before”
    // relation at all.
    //
    // [the Go memory model]: https://go.dev/ref/mem
    type Mutex struct {
    	state int32
    	sema  uint32
    }
    
    // A Locker represents an object that can be locked and unlocked.
    type Locker interface {
    	Lock()
    	Unlock()
    }
    
    const (
    	mutexLocked = 1 << iota // mutex is locked
    	mutexWoken
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  9. cmd/object-api-utils.go

    func getCompressedOffsets(oi ObjectInfo, offset int64, decrypt func([]byte) ([]byte, error)) (compressedOffset int64, partSkip int64, firstPart int, decryptSkip int64, seqNum uint32) {
    	var skipLength int64
    	var cumulativeActualSize int64
    	var firstPartIdx int
    	for i, part := range oi.Parts {
    		cumulativeActualSize += part.ActualSize
    		if cumulativeActualSize <= offset {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  10. src/cmd/link/internal/ld/data.go

    		case 8:
    			binary.Write(&buf, ctxt.Arch.ByteOrder, elf.Chdr64{
    				Type:      uint32(elf.COMPRESS_ZLIB),
    				Size:      uint64(total),
    				Addralign: uint64(ctxt.Arch.Alignment),
    			})
    		case 4:
    			binary.Write(&buf, ctxt.Arch.ByteOrder, elf.Chdr32{
    				Type:      uint32(elf.COMPRESS_ZLIB),
    				Size:      uint32(total),
    				Addralign: uint32(ctxt.Arch.Alignment),
    			})
    		default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (0)
Back to top