Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 105 for index (0.06 sec)

  1. src/net/ipsock_posix.go

    	// IPv6 address.
    	ip6 := ip.To16()
    	if ip6 == nil {
    		return syscall.SockaddrInet6{}, &AddrError{Err: "non-IPv6 address", Addr: ip.String()}
    	}
    	sa := syscall.SockaddrInet6{Port: port, ZoneId: uint32(zoneCache.index(zone))}
    	copy(sa.Addr[:], ip6)
    	return sa, nil
    }
    
    // ipToSockaddr should be an internal detail,
    // but widely used packages access it using linkname.
    // Notable members of the hall of shame include:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/directive/directive.go

    			break
    		}
    	}
    }
    
    func (check *checker) comment(pos token.Pos, line string) {
    	if !strings.HasPrefix(line, "//go:") {
    		return
    	}
    	// testing hack: stop at // ERROR
    	if i := strings.Index(line, " // ERROR "); i >= 0 {
    		line = line[:i]
    	}
    
    	verb := line
    	if i := strings.IndexFunc(verb, unicode.IsSpace); i >= 0 {
    		verb = verb[:i]
    		if line[i] != ' ' && line[i] != '\t' && line[i] != '\n' {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. src/unique/handle.go

    		// Try to remove it and start over.
    		m.CompareAndDelete(value, wp)
    	}
    	runtime.KeepAlive(toInsert)
    	return Handle[T]{ptr}
    }
    
    var (
    	// uniqueMaps is an index of type-specific concurrent maps used for unique.Make.
    	//
    	// The two-level map might seem odd at first since the HashTrieMap could have "any"
    	// as its key type, but the issue is escape analysis. We do not want to force lookups
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 16:01:55 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. cmd/xl-storage-format-utils_test.go

    		Mode:             0,
    		Metadata:         nil,
    		Parts:            nil,
    		Erasure: ErasureInfo{
    			Algorithm:    ReedSolomon.String(),
    			DataBlocks:   4,
    			ParityBlocks: 2,
    			BlockSize:    10000,
    			Index:        1,
    			Distribution: []int{1, 2, 3, 4, 5, 6, 7, 8},
    			Checksums: []ChecksumInfo{{
    				PartNumber: 1,
    				Algorithm:  HighwayHash256S,
    				Hash:       nil,
    			}},
    		},
    		MarkDeleted:      false,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 22:18:44 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  5. pkg/config/analysis/analyzers/webhook/webhook.go

    	return []klabels.Set{
    		{},
    		{"sidecar.istio.io/inject": "true"},
    		{"sidecar.istio.io/inject": "false"},
    	}
    }
    
    func (a *Analyzer) Analyze(context analysis.Context) {
    	// First, extract and index all webhooks we found
    	webhooks := map[string][]v1.MutatingWebhook{}
    	resources := map[string]*resource.Instance{}
    	revisions := sets.New[string]()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun May 05 03:44:57 UTC 2024
    - 6K bytes
    - Viewed (0)
  6. pilot/pkg/controllers/untaint/nodeuntainter.go

    		return -1, nil
    	}
    	return GetPodConditionFromList(status.Conditions, conditionType)
    }
    
    // GetPodConditionFromList extracts the provided condition from the given list of condition and
    // returns the index of the condition and the condition. Returns -1 and nil if the condition is not present.
    func GetPodConditionFromList(conditions []v1.PodCondition, conditionType v1.PodConditionType) (int, *v1.PodCondition) {
    	if conditions == nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 00:50:31 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  7. schema/naming.go

    }
    
    // CheckerName generate checker name
    func (ns NamingStrategy) CheckerName(table, column string) string {
    	return ns.formatName("chk", table, column)
    }
    
    // IndexName generate index name
    func (ns NamingStrategy) IndexName(table, column string) string {
    	return ns.formatName("idx", table, ns.toDBName(column))
    }
    
    // UniqueName generate unique constraint name
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 03:46:59 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  8. pkg/ctrlz/ctrlz.go

    		router.HandleFunc("/debug/pprof/profile", pprof.Profile)
    		router.HandleFunc("/debug/pprof/symbol", pprof.Symbol)
    		router.HandleFunc("/debug/pprof/trace", pprof.Trace)
    		router.PathPrefix("/debug/pprof/").HandlerFunc(pprof.Index)
    	}
    	registerHome(router, mainLayout)
    
    	addr := o.Address
    	if addr == "*" {
    		addr = ""
    	}
    
    	// Canonicalize the address and resolve a dynamic port if necessary
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 21:22:53 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  9. src/runtime/traceallocfree.go

    		if s.state.get() != mSpanInUse {
    			continue
    		}
    
    		// Find all allocated objects.
    		abits := s.allocBitsForIndex(0)
    		for i := uintptr(0); i < uintptr(s.nelems); i++ {
    			if abits.index < uintptr(s.freeindex) || abits.isMarked() {
    				x := s.base() + i*s.elemsize
    				trace.HeapObjectExists(x, s.typePointersOfUnchecked(x).typ)
    			}
    			abits.advance()
    		}
    	}
    
    	// Write out all the goroutine stacks.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:32:51 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  10. src/internal/cpu/cpu.go

    		}
    
    		if o.Enable && !*o.Feature {
    			print("GODEBUG: can not enable \"", o.Name, "\", missing CPU support\n")
    			continue
    		}
    
    		*o.Feature = o.Enable
    	}
    }
    
    // indexByte returns the index of the first instance of c in s,
    // or -1 if c is not present in s.
    // indexByte is semantically the same as [strings.IndexByte].
    // We copy this function because "internal/cpu" should not have external dependencies.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 7.1K bytes
    - Viewed (0)
Back to top