Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 191 - 200 of 958 for NEXT (0.03 seconds)

  1. android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java

          putThread(this, Thread.currentThread());
        }
    
        // non-volatile write to the next field. Should be made visible by a subsequent CAS on
        // waitersField.
        void setNext(@Nullable Waiter next) {
          putNext(this, next);
        }
    
        void unpark() {
          // This is racy with removeWaiter. The consequence of the race is that we may spuriously call
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 33.2K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/HashBiMap.java

            throw new ConcurrentModificationException();
          }
          return next != null && remaining > 0;
        }
    
        @Override
        public final T next() {
          if (!hasNext()) {
            throw new NoSuchElementException();
          }
    
          // requireNonNull is safe because of the hasNext check.
          Node<K, V> node = requireNonNull(next);
          next = node.nextInKeyInsertionOrder;
          toRemove = node;
          remaining--;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 25.7K bytes
    - Click Count (0)
  3. guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

                        }
    
                        @Override
                        public Entry<String, String> next() {
                          return transform(iterator.next());
                        }
    
                        private Entry<String, String> transform(Entry<String, String> next) {
                          return new Entry<String, String>() {
    
                            @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  4. internal/lru/lru.go

    func (l *LruList[K, V]) Remove(e *Entry[K, V]) V {
    	e.prev.next = e.next
    	e.next.prev = e.prev
    	e.next = nil // avoid memory leaks
    	e.prev = nil // avoid memory leaks
    	e.list = nil
    	l.len--
    
    	return e.Value
    }
    
    // move moves e to next to at.
    func (l *LruList[K, V]) move(e, at *Entry[K, V]) {
    	if e == at {
    		return
    	}
    	e.prev.next = e.next
    	e.next.prev = e.prev
    
    	e.prev = at
    	e.next = at.next
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:35:55 GMT 2026
    - 12.6K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/collect/AbstractMapsTransformValuesTest.java

        Iterator<String> keyIterator = keys.iterator();
        keyIterator.next();
        keyIterator.remove();
        assertFalse(underlying.containsKey("c"));
    
        Collection<String> values = map.values();
        values.remove("4");
        assertFalse(underlying.containsKey("d"));
    
        Iterator<String> valueIterator = values.iterator();
        valueIterator.next();
        valueIterator.remove();
        assertFalse(underlying.containsKey("e"));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  6. src/test/java/jcifs/util/transport/RequestTest.java

            assertEquals(nextRequest, actualNextRequest, "Next request should match the mocked object.");
            verify(mockRequest, times(1)).getNext();
        }
    
        @Test
        void testGetNextNull() {
            // Test case for getNext method when it returns null (no chained request)
            when(mockRequest.getNext()).thenReturn(null);
    
            assertNull(mockRequest.getNext(), "Next request should be null when mocked to do so.");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/Collections2.java

            return endOfData();
          }
          ImmutableList<E> next = ImmutableList.copyOf(list);
          calculateNextPermutation();
          return next;
        }
    
        void calculateNextPermutation() {
          j = list.size() - 1;
          int s = 0;
    
          // Handle the special case of an empty list. Skip the calculation of the
          // next permutation.
          if (j == -1) {
            return;
          }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 23K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CliUtils.java

        @Nullable
        public static Path findRoot(Path topDirectory) {
            requireNonNull(topDirectory, "topDirectory");
            Path rootDirectory =
                    ServiceLoader.load(RootLocator.class).iterator().next().findRoot(topDirectory);
            if (rootDirectory != null) {
                return getCanonicalPath(rootDirectory);
            }
            return null;
        }
    
        @Nonnull
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Oct 13 18:30:29 GMT 2025
    - 5K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb2/Smb2CancelRequestTest.java

            // Given
            Smb2CancelRequest request = new Smb2CancelRequest(mockConfig, 1L, 0L);
    
            // When
            ServerMessageBlock2Request<?> next = request.getNext();
    
            // Then
            assertNull(next, "Cancel requests should not have next requests in chain");
        }
    
        @Test
        @DisplayName("Test getOverrideTimeout returns null")
        void testGetOverrideTimeout() {
            // Given
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  10. cmd/bucket-replication-metrics.go

    	}
    	return &SMA{
    		buf:    make([]float64, ln),
    		window: ln,
    		idx:    0,
    	}
    }
    
    func (s *SMA) addSample(next float64) {
    	prev := s.buf[s.idx]
    	s.buf[s.idx] = next
    
    	if s.filledBuf {
    		s.prevSMA += (next - prev) / float64(s.window)
    		s.CAvg += (next - s.CAvg) / float64(s.window)
    	} else {
    		s.CAvg = s.simpleMovingAvg()
    		s.prevSMA = s.CAvg
    	}
    	if s.idx == s.window-1 {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Aug 15 12:04:40 GMT 2024
    - 14.2K bytes
    - Click Count (0)
Back to Top