Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 703 for index (0.27 sec)

  1. src/math/big/natconv.go

    				index--
    				if index < 0 {
    					panic("internal inconsistency")
    				}
    			}
    
    			// split q into the two digit number (q'*bbb + r) to form independent subblocks
    			q, r = q.div(r, q, table[index].bbb)
    
    			// convert subblocks and collect results in s[:h] and s[h:]
    			h := len(s) - table[index].ndigits
    			r.convertWords(s[h:], b, ndigits, bb, table[0:index])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 17:59:44 UTC 2022
    - 14.6K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/aggregate/controller.go

    		log.Warnf("Registry list is empty, nothing to delete")
    		return
    	}
    	index, ok := c.getRegistryIndex(clusterID, providerID)
    	if !ok {
    		log.Warnf("Registry %s/%s is not found in the registries list, nothing to delete", providerID, clusterID)
    		return
    	}
    	c.registries[index] = nil
    	c.registries = append(c.registries[:index], c.registries[index+1:]...)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 06:28:11 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  3. callbacks/preload.go

    				tx.AddError(rel.Field.Set(tx.Statement.Context, reflectValue.Index(i), reflect.MakeSlice(rel.Field.IndirectFieldType, 0, 10).Interface()))
    			default:
    				tx.AddError(rel.Field.Set(tx.Statement.Context, reflectValue.Index(i), reflect.New(rel.Field.FieldType).Interface()))
    			}
    		}
    	}
    
    	for i := 0; i < reflectResults.Len(); i++ {
    		elem := reflectResults.Index(i)
    		for idx, field := range relForeignFields {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:52:33 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  4. src/runtime/syscall_windows.go

    	}
    
    	key := winCallbackKey{(*funcval)(fn.data), cdecl}
    
    	cbsLock()
    
    	// Check if this callback is already registered.
    	if n, ok := cbs.index[key]; ok {
    		cbsUnlock()
    		return callbackasmAddr(n)
    	}
    
    	// Register the callback.
    	if cbs.index == nil {
    		cbs.index = make(map[winCallbackKey]int)
    	}
    	n := cbs.n
    	if n >= len(cbs.ctxt) {
    		cbsUnlock()
    		throw("too many callback functions")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  5. cmd/bucket-metadata-sys.go

    			if err != nil {
    				return err
    			}
    			bucketMetas[index] = meta
    			return nil
    		}, index)
    	}
    
    	errs := g.Wait()
    	for index, err := range errs {
    		if err != nil {
    			internalLogOnceIf(ctx, fmt.Errorf("Unable to load bucket metadata, will be retried: %w", err),
    				"load-bucket-metadata-"+buckets[index].Name, logger.WarningKind)
    		}
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/check_test.go

    		}
    		// len(indices) > 0
    
    		// If there are multiple matching errors, select the one with the closest column position.
    		index := -1 // index of matching error
    		var delta uint
    		for _, i := range indices {
    			if d := absDiff(gotPos.Col(), errList[i].Pos.Col()); index < 0 || d < delta {
    				index, delta = i, d
    			}
    		}
    
    		// The closest column position must be within expected colDelta.
    		if delta > colDelta {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:45:33 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  7. pkg/api/service/warnings_test.go

    			want:      []string{},
    		},
    		{
    			name:      "IPv6 No failures",
    			address:   "2001:db8::2",
    			fieldPath: field.NewPath("spec").Child("clusterIPs").Index(0),
    			want:      []string{},
    		},
    		{
    			name:      "IPv4 with leading zeros",
    			address:   "192.012.2.2",
    			fieldPath: field.NewPath("spec").Child("clusterIPs").Index(0),
    			want: []string{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 26 22:57:57 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/third_party/forked/golang/reflect/deep_equal.go

    	case reflect.Array:
    		// We don't need to check length here because length is part of
    		// an array's type, which has already been filtered for.
    		for i := 0; i < v1.Len(); i++ {
    			if !e.deepValueEqual(v1.Index(i), v2.Index(i), visited, equateNilAndEmpty, depth+1) {
    				return false
    			}
    		}
    		return true
    	case reflect.Slice:
    		if equateNilAndEmpty {
    			if (v1.IsNil() || v1.Len() == 0) != (v2.IsNil() || v2.Len() == 0) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 20 17:18:42 UTC 2022
    - 10.8K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/mod/sumdb/tlog/tile.go

    // and least width storing the given hash storage index.
    //
    // If h ≤ 0, [TileForIndex] panics.
    func TileForIndex(h int, index int64) Tile {
    	if h <= 0 {
    		panic(fmt.Sprintf("TileForIndex: invalid height %d", h))
    	}
    	t, _, _ := tileForIndex(h, index)
    	return t
    }
    
    // tileForIndex returns the tile of height h ≥ 1
    // storing the given hash index, which can be
    // reconstructed using tileHash(data[start:end]).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 13K bytes
    - Viewed (0)
  10. schema/field.go

    				}
    				// index is negative means is pointer
    				if field.FieldType.Kind() == reflect.Struct {
    					ef.StructField.Index = append([]int{fieldStruct.Index[0]}, ef.StructField.Index...)
    				} else {
    					ef.StructField.Index = append([]int{-fieldStruct.Index[0] - 1}, ef.StructField.Index...)
    				}
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Apr 15 03:20:20 UTC 2024
    - 32K bytes
    - Viewed (0)
Back to top