Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 154 for Move (0.03 sec)

  1. android/guava/src/com/google/common/math/Quantiles.java

       * greater than or equal to that.
       */
      private static int partition(double[] array, int from, int to) {
        // Select a pivot, and move it to the start of the slice i.e. to index from.
        movePivotToStartOfSlice(array, from, to);
        double pivot = array[from];
    
        // Move all elements with indexes in (from, to] which are greater than the pivot to the end of
        // the array. Keep track of where those elements begin.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 30.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/FilesTest.java

        assertThrows(IllegalArgumentException.class, () -> moveHelper(false, asciiFile, asciiFile));
      }
    
      private void moveHelper(boolean success, File from, File to) throws IOException {
        try {
          Files.move(from, to);
          if (success) {
            assertFalse(from.exists());
            assertTrue(to.exists());
          } else {
            fail("expected exception");
          }
        } catch (IOException possiblyExpected) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:44:53 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  3. cmd/background-newdisks-heal-ops.go

    	}
    
    	_, err := disk.DiskInfo(ctx, DiskInfoOptions{})
    	if err != nil {
    		if errors.Is(err, errDriveIsRoot) {
    			// This is a root drive, ignore and move on
    			return nil
    		}
    		if !errors.Is(err, errUnformattedDisk) {
    			return err
    		}
    	}
    
    	// Prevent parallel erasure set healing
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/graph/ValueGraphTest.java

    import org.junit.After;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.JUnit4;
    
    /** Tests for {@link StandardMutableValueGraph} and related functionality. */
    // TODO(user): Expand coverage and move to proper test suite.
    @RunWith(JUnit4.class)
    @NullUnmarked
    public final class ValueGraphTest {
      private static final String DEFAULT = "default";
    
      MutableValueGraph<Integer, String> graph;
    
      @After
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 07 15:57:03 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/FinalizableReferenceQueue.java

                + "loader instead. As a result, you will not be able to garbage collect this class "
                + "loader. To support reclaiming this class loader, either resolve the underlying "
                + "issue, or move Guava to your system class path.";
    
        @Override
        public @Nullable Class<?> loadFinalizer() {
          /*
           * We use URLClassLoader because it's the only concrete class loader implementation in the
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  6. internal/ringbuffer/ring_buffer.go

    	x := (*[2]uintptr)(unsafe.Pointer(&s))
    	h := [3]uintptr{x[0], x[1], x[1]}
    	buf := *(*[]byte)(unsafe.Pointer(&h))
    	return r.Write(buf)
    }
    
    // Bytes returns all available read bytes.
    // It does not move the read pointer and only copy the available data.
    // If the dst is big enough it will be used as destination,
    // otherwise a new buffer will be allocated.
    func (r *RingBuffer) Bytes(dst []byte) []byte {
    	r.mu.Lock()
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableList.java

        } else {
          return new Itr<E>(this, index);
        }
      }
    
      /** A singleton implementation of iterator() for the empty ImmutableList. */
      // TODO(b/345814817): Move this to RegularImmutableList?
      @SuppressWarnings("ClassInitializationDeadlock")
      private static final UnmodifiableListIterator<Object> EMPTY_ITR =
          new Itr<Object>(RegularImmutableList.EMPTY, 0);
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 27.5K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt

            // Fill the receive buffer without holding any locks.
            val read = source.read(receiveBuffer, remainingByteCount)
            if (read == -1L) throw EOFException()
            remainingByteCount -= read
    
            // Move the received data to the read buffer to the reader can read it. If this source has
            // been closed since this read began we must discard the incoming data and tell the
            // connection we've done so.
            withLock {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Jul 07 18:57:05 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

        results = service.invokeAll(callables, 1, SECONDS);
        assertThat(getOnlyElement(results)).isInstanceOf(TrustedListenableFutureTask.class);
    
        /*
         * TODO(cpovirk): move ForwardingTestCase somewhere common, and use it to
         * test the forwarded methods
         */
      }
    
      @AndroidIncompatible // Mocking ExecutorService is forbidden there. TODO(b/218700094): Don't mock.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 12 00:25:21 UTC 2025
    - 26.5K bytes
    - Viewed (0)
  10. CHANGELOG.md

     *  New: `FileDescriptor.toRequestBody()` is now a non-experimental API.
    
     *  New: Stop using experimental coroutines APIs in our `okhttp-coroutines` artifact.
    
     *  Breaking: Move `gzip` from `RequestBody` to `Request.Builder`. This new API handles both
        compressing the request body and also adding the corresponding `Content-Encoding` header. Note
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 05 16:02:59 UTC 2025
    - 36.2K bytes
    - Viewed (2)
Back to top