Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 201 for calculate (0.05 sec)

  1. android/guava/src/com/google/common/hash/Crc32cHashFunction.java

         * CRC(x ^ y) == CRC(x) ^ CRC(y).  The approach we take is to break the message as follows,
         * with each letter representing a 4-byte word: ABCDABCDABCDABCD... and to calculate
         * CRC(A000A000A000...), CRC(0B000B000B...), CRC(00C000C000C...), CRC(000D000D000D...)
         * and then to XOR them together.  The strideTable enables us to hash an int followed by 12
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  2. cmd/s3-zip-handlers.go

    			return nil, ObjectInfo{}, err
    		}
    		b, err := io.ReadAll(gr)
    		gr.Close()
    		if err != nil {
    			return nil, ObjectInfo{}, err
    		}
    		if size > len(b) {
    			size = len(b)
    		}
    
    		// Calculate the object real size if encrypted
    		if _, ok := crypto.IsEncrypted(gr.ObjInfo.UserDefined); ok {
    			objSize, err = gr.ObjInfo.DecryptedSize()
    			if err != nil {
    				return nil, ObjectInfo{}, err
    			}
    		} else {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java

            // MS-SMB2 3.2.4.1.6: Alternative Channel Creation
            // Channel binding requires SMB2_SESSION_FLAG_BINDING (0x01) in session setup
    
            // Calculate channel binding hash per MS-SMB2 3.2.5.3.1
            byte[] bindingInfo = calculateBindingInfo(channel);
            byte[] bindingHash = calculateBindingHash(bindingInfo);
            channel.setBindingHash(bindingHash);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 20K bytes
    - Viewed (0)
  4. .teamcity/performance-test-durations.json

        "testProject" : "santaTrackerAndroidBuild",
        "linux" : 461,
        "windows" : 823,
        "macOs" : 385
      } ]
    }, {
      "scenario" : "org.gradle.performance.regression.android.RealLifeAndroidBuildPerformanceTest.calculate task graph with test finalizer",
      "durations" : [ {
        "testProject" : "largeAndroidBuild",
        "linux" : 501
      } ]
    }, {
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Mon Sep 08 06:58:31 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/math/LongMath.java

                + Long.numberOfLeadingZeros(b)
                + Long.numberOfLeadingZeros(~b);
        if (leadingZeros > Long.SIZE + 1) {
          return a * b;
        }
        // the return value if we will overflow (which we calculate by overflowing a long :) )
        long limit = Long.MAX_VALUE + ((a ^ b) >>> (Long.SIZE - 1));
        if (leadingZeros < Long.SIZE | (a < 0 & b == Long.MIN_VALUE)) {
          // overflow
          return limit;
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 29 16:20:07 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

            // When
            boolean valid = response.isValid(mockContext, mockRequest);
    
            // Then
            assertTrue(valid);
        }
    
        @Test
        @DisplayName("Should calculate buffer sizes correctly")
        void testBufferSizeCalculations() throws Exception {
            // Given
            setResponseAsReceived(response);
            setPrivateField(response, "dialectRevision", 0x0300);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  7. cmd/object-api-utils.go

    	// was requested, fetch content without decrypting.
    	if opts.Transition.RestoreRequest != nil || opts.NoDecryption {
    		isEncrypted = false
    		isCompressed = false
    	}
    
    	// Calculate range to read (different for encrypted/compressed objects)
    	switch {
    	case isCompressed:
    		var firstPart int
    		if opts.PartNumber > 0 {
    			// firstPart is an index to Parts slice,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jun 25 15:08:54 UTC 2025
    - 37.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

        FailedService(Service service) {
          super(
              service.toString(),
              service.failureCause(),
              false /* don't enable suppression */,
              false /* don't calculate a stack trace. */);
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 33.2K bytes
    - Viewed (1)
  9. android/guava/src/com/google/common/base/Preconditions.java

     *     throw new IllegalArgumentException("input is negative: " + value);
     *   }
     *   // calculate square root
     * }
     * }
     *
     * <p>to be replaced with the more compact
     *
     * {@snippet :
     * public static double sqrt(double value) {
     *   checkArgument(value >= 0, "input is negative: %s", value);
     *   // calculate square root
     * }
     * }
     *
     * <p>so that a hypothetical bad caller of this method, such as:
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 10 22:11:00 UTC 2025
    - 53K bytes
    - Viewed (0)
  10. api/maven-api-plugin/src/main/mdo/plugin.mdo

              <type>String</type>
              <required>true</required>
              <description>
                The Java type for this parameter. This is used to validate the result of any expressions used to calculate
                the value which should be injected into the Mojo for this parameter.
              </description>
            </field>
            <field>
              <name>required</name>
              <version>1.0.0+</version>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Feb 25 08:28:41 UTC 2025
    - 24.8K bytes
    - Viewed (0)
Back to top