Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 4,522 for happen (0.15 sec)

  1. internal/store/batch.go

    		if !ok {
    			err = fmt.Errorf("item not found for the key: %v; should not happen;", key)
    			return
    		}
    		orderedItems = append(orderedItems, item)
    		delete(b.items, key)
    	}
    
    	b.keys = b.keys[:0]
    
    	return
    }
    
    // GetByKey will get the batch item by the provided key
    func (b *Batch[K, T]) GetByKey(key K) (T, bool) {
    	b.Lock()
    	defer b.Unlock()
    
    	item, ok := b.items[key]
    	return item, ok
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Oct 07 15:07:38 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/test/testdata/pgo/devirtualize/devirt.go

    // ExerciseIface calls mostly a1 and m1.
    //
    //go:noinline
    func ExerciseIface(iter int, a1, a2 Adder, m1, m2 mult.Multiplier) int {
    	// The call below must evaluate selectA() to determine the receiver to
    	// use. This should happen exactly once per iteration. Assert that is
    	// the case to ensure the IR manipulation does not result in over- or
    	// under-evaluation.
    	selectI := 0
    	selectA := func(gotI int) Adder {
    		if gotI != selectI {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 13 18:17:57 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  3. pkg/kube/kclient/client.go

    	// are registered (in n.registeredHandlers); this can cause the dynamic filtering to miss events
    	reg, err := n.informer.AddEventHandler(fh)
    	if err != nil {
    		// Should only happen if its already stopped. We should exit early.
    		return
    	}
    	n.registeredHandlers = append(n.registeredHandlers, handlerRegistration{registration: reg, handler: h})
    }
    
    func (n *informerClient[T]) HasSynced() bool {
    	if !n.informer.HasSynced() {
    		return false
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 07:14:28 UTC 2024
    - 13K bytes
    - Viewed (0)
  4. src/vendor/golang.org/x/sys/cpu/cpu_linux_arm64.go

    	return ok && (major > 4 || major == 4 && minor >= 11)
    }
    
    func doinit() {
    	if err := readHWCAP(); err != nil {
    		// We failed to read /proc/self/auxv. This can happen if the binary has
    		// been given extra capabilities(7) with /bin/setcap.
    		//
    		// When this happens, we have two options. If the Linux kernel is new
    		// enough (4.11+), we can read the arm64 registers directly which'll
    		// trap into the kernel and then return back to userspace.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/plugins/dynamicresources/dynamicresources.go

    	// trying different nodes. This should not happen when it has
    	// full knowledge about resource availability (=
    	// PodSchedulingContext.*.UnsuitableNodes is complete) but may happen
    	// when it doesn't (= PodSchedulingContext.*.UnsuitableNodes had to be
    	// truncated).
    	//
    	// Truncation only happens for very large clusters and then may slow
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 15:22:37 UTC 2024
    - 75.9K bytes
    - Viewed (0)
  6. .github/ISSUE_TEMPLATE/10_contributor_bug_report.yml

      - type: textarea
        id: current-behavior
        attributes:
          label: Current Behavior
          description: Tell us what happens
        validations:
          required: true
      - type: textarea
        id: expected-behavior
        attributes:
          label: Expected Behavior
          description: Tell us what should happen
        validations:
          required: true
      - type: textarea
        id: context
        attributes:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 16 07:49:32 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/internal/enterprise/core/GradleEnterprisePluginManager.java

        }
    
        public void buildFinished(@Nullable Throwable buildFailure) {
            if (adapter != null) {
                adapter.buildFinished(buildFailure);
            }
        }
    
        /**
         * This should never happen due to the auto apply behavior.
         * It's only here as a kind of safeguard or fallback.
         */
        public void registerMissingPluginWarning(GradleInternal gradle) {
            if (gradle.isRootBuild()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. src/math/big/ratmarsh.go

    	i := x.b.abs.bytes(buf)
    	j := x.a.abs.bytes(buf[:i])
    	n := i - j
    	if int(uint32(n)) != n {
    		// this should never happen
    		return nil, errors.New("Rat.GobEncode: numerator too large")
    	}
    	byteorder.BePutUint32(buf[j-4:j], uint32(n))
    	j -= 1 + 4
    	b := ratGobVersion << 1 // make space for sign bit
    	if x.a.neg {
    		b |= 1
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:31:58 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  9. platforms/core-runtime/build-process-services/src/main/java/org/gradle/api/internal/classpath/EffectiveClassPath.java

                    }
                }
            }
    
            // The file names passed to -cp are canonicalised by the JVM when it creates the system classloader, and so the file names are
            // lost if they happen to refer to links, for example, into the Gradle artifact cache. Try to reconstitute the file names
            // from the system classpath
            if (classLoader == ClassLoader.getSystemClassLoader()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 06:16:07 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. pkg/kube/util.go

    	if !ok {
    		// shouldn't happen
    		return obj, nil
    	}
    	// ManagedFields is large and we never use it
    	t.GetObjectMeta().SetManagedFields(nil)
    	// only container ports can be used
    	if pod := obj.(*corev1.Pod); pod != nil {
    		containers := []corev1.Container{}
    		for _, c := range pod.Spec.Containers {
    			if len(c.Ports) > 0 {
    				containers = append(containers, corev1.Container{
    					Ports: c.Ports,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 05:10:23 UTC 2024
    - 18.6K bytes
    - Viewed (0)
Back to top