Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 341 for copied (0.05 sec)

  1. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

     * </ul>
     *
     * <p>Disadvantages compared to {@code long[]}:
     *
     * <ul>
     *   <li>Memory footprint has a fixed overhead (about 24 bytes per instance).
     *   <li><i>Some</i> construction use cases force the data to be copied (though several construction
     *       APIs are offered that don't).
     *   <li>Can't be passed directly to methods that expect {@code long[]} (though the most common
     *       utilities do have replacements here).
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 22K bytes
    - Viewed (0)
  2. guava/src/com/google/common/primitives/ImmutableIntArray.java

     * </ul>
     *
     * <p>Disadvantages compared to {@code int[]}:
     *
     * <ul>
     *   <li>Memory footprint has a fixed overhead (about 24 bytes per instance).
     *   <li><i>Some</i> construction use cases force the data to be copied (though several construction
     *       APIs are offered that don't).
     *   <li>Can't be passed directly to methods that expect {@code int[]} (though the most common
     *       utilities do have replacements here).
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponseTest.java

            assertNotNull(resumeKey, "Resume key should not be null");
            assertEquals(24, resumeKey.length, "Resume key should be 24 bytes");
    
            // Verify first 24 bytes were copied
            for (int i = 0; i < 24; i++) {
                assertEquals((byte) (i % 256), resumeKey[i], "Resume key byte " + i + " should match buffer");
            }
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java

            assertEquals(0, SMBUtil.readInt2(buffer, offset + 2));
    
            // Verify Reserved2 (4 bytes at offset+4, should be 0)
            assertEquals(0, SMBUtil.readInt4(buffer, offset + 4));
    
            // Verify file ID is copied correctly (16 bytes starting at offset+8)
            byte[] copiedFileId = new byte[16];
            System.arraycopy(buffer, offset + 8, copiedFileId, 0, 16);
            assertArrayEquals(testFileId, copiedFileId);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java

            assertEquals(5, d.getBufferDataStart(), "bufDataStart inferred from totalParameterCount");
        }
    
        /**
         * Exercise readBytesWireFormat where both parameter and data are
         * copied in a single call.
         */
        @Test
        public void readBytesWireFormat_succeedsWithSingleRead() {
            DummyResponse d = new DummyResponse();
            // Allocate a transaction buffer large enough for the copy
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/base/FessBaseAction.java

         * @param destClass the class of the destination bean
         * @return a new instance of the destination class with copied properties
         */
        protected static <T> T copyBeanToNewBean(final Object src, final Class<T> destClass) {
            return BeanUtil.copyBeanToNewBean(src, destClass);
        }
    
        /**
         * Builds a comprehensive error message from a throwable and its causes.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequestTest.java

            byte[] buffer = new byte[1024];
    
            int written = request.writeBytesWireFormat(buffer, 0);
    
            // Verify file ID is copied correctly (starts at offset 8)
            for (int i = 0; i < 16; i++) {
                assertEquals(customFileId[i], buffer[8 + i]);
            }
            assertEquals(56, written);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java

       */
      public AtomicDoubleArray(int length) {
        this.longs = new AtomicLongArray(length);
      }
    
      /**
       * Creates a new {@code AtomicDoubleArray} with the same length as, and all elements copied from,
       * the given array.
       *
       * @param array the array to copy elements from
       * @throws NullPointerException if array is null
       */
      public AtomicDoubleArray(double[] array) {
        int len = array.length;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/UUIDTest.java

                // Assert
                assertNotNull(uuid.node);
                assertEquals(6, uuid.node.length);
                assertArrayEquals(new byte[6], uuid.node, "Empty node array should be copied");
            }
        }
    
        @Nested
        @DisplayName("toString() Tests")
        class ToStringTests {
    
            @Test
            @DisplayName("toString() should return correctly formatted UUID string")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  10. cmd/erasure-coding.go

    		for data := total / 2; data < total; data++ {
    			parity := total - data
    			testConfigs = append(testConfigs, [2]uint8{data, parity})
    		}
    	}
    	got := make(map[[2]uint8]map[ErasureAlgo]uint64, len(testConfigs))
    	// Copied from output of fmt.Printf("%#v", got) at the end.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.5K bytes
    - Viewed (0)
Back to top