Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 678 for index (0.15 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/cmd/compile/internal/types2/initorder.go

    // a depends on b.
    type graphNode struct {
    	obj        dependency // object represented by this node
    	pred, succ nodeSet    // consumers and dependencies of this node (lazily initialized)
    	index      int        // node index in graph slice/priority queue
    	ndeps      int        // number of outstanding dependencies before this object can be initialized
    }
    
    // cost returns the cost of removing this node, which involves copying each
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 28 22:06:51 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  9. src/go/types/initorder.go

    // a depends on b.
    type graphNode struct {
    	obj        dependency // object represented by this node
    	pred, succ nodeSet    // consumers and dependencies of this node (lazily initialized)
    	index      int        // node index in graph slice/priority queue
    	ndeps      int        // number of outstanding dependencies before this object can be initialized
    }
    
    // cost returns the cost of removing this node, which involves copying each
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  10. src/runtime/mpallocbits.go

    }
    
    // find searches for npages contiguous free pages in pallocBits and returns
    // the index where that run starts, as well as the index of the first free page
    // it found in the search. searchIdx represents the first known free page and
    // where to begin the next search from.
    //
    // If find fails to find any free space, it returns an index of ^uint(0) and
    // the new searchIdx should be ignored.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 15:13:43 UTC 2024
    - 12.5K bytes
    - Viewed (0)
Back to top