Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 143 for estimation (1.14 sec)

  1. src/main/java/jcifs/internal/util/SMBUtil.java

        private SMBUtil() {
        }
    
        /**
         * Writes a 16-bit integer value to a byte array in little-endian format
         * @param val the value to write
         * @param dst the destination byte array
         * @param dstIndex the starting index in the destination array
         */
        public static void writeInt2(final long val, final byte[] dst, int dstIndex) {
            dst[dstIndex] = (byte) val;
            dstIndex++;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/util/Encdec.java

            };
        }
    
        /**
         * Encodes a String as UTF-8 bytes.
         *
         * @param str the String to encode
         * @param dst the destination byte array
         * @param di the starting index in the destination array
         * @param dlim the maximum index in the destination array
         * @return the number of bytes written
         * @throws IOException if an encoding error occurs
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/ByteEncodableTest.java

        }
    
        @Test
        void testEncodeDestinationTooSmall() {
            // Test when destination array is too small
            byte[] data = { 0x01, 0x02, 0x03 };
            ByteEncodable encodable = new ByteEncodable(data, 0, 3);
            byte[] dest = new byte[2]; // Destination is too small
    
            // Expect IndexOutOfBoundsException from System.arraycopy
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/util/Encdec.java

            };
        }
    
        /**
         * Encodes a String as UTF-8 bytes.
         *
         * @param str the String to encode
         * @param dst the destination byte array
         * @param di the starting index in the destination array
         * @param dlim the maximum index in the destination array
         * @return the number of bytes written
         */
        public static int enc_utf8(final String str, final byte[] dst, int di, final int dlim) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/TestFileWagon.java

        protected void getTransfer(Resource resource, File destination, InputStream input, boolean closeInput, int maxSize)
                throws TransferFailedException {
            addTransfer("getTransfer " + resource.getName());
            super.getTransfer(resource, destination, input, closeInput, maxSize);
        }
    
        @Override
        public void get(String resourceName, File destination)
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java

         * @param dst destination buffer
         * @param dstIndex starting index in destination buffer
         * @return number of bytes written
         */
        protected abstract int writeSetupWireFormat(byte[] dst, int dstIndex);
    
        /**
         * Writes parameters in wire format
         * @param dst destination buffer
         * @param dstIndex starting index in destination buffer
         * @return number of bytes written
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ProjectArtifactMetadata.java

            // here and be safe. jvz.
            // ----------------------------------------------------------------------------
    
            try {
                Files.createDirectories(destination.toPath().getParent());
                Files.copy(file.toPath(), destination.toPath());
            } catch (IOException e) {
                throw new RepositoryMetadataStoreException("Error copying POM to the local repository.", e);
            }
        }
    
        @Override
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 4K bytes
    - Viewed (0)
  8. docs/bucket/replication/README.md

    To replicate objects in a bucket to a destination bucket on a target site either in the same cluster or a different cluster, start by enabling [versioning](https://docs.min.io/community/minio-object-store/administration/object-management/object-versioning.html) for both source and destination buckets. Finally, the target site and the destination bucket need to be configured on the source MinIO server.
    
    ## Highlights
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/SmbResourceTest.java

                // Given
                SmbResource destination = mock(SmbResource.class);
    
                // When/Then
                assertDoesNotThrow(() -> {
                    mockResource.renameTo(destination);
                    mockResource.renameTo(destination, true);
                }, "Rename operations should not throw exception");
    
                verify(mockResource).renameTo(destination);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  10. src/test/java/jcifs/EncodableTest.java

            assertEquals(0, written, "encode() must return zero for zero length");
            for (byte b : dst) {
                assertEquals((byte) 0x7A, b, "Destination should remain unchanged");
            }
        }
    
        @Test
        @DisplayName("encode() throws when destination too small")
        void encodeThrowsWhenDestinationTooSmall() {
            byte[] src = makeSeq(5);
            Encodable enc = new ByteEncodable(src, 0, 5);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
Back to top