Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 200 for calculated (0.05 sec)

  1. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

            // Then
            assertNotNull(response);
            assertTrue(response instanceof Smb2ChangeNotifyResponse);
        }
    
        @Test
        @DisplayName("Should calculate correct size")
        void testSize() {
            // When
            int size = request.size();
    
            // Then
            // Size should be aligned to 8 bytes: SMB2_HEADER_LENGTH + 32
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/RepositorySystem.java

                String id,
                String url,
                ArtifactRepositoryLayout repositoryLayout,
                ArtifactRepositoryPolicy snapshots,
                ArtifactRepositoryPolicy releases);
    
        /**
         * Calculates the effective repositories for the given input repositories which are assumed to be already mirrored
         * (if applicable). This process will essentially remove duplicate repositories by merging them into one equivalent
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/util/MemoryUtilTest.java

            complexMap.put("numbers", Arrays.asList(1, 2, 3));
            complexMap.put("nested", Maps.map("inner", "value").$());
            complexMap.put("array", new String[] { "array1", "array2" });
    
            // Calculate expected size based on actual behavior
            long actualSize = MemoryUtil.sizeOf(complexMap);
            assertEquals(689L, actualSize);
        }
    
        public void test_getUsedMemory_variations() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java

            assertTrue(bytesRead > 0);
            assertEquals(action, notifyInfo.getAction());
            assertEquals(fileName, notifyInfo.getFileName());
        }
    
        @Test
        @DisplayName("Test decode correctly calculates bytes read")
        void testDecodeBytesReadCalculation() throws SMBProtocolDecodingException {
            String fileName = "test123.doc";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java

                assertEquals("Expected structureSize = 4", exception.getMessage());
            }
    
            @Test
            @DisplayName("Should correctly calculate bytes read from different starting positions")
            void testReadBytesWireFormatDifferentStartPositions() throws SMBProtocolDecodingException {
                // Given
                byte[] buffer = new byte[20];
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/WebSocket.kt

      /**
       * Returns the size in bytes of all messages enqueued to be transmitted to the server. This
       * doesn't include framing overhead. If compression is enabled, uncompressed messages size
       * is used to calculate this value. It also doesn't include any bytes buffered by the operating
       * system or network intermediaries. This method returns 0 if no messages are waiting in the
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  7. cmd/bitrot-streaming.go

    	"bytes"
    	"context"
    	"errors"
    	"hash"
    	"io"
    	"sync"
    
    	xhttp "github.com/minio/minio/internal/http"
    	"github.com/minio/minio/internal/ioutil"
    	"github.com/minio/minio/internal/ringbuffer"
    )
    
    // Calculates bitrot in chunks and writes the hash into the stream.
    type streamingBitrotWriter struct {
    	iow          io.WriteCloser
    	closeWithErr func(err error)
    	h            hash.Hash
    	shardSize    int64
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jan 17 19:19:30 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  8. docs/en/docs/js/termynal.js

            this.container.setAttribute('data-termynal', '');
        }
    
        /**
         * Initialise the widget, get lines, clear container and start animation.
         */
        init() {
            /**
             * Calculates width and height of Termynal container.
             * If container is empty and lines are dynamically loaded, defaults to browser `auto` or CSS.
             */
            const containerStyle = getComputedStyle(this.container);
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:32:57 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  9. cmd/prepare-storage.go

    	if len(endpoints) == 0 || setCount == 0 || setDriveCount == 0 {
    		return nil, nil, errInvalidArgument
    	}
    
    	// prepare getElapsedTime() to calculate elapsed time since we started trying formatting disks.
    	// All times are rounded to avoid showing milli, micro and nano seconds
    	formatStartTime := time.Now().Round(time.Second)
    	getElapsedTime := func() string {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 11.1K bytes
    - Viewed (1)
  10. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java

                long timeMiddle = measureEqualsTime(baseAuth, middleAuth, TIMING_ITERATIONS);
                long timeEnd = measureEqualsTime(baseAuth, endAuth, TIMING_ITERATIONS);
    
                // Calculate relative timing differences
                double maxTime = Math.max(Math.max(timeStart, timeMiddle), timeEnd);
                double minTime = Math.min(Math.min(timeStart, timeMiddle), timeEnd);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
Back to top