Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for STRING (0.24 sec)

  1. cni/pkg/ipset/ipset.go

    )
    
    type IPSet struct {
    	V4Name string
    	V6Name string
    	Prefix string
    	Deps   NetlinkIpsetDeps
    }
    
    const (
    	V4Name = "%s-v4"
    	V6Name = "%s-v6"
    )
    
    type NetlinkIpsetDeps interface {
    	ipsetIPHashCreate(name string, v6 bool) error
    	destroySet(name string) error
    	addIP(name string, ip netip.Addr, ipProto uint8, comment string, replace bool) error
    	deleteIP(name string, ip netip.Addr, ipProto uint8) error
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  2. cmd/object-handlers_test.go

    		{"small-1", []int64{509}, make(map[string]string)},
    		{"small-2", []int64{5 * oneMiB}, make(map[string]string)},
    		// // // cases 5-8: multipart part objects
    		{"mp-0", []int64{5 * oneMiB, 1}, make(map[string]string)},
    		{"mp-1", []int64{5*oneMiB + 1, 1}, make(map[string]string)},
    		{"mp-2", []int64{5487701, 5487799, 3}, make(map[string]string)},
    		{"mp-3", []int64{10499807, 10499963, 7}, make(map[string]string)},
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  3. cni/pkg/ipset/nldeps_linux.go

    		return nil
    	}
    
    	return err
    }
    
    func (m *realDeps) destroySet(name string) error {
    	err := netlink.IpsetDestroy(name)
    	return err
    }
    
    func (m *realDeps) addIP(name string, ip netip.Addr, ipProto uint8, comment string, replace bool) error {
    	err := netlink.IpsetAdd(name, &netlink.IPSetEntry{
    		Comment:  comment,
    		IP:       net.IP(ip.AsSlice()),
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  4. cmd/erasure-multipart.go

    			crc := expPart.Checksums[checksumType.String()]
    			if crc == "" {
    				return oi, InvalidPart{
    					PartNumber: part.PartNumber,
    				}
    			}
    			wantCS := map[string]string{
    				hash.ChecksumCRC32.String():  part.ChecksumCRC32,
    				hash.ChecksumCRC32C.String(): part.ChecksumCRC32C,
    				hash.ChecksumSHA1.String():   part.ChecksumSHA1,
    				hash.ChecksumSHA256.String(): part.ChecksumSHA256,
    			}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  5. cni/pkg/util/podutil_test.go

    }
    
    func TestPodRedirectionEnabled(t *testing.T) {
    	var (
    		ambientEnabledLabel       = map[string]string{constants.DataplaneMode: constants.DataplaneModeAmbient}
    		ambientDisabledAnnotation = map[string]string{constants.AmbientRedirection: constants.AmbientRedirectionDisabled}
    		sidecarStatusAnnotation   = map[string]string{annotation.SidecarStatus.Name: "test"}
    
    		namespaceWithAmbientEnabledLabel = &corev1.Namespace{
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed May 01 18:04:40 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  6. cni/pkg/config/config.go

    	// init container termination message and exit code.
    	SidecarAnnotation  string
    	InitContainerName  string
    	InitTerminationMsg string
    	InitExitCode       int
    
    	// Label and field selectors to select pods managed by race repair.
    	LabelSelectors string
    	FieldSelectors string
    }
    
    func (c InstallConfig) String() string {
    	var b strings.Builder
    	b.WriteString("CNINetDir: " + c.CNINetDir + "\n")
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        assertTrue(Arrays.equals(new String[] {"a"}, array));
      }
    
      @GwtIncompatible // Iterators.toArray(Iterator, Class)
      public void testToArray() {
        String[] sourceArray = new String[] {"a", "b", "c"};
        Iterator<String> iterator = asList(sourceArray).iterator();
        String[] newArray = Iterators.toArray(iterator, String.class);
        assertTrue(Arrays.equals(sourceArray, newArray));
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 56.5K bytes
    - Viewed (0)
  8. cni/pkg/ipset/nldeps_unspecified.go

    }
    
    type realDeps struct{}
    
    func (m *realDeps) ipsetIPHashCreate(name string, v6 bool) error {
    	return errors.New("not implemented on this platform")
    }
    
    func (m *realDeps) destroySet(name string) error {
    	return errors.New("not implemented on this platform")
    }
    
    func (m *realDeps) addIP(name string, ip netip.Addr, ipProto uint8, comment string, replace bool) error {
    	return errors.New("not implemented on this platform")
    }
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  9. istioctl/pkg/waypoint/waypoint.go

    			return nil, fmt.Errorf("invalid traffic type: %s. Valid options are: %s", trafficType, validTrafficTypes.String())
    		}
    
    		if gw.Labels == nil {
    			gw.Labels = map[string]string{}
    		}
    		gw.Labels[constants.AmbientWaypointForTrafficType] = trafficType
    
    		if revision != "" {
    			gw.Labels = map[string]string{label.IoIstioRev.Name: revision}
    		}
    		return &gw, nil
    	}
    	waypointGenerateCmd := &cobra.Command{
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed May 01 16:16:40 GMT 2024
    - 15.2K bytes
    - Viewed (0)
  10. cmd/storage-rest-client.go

    // ReadXL - reads all contents of xl.meta of a file.
    func (client *storageRESTClient) ReadXL(ctx context.Context, volume string, path string, readData bool) (rf RawFileInfo, err error) {
    	// Use websocket when not reading data.
    	if !readData {
    		resp, err := storageReadXLRPC.Call(ctx, client.gridConn, grid.NewMSSWith(map[string]string{
    			storageRESTDiskID:   *client.diskID.Load(),
    			storageRESTVolume:   volume,
    			storageRESTFilePath: path,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 26.1K bytes
    - Viewed (0)
Back to top