Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 37 of 37 for idempotent (0.04 sec)

  1. cmd/object-api-utils.go

    }
    
    // Close - calls the cleanup actions in reverse order
    func (g *GetObjectReader) Close() error {
    	if g == nil {
    		return nil
    	}
    	// sync.Once is used here to ensure that Close() is
    	// idempotent.
    	g.once.Do(func() {
    		for i := len(g.cleanUpFns) - 1; i >= 0; i-- {
    			g.cleanUpFns[i]()
    		}
    	})
    	return nil
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Jun 25 15:08:54 UTC 2025
    - 37.3K bytes
    - Viewed (0)
  2. 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: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 11 13:51:27 UTC 2025
    - 96.9K bytes
    - Viewed (0)
  3. CHANGELOG/CHANGELOG-1.31.md

    - Fixed a race condition in kube-controller-manager and the scheduler, caused by
      a bug in the transforming informer during the Resync operation, 
      by making the transforming function idempotent. ([#124352](https://github.com/kubernetes/kubernetes/pull/124352), [@wojtek-t](https://github.com/wojtek-t)) [SIG API Machinery and Scheduling]
    Registered: Fri Dec 26 09:05:12 UTC 2025
    - Last Modified: Wed Nov 12 11:33:21 UTC 2025
    - 451.9K bytes
    - Viewed (0)
  4. CHANGELOG/CHANGELOG-1.20.md

    - For CSI drivers, kubelet no longer creates the target_path for NodePublishVolume in accordance with the CSI spec. Kubelet also no longer checks if staging and target paths are mounts or corrupted. CSI drivers need to be idempotent and do any necessary mount verification. ([#88759](https://github.com/kubernetes/kubernetes/pull/88759), [@andyzhangx](https://github.com/andyzhangx)) [SIG Storage]
    Registered: Fri Dec 26 09:05:12 UTC 2025
    - Last Modified: Wed Jan 19 21:05:45 UTC 2022
    - 409K bytes
    - Viewed (0)
  5. src/test/java/jcifs/SmbTreeTest.java

            assertNotNull(typedResult, "Typed result should not be null");
            assertEquals(customTree, typedResult, "Should maintain type safety");
        }
    
        /**
         * Test for close() idempotency.
         * Verifies that calling close multiple times has the same effect as calling it once.
         */
        @Test
        void testClose_idempotency() {
            // Mock a tree that tracks close state
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/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: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  7. internal/s3select/select.go

    type ObjectReadSeekCloser struct {
    	segmentReader ObjectSegmentReaderFn
    
    	size   int64 // actual object size regardless of compression/encryption
    	offset int64
    	reader io.ReadCloser
    
    	// reader can be closed idempotently multiple times
    	closerOnce sync.Once
    	// Error storing reader.Close()
    	closerErr error
    }
    
    // NewObjectReadSeekCloser creates a new ObjectReadSeekCloser.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 21.2K bytes
    - Viewed (0)
Back to top