Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 529 for prev (0.33 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java

      public void testCompareAndSet() {
        double prev = Math.E;
        double unused = Math.E + Math.PI;
        AtomicDouble at = new AtomicDouble(prev);
        for (double x : VALUES) {
          assertBitEquals(prev, at.get());
          assertFalse(at.compareAndSet(unused, x));
          assertBitEquals(prev, at.get());
          assertTrue(at.compareAndSet(prev, x));
          assertBitEquals(x, at.get());
          prev = x;
        }
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 6.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

        for (int i : new int[] {0, SIZE - 1}) {
          double prev = 0.0;
          double unused = Math.E + Math.PI;
          for (double x : VALUES) {
            assertBitEquals(prev, aa.get(i));
            assertFalse(aa.compareAndSet(i, unused, x));
            assertBitEquals(prev, aa.get(i));
            assertTrue(aa.compareAndSet(i, prev, x));
            assertBitEquals(x, aa.get(i));
            prev = x;
          }
        }
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 10K bytes
    - Viewed (0)
  3. internal/logger/logonce.go

    	if err == nil {
    		return
    	}
    
    	nerr := unwrapErrs(err)
    	l.Lock()
    	shouldLog := true
    	prev, ok := l.IDMap[id]
    	if !ok {
    		l.IDMap[id] = onceErr{
    			Err:   nerr,
    			Count: 1,
    		}
    	} else if prev.Err.Error() == nerr.Error() {
    		// if errors are equal do not log.
    		prev.Count++
    		l.IDMap[id] = prev
    		shouldLog = false
    	}
    	l.Unlock()
    
    	if shouldLog {
    		consoleLogIf(ctx, subsystem, err, errKind...)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

        for (int i : new int[] {0, SIZE - 1}) {
          double prev = 0.0;
          double unused = Math.E + Math.PI;
          for (double x : VALUES) {
            assertBitEquals(prev, aa.get(i));
            assertFalse(aa.compareAndSet(i, unused, x));
            assertBitEquals(prev, aa.get(i));
            assertTrue(aa.compareAndSet(i, prev, x));
            assertBitEquals(x, aa.get(i));
            prev = x;
          }
        }
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 14.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java

      public void testCompareAndSet() {
        double prev = Math.E;
        double unused = Math.E + Math.PI;
        AtomicDouble at = new AtomicDouble(prev);
        for (double x : VALUES) {
          assertBitEquals(prev, at.get());
          assertFalse(at.compareAndSet(unused, x));
          assertBitEquals(prev, at.get());
          assertTrue(at.compareAndSet(prev, x));
          assertBitEquals(x, at.get());
          prev = x;
        }
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 10.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/cache/CacheTesting.java

            ReferenceEntry<?, ?> prev = null;
            for (ReferenceEntry<?, ?> current : segment.writeQueue) {
              assertTrue(entries.add(current));
              if (prev != null) {
                assertSame(prev, current.getPreviousInWriteQueue());
                assertSame(prev.getNextInWriteQueue(), current);
                assertThat(prev.getWriteTime()).isAtMost(current.getWriteTime());
              }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 16.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Comparators.java

        checkNotNull(comparator);
        Iterator<? extends T> it = iterable.iterator();
        if (it.hasNext()) {
          T prev = it.next();
          while (it.hasNext()) {
            T next = it.next();
            if (comparator.compare(prev, next) > 0) {
              return false;
            }
            prev = next;
          }
        }
        return true;
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 11 08:42:51 GMT 2024
    - 10K bytes
    - Viewed (0)
  8. src/main/webapp/WEB-INF/view/common/admin/crud/pagination.jsp

    						styleClass="page-link"
    						href="list/${pager.currentPageNumber - 1}">
    					<la:message key="labels.prev_page" />
    				</la:link></li>
    			</c:if>
    			<c:if test="${!pager.existPrePage}">
    				<li class="page-item disabled"><a
    						class="page-link" href="#"><la:message
    						key="labels.prev_page" /></a></li>
    			</c:if>
    			<c:forEach var="p" varStatus="s"
    				items="${pager.pageNumberList}">
    				<li
    Others
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Fri Feb 07 10:28:50 GMT 2020
    - 1.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/cache/CacheTesting.java

            ReferenceEntry<?, ?> prev = null;
            for (ReferenceEntry<?, ?> current : segment.writeQueue) {
              assertTrue(entries.add(current));
              if (prev != null) {
                assertSame(prev, current.getPreviousInWriteQueue());
                assertSame(prev.getNextInWriteQueue(), current);
                assertThat(prev.getWriteTime()).isAtMost(current.getWriteTime());
              }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 16.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Comparators.java

        checkNotNull(comparator);
        Iterator<? extends T> it = iterable.iterator();
        if (it.hasNext()) {
          T prev = it.next();
          while (it.hasNext()) {
            T next = it.next();
            if (comparator.compare(prev, next) > 0) {
              return false;
            }
            prev = next;
          }
        }
        return true;
      }
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 10.7K bytes
    - Viewed (0)
Back to top