Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for setNext (0.25 sec)

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

          ATOMIC_HELPER.putThread(this, Thread.currentThread());
        }
    
        // non-volatile write to the next field. Should be made visible by subsequent CAS on waiters
        // field.
        void setNext(@CheckForNull Waiter next) {
          ATOMIC_HELPER.putNext(this, next);
        }
    
        void unpark() {
          // This is racy with removeWaiter. The consequence of the race is that we may spuriously call
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

         */
        @GuardedBy("this")
        @CheckForNull
        E removeFromChain(E first, E entry) {
          int newCount = count;
          E newFirst = entry.getNext();
          for (E e = first; e != entry; e = e.getNext()) {
            E next = copyEntry(e, newFirst);
            if (next != null) {
              newFirst = next;
            } else {
              newCount--;
            }
          }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        Iterator<String> iterator = Collections.singletonList("foo").iterator();
        assertEquals("foo", Iterators.getNext(iterator, "bar"));
      }
    
      public void testGetNext_withDefault_empty() {
        Iterator<String> iterator = Iterators.emptyIterator();
        assertEquals("bar", Iterators.getNext(iterator, "bar"));
      }
    
      public void testGetNext_withDefault_empty_null() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 56.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/IteratorsTest.java

        Iterator<String> iterator = Collections.singletonList("foo").iterator();
        assertEquals("foo", Iterators.getNext(iterator, "bar"));
      }
    
      public void testGetNext_withDefault_empty() {
        Iterator<String> iterator = Iterators.emptyIterator();
        assertEquals("bar", Iterators.getNext(iterator, "bar"));
      }
    
      public void testGetNext_withDefault_empty_null() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 55.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTransportImpl.java

                while ( chain != null ) {
                    n++;
                    int size = chain.size();
                    int cost = chain.getCreditCost();
                    CommonServerMessageBlockRequest next = chain.getNext();
                    if ( log.isTraceEnabled() ) {
                        log.trace(
                            String.format("%s costs %d avail %d (%s)", chain.getClass().getName(), cost, this.credits.availablePermits(), this.name));
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed Jan 18 23:47:00 GMT 2023
    - 67K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Iterators.java

      public static <T extends @Nullable Object> T get(
          Iterator<? extends T> iterator, int position, @ParametricNullness T defaultValue) {
        checkNonnegative(position);
        advance(iterator, position);
        return getNext(iterator, defaultValue);
      }
    
      static void checkNonnegative(int position) {
        if (position < 0) {
          throw new IndexOutOfBoundsException("position (" + position + ") must not be negative");
        }
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Iterators.java

      public static <T extends @Nullable Object> T get(
          Iterator<? extends T> iterator, int position, @ParametricNullness T defaultValue) {
        checkNonnegative(position);
        advance(iterator, position);
        return getNext(iterator, defaultValue);
      }
    
      static void checkNonnegative(int position) {
        if (position < 0) {
          throw new IndexOutOfBoundsException("position (" + position + ") must not be negative");
        }
      }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 50.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                        if (!first) {
                            buf.append(',');
                        }
                        first = false;
    
                        buf.append("{\"text\":\"").append(StringEscapeUtils.escapeJson(item.getText())).append('\"');
                        buf.append(",\"labels\":[");
                        for (int i = 0; i < item.getTags().length; i++) {
                            if (i > 0) {
                                buf.append(',');
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 02:17:23 GMT 2024
    - 50.3K bytes
    - Viewed (0)
  9. src/main/webapp/js/admin/jquery-3.6.3.min.js

    Error("Syntax error, unrecognized expression: "+e)},se.uniqueSort=function(e){var t,n=[],r=0,i=0;if(l=!d.detectDuplicates,u=!d.sortStable&&e.slice(0),e.sort(j),l){while(t=e[i++])t===e[i]&&(r=n.push(i));while(r--)e.splice(n[r],1)}return u=null,e},o=se.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(3===i||4===i)return e.nodeValue}else while(t=e[r++])n+=o(t);return ...
    JavaScript
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Fri Feb 17 12:13:41 GMT 2023
    - 87.8K bytes
    - Viewed (3)
  10. src/main/webapp/js/jquery-3.6.3.min.js

    Error("Syntax error, unrecognized expression: "+e)},se.uniqueSort=function(e){var t,n=[],r=0,i=0;if(l=!d.detectDuplicates,u=!d.sortStable&&e.slice(0),e.sort(j),l){while(t=e[i++])t===e[i]&&(r=n.push(i));while(r--)e.splice(n[r],1)}return u=null,e},o=se.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(3===i||4===i)return e.nodeValue}else while(t=e[r++])n+=o(t);return ...
    JavaScript
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Fri Feb 17 12:13:41 GMT 2023
    - 87.8K bytes
    - Viewed (5)
Back to top