Search Options

Results per page
Sort
Preferred Languages
Advance

Results 411 - 420 of 770 for NEXT (0.04 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/artifact/testutils/TestFileManager.java

            return tempFile;
        }
    
        public void cleanUp() throws IOException {
            for (Iterator it = filesToDelete.iterator(); it.hasNext(); ) {
                File file = (File) it.next();
    
                if (file.exists()) {
                    if (file.isDirectory()) {
                        FileUtils.deleteDirectory(file);
                    } else {
                        file.delete();
                    }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/-CacheControlCommon.kt

        minFreshSeconds = minFreshSeconds,
        onlyIfCached = onlyIfCached,
        noTransform = noTransform,
        immutable = immutable,
        headerValue = headerValue,
      )
    }
    
    /**
     * Returns the next index in this at or after [startIndex] that is a character from
     * [characters]. Returns the input length if none of the requested characters can be found.
     */
    private fun String.indexOfElement(
      characters: String,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/DefaultProjectDependenciesResolver.java

                    Collection<Artifact> missing = new HashSet<>(e.getMissingArtifacts());
    
                    for (Iterator<Artifact> it = missing.iterator(); it.hasNext(); ) {
                        String key = ArtifactUtils.key(it.next());
                        if (projectIds.contains(key)) {
                            it.remove();
                        }
                    }
    
                    if (!missing.isEmpty()) {
                        throw e;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. cmd/last-minute.go

    func (l *lastMinuteLatency) forwardTo(t int64) {
    	if l.LastSec >= t {
    		return
    	}
    	if t-l.LastSec >= 60 {
    		l.Totals = [60]AccElem{}
    		return
    	}
    	for l.LastSec != t {
    		// Clear next element.
    		idx := (l.LastSec + 1) % 60
    		l.Totals[idx] = AccElem{}
    		l.LastSec++
    	}
    }
    
    // LastMinuteHistogram keeps track of last minute sizes added.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 05 17:40:45 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  5. cmd/lock-rest-server.go

    		// Verifies every minute for locks held more than 2 minutes.
    		select {
    		case <-ctx.Done():
    			return
    		case <-lkTimer.C:
    			globalLockServer.expireOldLocks(lockValidityDuration)
    
    			// Reset the timer for next cycle.
    			lkTimer.Reset(lockMaintenanceInterval)
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  6. docs/features/caching.md

    This would be typical after a user initiates a force refresh by a pull to refresh type action.
    
    ```java
        val urlIterator = cache.urls()
        while (urlIterator.hasNext()) {
          if (urlIterator.next().startsWith("https://www.google.com/")) {
            urlIterator.remove()
          }
        }
    ```
    
    ### Troubleshooting
    
    1. Valid cacheable responses are not being cached
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  7. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/ServerSentEventReader.kt

      interface Callback {
        fun onEvent(
          id: String?,
          type: String?,
          data: String,
        )
    
        fun onRetryChange(timeMs: Long)
      }
    
      /**
       * Process the next event. This will result in a single call to [Callback.onEvent] *unless* the
       * data section was empty. Any number of calls to [Callback.onRetryChange] may occur while
       * processing an event.
       *
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapRemoveTester.java

          resetContainer(mapEntry(k0(), v0()), mapEntry(k0(), v1()), mapEntry(k0(), v0()));
          List<V> expectedValues = copyToList(values);
    
          Entry<K, Collection<V>> asMapEntry = multimap().asMap().entrySet().iterator().next();
          List<V> asMapValue = (List<V>) asMapEntry.getValue();
          asMapValue.remove(i);
          expectedValues.remove(i);
    
          assertGet(k0(), expectedValues);
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveIfTester.java

            ConcurrentModificationException.class,
            () -> {
              Iterator<E> iterator = collection.iterator();
              assertTrue(collection.removeIf(Predicate.isEqual(samples.e0())));
              iterator.next();
            });
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
      @CollectionSize.Require(ZERO)
      public void testRemoveIf_unsupportedEmptyCollection() {
        try {
          assertFalse(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/DcerpcPipeHandle.java

                off = in.readDirect(buf, 0, buf.length);
            }
    
            if (buf[0] != 5 && buf[1] != 0)
                throw new IOException("Unexpected DCERPC PDU header");
    
            flags = buf[3] & 0xFF;
            // next read is start of new frag
            isStart = (flags & DCERPC_LAST_FRAG) == DCERPC_LAST_FRAG;
    
            length = Encdec.dec_uint16le(buf, 8);
            if (length > max_recv)
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 3.7K bytes
    - Viewed (0)
Back to top