Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 200 for calculates (0.22 sec)

  1. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationTest.java

        void testWriteBytesWireFormatHappy() throws UnsupportedEncodingException {
            byte[] buffer = new byte[50];
            int used = cmd.writeBytesWireFormat(buffer, 0);
            // Calculate expected size: 1 byte for command + string bytes + 1 null terminator
            byte[] expectedString = "testfile.txt".getBytes("windows-1252");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/AbstractBaseGraph.java

     *
     * @author James Sexton
     * @param <N> Node parameter type
     */
    abstract class AbstractBaseGraph<N> implements BaseGraph<N> {
    
      /**
       * Returns the number of edges in this graph; used to calculate the size of {@link Graph#edges()}.
       * This implementation requires O(|N|) time. Classes extending this one may manually keep track of
       * the number of edges as the graph is updated, and override this method for better performance.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/multichannel/ChannelInfo.java

        }
    
        /**
         * Clear all pending operations
         */
        public void clearPendingOperations() {
            pendingOperations.clear();
        }
    
        /**
         * Calculate channel score for load balancing (higher is better)
         *
         * @return channel score
         */
        public int getScore() {
            int score = 100;
    
            // Adjust based on state
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  4. cmd/warm-backend-minio.go

    	maxPartsCount             = 10000
    	maxPartSize               = 1024 * 1024 * 1024 * 5
    	minPartSize               = 1024 * 1024 * 128 // chosen by us to be optimal for HDDs
    )
    
    // optimalPartInfo - calculate the optimal part info for a given
    // object size.
    //
    // NOTE: Assumption here is that for any object to be uploaded to any S3 compatible
    // object storage it will have the following parameters as constants.
    //
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 4K bytes
    - Viewed (1)
  5. cmd/bitrot.go

    		}
    		if !bytes.Equal(h.Sum(nil), want) {
    			return errFileCorrupt
    		}
    		return nil
    	}
    
    	h := algo.New()
    	hashBuf := make([]byte, h.Size())
    	left := wantSize
    
    	// Calculate the size of the bitrot file and compare
    	// it with the actual file size.
    	if left != bitrotShardFileSize(partSize, shardSize, algo) {
    		return errFileCorrupt
    	}
    
    	bufp := xioutil.ODirectPoolSmall.Get()
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Feb 26 19:26:13 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java

            String.format("expected: %08x, actual: %08x", expectedCrc, actualCrc),
            expectedCrc,
            actualCrcHasher);
      }
    
      // From RFC 3720, Section 12.1, the polynomial generator is 0x11EDC6F41.
      // We calculate the constant below by:
      //   1. Omitting the most significant bit (because it's always 1). => 0x1EDC6F41
      //   2. Flipping the bits of the constant so we can process a byte at a time. => 0x82F63B78
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/io/Smb2WriteRequest.java

            dstIndex += 4;
    
            // WriteChannelInfo (Offset/Length for SMB2_RDMA_TRANSFORM)
            if (rdmaChannelInfo != null && channel == Smb2Constants.SMB2_CHANNEL_RDMA_V1) {
                // Calculate offset for SMB2_RDMA_TRANSFORM after data
                int transformOffset = 112 + this.dataLength; // After header (64) + write req (48) + data
                SMBUtil.writeInt2(transformOffset, dst, dstIndex); // writeChannelInfoOffset
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  8. docs/debugging/inspect/main.go

    		os.Exit(1)
    	}
    	for _, input := range inputs {
    		processFile(input, privateKeys)
    	}
    }
    
    func processFile(inputFileName string, privateKeys [][]byte) {
    	// Calculate the output file name
    	var outputFileName string
    	switch {
    	case strings.HasSuffix(inputFileName, ".enc"):
    		outputFileName = strings.TrimSuffix(inputFileName, ".enc") + ".zip"
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Feb 17 17:09:42 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  9. apache-maven/pom.xml

                      </descriptors>
                      <tarLongFileMode>gnu</tarLongFileMode>
                    </configuration>
                  </execution>
                </executions>
              </plugin>
              <!-- calculate checksums of source release for Apache dist area -->
              <plugin>
                <groupId>net.nicoulaj.maven.plugins</groupId>
                <artifactId>checksum-maven-plugin</artifactId>
                <version>1.11</version>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Sep 06 21:30:13 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequestTest.java

            }
        }
    
        @Test
        @DisplayName("Test maxOutputResponse calculation with transaction buffer size")
        void testMaxOutputResponseCalculation() {
            // Test that maxOutputResponse is properly calculated from transaction buffer size
            when(mockConfig.getTransactionBufferSize()).thenReturn(8192);
    
            Smb2IoctlRequest request = new Smb2IoctlRequest(mockConfig, TEST_CONTROL_CODE);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
Back to top