Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 56 for index (0.06 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/uniform_quantized_stablehlo_to_tfl_pass.cc

          return failure();
        }
    
        int64_t offset_dims_len = offset_dims.size();
        // Check for condition 3.
        for (const auto& [index, offset_dim] : llvm::enumerate(offset_dims)) {
          if (offset_dim != output_rank - offset_dims_len + index) {
            return failure();
          }
        }
    
        ArrayRef<int64_t> slice_sizes = op.getSliceSizes();
        ArrayRef<int64_t> collapsed_slice_dims =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 09:00:19 UTC 2024
    - 99.8K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/windows/zsyscall_windows.go

    	authority = (*SidIdentifierAuthority)(unsafe.Pointer(r0))
    	return
    }
    
    func getSidSubAuthority(sid *SID, index uint32) (subAuthority *uint32) {
    	r0, _, _ := syscall.Syscall(procGetSidSubAuthority.Addr(), 2, uintptr(unsafe.Pointer(sid)), uintptr(index), 0)
    	subAuthority = (*uint32)(unsafe.Pointer(r0))
    	return
    }
    
    func getSidSubAuthorityCount(sid *SID) (count *uint8) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 195.8K bytes
    - Viewed (0)
  3. cmd/object-handlers_test.go

    		if err != nil {
    			t.Fatalf("Object: %s Object Index %d: Unexpected err: %v", object, oindex, err)
    		}
    
    		off, length, err := rs.GetOffsetLength(size)
    		if err != nil {
    			t.Fatalf("Object: %s Object Index %d: Unexpected err: %v", object, oindex, err)
    		}
    
    		readers := []io.Reader{}
    		cumulativeSum := int64(0)
    		for _, p := range oi.partLengths {
    			readers = append(readers, NewDummyDataGen(p, cumulativeSum))
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 161.9K bytes
    - Viewed (0)
  4. pkg/proxy/ipvs/proxier_test.go

    				Protocol: ptr.To(v1.ProtocolTCP),
    			}}
    		}),
    	)
    
    	itf := net.Interface{Index: 0, MTU: 0, Name: "eth0", HardwareAddr: nil, Flags: 0}
    	addrs := []net.Addr{&net.IPNet{IP: netutils.ParseIPSloppy("100.101.102.103"), Mask: net.CIDRMask(24, 32)}}
    	itf1 := net.Interface{Index: 1, MTU: 0, Name: "eth1", HardwareAddr: nil, Flags: 0}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 186.8K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/data.go

    var zeros [512]byte
    
    var (
    	strdata  = make(map[string]string)
    	strnames []string
    )
    
    func addstrdata1(ctxt *Link, arg string) {
    	eq := strings.Index(arg, "=")
    	dot := strings.LastIndex(arg[:eq+1], ".")
    	if eq < 0 || dot < 0 {
    		Exitf("-X flag requires argument of the form importpath.name=value")
    	}
    	pkg := arg[:dot]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (0)
  6. cmd/bucket-replication.go

    	// Make sure only one node running resync on the cluster.
    	ctx, cancel := globalLeaderLock.GetLock(ctx)
    	defer cancel()
    
    	for index := range buckets {
    		bucket := buckets[index].Name
    
    		meta, err := loadBucketResyncMetadata(ctx, bucket, objAPI)
    		if err != nil {
    			if !errors.Is(err, errVolumeNotFound) {
    				replLogIf(ctx, err)
    			}
    			continue
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 114.4K bytes
    - Viewed (0)
  7. pkg/config/validation/validation.go

    		// check the overlapping match from the first prefix information
    		for routeIndex, routePrefix := range matchHTTPRoutes {
    			for rIndex := routeIndex + 1; rIndex < len(matchHTTPRoutes); rIndex++ {
    				// exclude the duplicate-match cases which have been validated above
    				if strings.Compare(matchHTTPRoutes[rIndex].Prefix, routePrefix.Prefix) == 0 {
    					continue
    				}
    				// Validate former prefix match does not cover the latter one.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
  8. pkg/kubelet/eviction/helpers_test.go

    		},
    	} {
    		t.Run(tc.name, func(t *testing.T) {
    			sort.Sort(byEvictionPriority(tc.thresholds))
    			for i := range tc.expected {
    				if tc.thresholds[i].Signal != tc.expected[i].Signal {
    					t.Errorf("At index %d, expected threshold with signal %s, but got %s", i, tc.expected[i].Signal, tc.thresholds[i].Signal)
    				}
    			}
    
    		})
    	}
    }
    
    type fakeSummaryProvider struct {
    	result *statsapi.Summary
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 23:14:12 UTC 2024
    - 106.7K bytes
    - Viewed (0)
  9. pkg/proxy/nftables/proxier_test.go

    	itf := net.Interface{Index: 0, MTU: 0, Name: "lo", HardwareAddr: nil, Flags: 0}
    	addrs := []net.Addr{
    		&net.IPNet{IP: netutils.ParseIPSloppy("127.0.0.1"), Mask: net.CIDRMask(8, 32)},
    		&net.IPNet{IP: netutils.ParseIPSloppy("::1/128"), Mask: net.CIDRMask(128, 128)},
    	}
    	networkInterfacer.AddInterfaceAddr(&itf, addrs)
    	itf1 := net.Interface{Index: 1, MTU: 0, Name: "eth0", HardwareAddr: nil, Flags: 0}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 173.5K bytes
    - Viewed (0)
  10. pkg/volume/util/operationexecutor/operation_generator.go

    	// when calling MarkVolumeAsDetached
    	volumeSpecMap := make(map[*volume.Spec]v1.UniqueVolumeName)
    
    	// Iterate each volume spec and put them into a map index by the pluginName
    	for _, volumeAttached := range attachedVolumes {
    		if volumeAttached.VolumeSpec == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 101.4K bytes
    - Viewed (0)
Back to top