Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 678 for index (0.04 sec)

  1. src/cmd/compile/internal/dwarfgen/dwinl.go

    }
    
    // Given a src.XPos, return its associated inlining index if it
    // corresponds to something created as a result of an inline, or -1 if
    // there is no inline info. Note that the index returned will refer to
    // the deepest call in the inlined stack, e.g. if you have "A calls B
    // calls C calls D" and all three callees are inlined (B, C, and D),
    // the index for a node from the inlined body of D will refer to the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:45:07 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  2. src/unicode/utf8/utf8_test.go

    			return
    		}
    		if r1 != index[j].r {
    			t.Errorf("DecodeLastRune(%q, %d) = %#04x, want %#04x", s, si, r1, index[j].r)
    			return
    		}
    		if r2 != index[j].r {
    			t.Errorf("DecodeLastRuneInString(%q, %d) = %#04x, want %#04x", s, si, r2, index[j].r)
    			return
    		}
    		si -= size1
    		if si != index[j].index {
    			t.Errorf("DecodeLastRune(%q) index mismatch at %d, want %d", s, si, index[j].index)
    			return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 07 06:17:15 UTC 2022
    - 16.2K bytes
    - Viewed (0)
  3. internal/dsync/drwmutex.go

    	if ok {
    		netLockCtx = context.WithValue(netLockCtx, mcontext.ContextTraceKey, tc)
    	}
    
    	for index, c := range restClnts {
    		wg.Add(1)
    		// broadcast lock request to all nodes
    		go func(index int, isReadLock bool, c NetLocker) {
    			defer wg.Done()
    
    			g := Granted{index: index}
    			if c == nil {
    				log("dsync: nil locker\n")
    				ch <- g
    				return
    			}
    
    			var locked bool
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  4. src/go/types/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 int
    		for _, i := range indices {
    			if d := absDiff(gotPos.Column, errList[i].col); index < 0 || d < delta {
    				index, delta = i, d
    			}
    		}
    
    		// The closest column position must be within expected colDelta.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:45:33 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  5. src/encoding/json/encode.go

    				tag := sf.Tag.Get("json")
    				if tag == "-" {
    					continue
    				}
    				name, opts := parseTag(tag)
    				if !isValidTag(name) {
    					name = ""
    				}
    				index := make([]int, len(f.index)+1)
    				copy(index, f.index)
    				index[len(f.index)] = i
    
    				ft := sf.Type
    				if ft.Name() == "" && ft.Kind() == reflect.Pointer {
    					// Follow pointer.
    					ft = ft.Elem()
    				}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 36.2K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/text/internal/language/lookup.go

    )
    
    // findIndex tries to find the given tag in idx and returns a standardized error
    // if it could not be found.
    func findIndex(idx tag.Index, key []byte, form string) (index int, err error) {
    	if !tag.FixCase(form, key) {
    		return 0, ErrSyntax
    	}
    	i := idx.Index(key)
    	if i == -1 {
    		return 0, NewValueError(key)
    	}
    	return i, nil
    }
    
    func searchUint(imap []uint16, key uint16) int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  7. pkg/kubelet/userns/userns_manager.go

    	}
    
    	_, err = m.parseUserNsFileAndRecord(pod, content)
    	return err
    }
    
    // isSet checks if the specified index is already set.
    func (m *UsernsManager) isSet(v uint32) bool {
    	index := int(v/userNsLength) - m.off
    	if index < 0 || index >= m.len {
    		return true
    	}
    	return m.used.Has(index)
    }
    
    // allocateOne finds a free user namespace and allocate it to the specified pod.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top