Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 191 for idempotent (0.54 sec)

  1. src/runtime/mgc.go

    	// the sweepLocker to be invalid, since sweeping is done.
    	//
    	// N.B. Below we might duplicate some work from gcSweep; this is
    	// fine as all that work is idempotent within a GC cycle, and
    	// we're still holding worldsema so a new cycle can't start.
    	sl := sweep.active.begin()
    	if !stwSwept && !sl.valid {
    		throw("failed to set sweep barrier")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
  2. src/runtime/malloc.go

    //
    // A note on latency: for sufficiently small heaps (<10s of GiB) this function will take constant
    // time, but may take time proportional to the size of the mapped heap beyond that.
    //
    // This function is idempotent.
    //
    // The heap lock must not be held over this operation, since it will briefly acquire
    // the heap lock.
    //
    // Must be called on the system stack because it acquires the heap lock.
    //
    //go:systemstack
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/admissionregistration/v1/types.go

    	// if the object being admitted is modified by other admission plugins after the initial webhook call.
    	// Webhooks that specify this option *must* be idempotent, able to process objects they previously admitted.
    	// Note:
    	// * the number of additional invocations is not guaranteed to be exactly one.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 61.6K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/dynamicresources/dynamicresources.go

    	return statusPending(logger, "waiting for resource driver to provide information", "pod", klog.KObj(pod))
    }
    
    // Unreserve clears the ReservedFor field for all claims.
    // It's idempotent, and does nothing if no state found for the given pod.
    func (pl *dynamicResources) Unreserve(ctx context.Context, cs *framework.CycleState, pod *v1.Pod, nodeName string) {
    	if !pl.enabled {
    		return
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 15:22:37 UTC 2024
    - 75.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

         * DeferredCloser#eventuallyClose(Object, Executor)}.
         *
         * <p>If any such calls specified {@link MoreExecutors#directExecutor()}, those objects will be
         * closed synchronously.
         *
         * <p>Idempotent: objects will be closed at most once.
         */
        public void closeAsync() {
          closingFuture.close();
        }
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:37:15 UTC 2024
    - 98.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/ClosingFuture.java

         * DeferredCloser#eventuallyClose(Object, Executor)}.
         *
         * <p>If any such calls specified {@link MoreExecutors#directExecutor()}, those objects will be
         * closed synchronously.
         *
         * <p>Idempotent: objects will be closed at most once.
         */
        public void closeAsync() {
          closingFuture.close();
        }
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 98.7K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modload/load.go

    		// update its dependencies.
    		return
    	}
    
    	if !pkg.isTest() {
    		// Check whether we should add (or update the flags for) a test for pkg.
    		// ld.pkgTest is idempotent and extra invocations are inexpensive,
    		// so it's ok if we call it more than is strictly necessary.
    		wantTest := false
    		switch {
    		case ld.allPatternIsRoot && MainModules.Contains(pkg.mod.Path):
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 84K bytes
    - Viewed (0)
  8. src/net/http/server.go

    	// fully read.
    	//
    	// After the Handler has returned, there is no guarantee
    	// that the channel receives a value.
    	//
    	// If the protocol is HTTP/1.1 and CloseNotify is called while
    	// processing an idempotent request (such as GET) while
    	// HTTP/1.1 pipelining is in use, the arrival of a subsequent
    	// pipelined request may cause a value to be sent on the
    	// returned channel. In practice HTTP/1.1 pipelining is not
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/base/AbstractIteratorTest.java

                    throw new AssertionError("Should not have been invoked again");
                }
              }
            };
    
        assertTrue(iter.hasNext());
        assertEquals(0, (int) iter.next());
    
        // verify idempotence of hasNext()
        assertTrue(iter.hasNext());
        assertTrue(iter.hasNext());
        assertTrue(iter.hasNext());
        assertEquals(1, (int) iter.next());
    
        assertFalse(iter.hasNext());
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu May 04 09:41:29 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  10. src/html/template/attr.go

    package template
    
    import (
    	"strings"
    )
    
    // attrTypeMap[n] describes the value of the given attribute.
    // If an attribute affects (or can mask) the encoding or interpretation of
    // other content, or affects the contents, idempotency, or credentials of a
    // network message, then the value in this map is contentTypeUnsafe.
    // This map is derived from HTML5, specifically
    // https://www.w3.org/TR/html5/Overview.html#attributes-1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 06 15:53:04 UTC 2021
    - 6.2K bytes
    - Viewed (0)
Back to top