Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 201 - 210 of 248 for calculated (0.09 seconds)

  1. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

            if (rem == 0) {
                return size;
            }
            if (rem < 0) {
                rem = 8 + rem;
            }
            return size + 8 - rem;
        }
    
        /**
         * Calculates padding needed to align to 8-byte boundary from header start.
         *
         * @param dstIndex the current destination index
         * @return number of padding bytes needed
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 24K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/helper/IndexingHelper.java

                        response.getSuccessfulShards(), response.getFailedShards());
            }
            return response.getStatus().getStatus();
        }
    
        /**
         * Calculates the memory size of a document data map.
         * This is useful for monitoring memory usage during indexing operations.
         *
         * @param dataMap the document data as a map of field names to values
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 26.1K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/hash/BloomFilterTest.java

            // Add some elements
            for (int i = 0; i < expectedInsertions / 2; i++) {
              bf.put("element" + i);
            }
    
            // Calculate expected size based on bitSize()
            // Header: 1 byte (strategy) + 1 byte (hash functions) + 4 bytes (array length) = 6 bytes
            // Data: bitSize / 8 bytes
            long predictedSize = bf.bitSize() / 8 + 6;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 23K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       * reason that this is warmupPeriod/2 is to maintain the behavior of the original implementation
       * where coldFactor was hard coded as 3.)
       *
       * <p>It remains to calculate thresholdsPermits and maxPermits.
       *
       * <ul>
       *   <li>The time to go from thresholdPermits to 0 is equal to the integral of the function
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed May 14 19:40:47 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  5. 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>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:28:41 GMT 2025
    - 24.8K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

            } catch (final Exception ex) {
                if (LogStream.level > 0) {
                    ex.printStackTrace(log);
                }
            }
            return key;
        }
    
        /**
         * Calculates the effective user session key.
         *
         * @param challenge The server challenge.
         * @param dest The destination array in which the user session key will be
         * placed.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 26.7K bytes
    - Click Count (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,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Jun 25 15:08:54 GMT 2025
    - 37.3K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

                getUserSessionKey(tc, chlng, key, 0);
            } catch (Exception ex) {
                log.error("Failed to get session key", ex);
            }
            return key;
        }
    
        /**
         * Calculates the effective user session key.
         *
         * @param tc
         *            context to use
         * @param chlng
         *            The server challenge.
         * @param dest
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 30.3K bytes
    - Click Count (0)
  9. 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);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 32.5K bytes
    - Click Count (0)
  10. 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. */);
        }
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 33.2K bytes
    - Click Count (1)
Back to Top