Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 59 for slide (0.18 sec)

  1. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

      void removeAt(int i) {
        E[] items = this.items;
        // if removing front item, just advance
        if (i == takeIndex) {
          items[takeIndex] = null;
          takeIndex = inc(takeIndex);
        } else {
          // slide over all others up through putIndex.
          for (; ; ) {
            int nexti = inc(i);
            if (nexti != putIndex) {
              items[i] = items[nexti];
              i = nexti;
            } else {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/ByteSource.java

      }
    
      /**
       * Returns a view of a slice of this byte source that is at most {@code length} bytes long
       * starting at the given {@code offset}. If {@code offset} is greater than the size of this
       * source, the returned source will be empty. If {@code offset + length} is greater than the size
       * of this source, the returned source will contain the slice starting at {@code offset} and
       * ending at the end of this source.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Mar 20 20:55:20 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/EncodableTest.java

                    Arguments.of(makeSeq(8), 0, 8, 0), // full copy at index 0
                    Arguments.of(makeSeq(10), 2, 5, 3), // middle slice, non-zero dst index
                    Arguments.of(makeSeq(4), 4, 0, 0), // zero-length slice at end
                    Arguments.of(makeSeq(16), 7, 3, 0), // small slice from middle
                    Arguments.of(makeSeq(16), 0, 0, 5) // zero-length with non-zero dst index
            );
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/math/Quantiles.java

            from = partitionPoint + 1;
          }
        }
      }
    
      /**
       * Performs a partition operation on the slice of {@code array} with elements in the range [{@code
       * from}, {@code to}]. Uses the median of {@code from}, {@code to}, and the midpoint between them
       * as a pivot. Returns the index which the slice is partitioned around, i.e. if it returns {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 30.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponse.java

    /**
     * SMB2 SRV_COPYCHUNK_COPY response data structure. This structure contains the result
     * of a server-side copy operation.
     *
     * @author mbechler
     *
     */
    public class SrvCopyChunkCopyResponse implements Decodable {
    
        /**
         * Constructs a new SrvCopyChunkCopyResponse.
         * This response contains the results of a server-side copy operation.
         */
        public SrvCopyChunkCopyResponse() {
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbCopyUtilTest.java

                assertDoesNotThrow(() -> SmbCopyUtil.copyFile(src, dest, buffers, 8, new WriterThread(), sh, dh));
            }
        }
    
        // --- Server-side copy path (SMB2 + same tree) for zero-length files ---
    
        @Test
        @DisplayName("copyFile uses server-side copy for zero-length and returns")
        void copyFile_serverSide_zeroLength_happyPath() throws Exception {
            // Arrange
            SmbFile src = mock(SmbFile.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponse.java

     * that can be used for server-side copy operations.
     *
     * @author mbechler
     *
     */
    public class SrvRequestResumeKeyResponse implements Decodable {
    
        /**
         * Constructs a new SrvRequestResumeKeyResponse.
         * This response contains the resume key used for server-side copy operations.
         */
        public SrvRequestResumeKeyResponse() {
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbCopyUtil.java

                    return;
                } catch (final SmbUnsupportedOperationException e) {
                    log.debug("Server side copy not supported, falling back to normal copying", e);
                } catch (final CIFSException e) {
                    log.warn("Server side copy failed", e);
                    throw SmbException.wrap(e);
                }
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SSPContextTest.java

                assertTrue(ctx.isEstablished(), "should be established");
    
                byte[] in = new byte[] { 9, 8, 7, 6 };
                assertArrayEquals(new byte[] { 8, 7 }, ctx.initSecContext(in, 1, 2), "slice should match");
    
                assertEquals("NBHOST", ctx.getNetbiosName(), "NetBIOS name");
    
                assertEquals(0xA5, ctx.getFlags(), "flags");
                assertTrue(ctx.supportsIntegrity(), "integrity supported");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequest.java

        /**
         * Function code for server-side copy chunk operation
         */
        public static final int FSCTL_SRV_COPYCHUNK = 0x001440F2;
        /**
         * Function code to enumerate volume shadow copy snapshots
         */
        public static final int FSCTL_SRV_ENUMERATE_SNAPSHOTS = 0x00144064;
        /**
         * Function code to request a resume key for server-side copy
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
Back to top