Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 251 for calculates (0.14 seconds)

  1. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java

            request.encode(tempBuffer, 50);
    
            // When
            int bytesWritten = request.writeBytesWireFormat(buffer, offset);
    
            // Then
            // The writeBytesWireFormat writes the structure and calculates padding
            // Base structure: 24 bytes, then pad8 alignment, then token: 5 bytes
            // Total bytes written includes padding for 8-byte alignment
            int expectedBytesWritten = 35;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 21.2K bytes
    - Click Count (0)
  2. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

            }
    
            return Strings.fromOEMBytes(src, srcIndex, Strings.findTermination(src, srcIndex, maxLen), getConfig());
        }
    
        /**
         * Calculates the wire format length of a string
         * @param str string to measure
         * @param offset current buffer offset for alignment calculation
         * @return string length
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 38.9K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/math/StatsAccumulator.java

       */
      public double max() {
        checkState(count != 0);
        return max;
      }
    
      double sumOfSquaresOfDeltas() {
        return sumOfSquaresOfDeltas;
      }
    
      /**
       * Calculates the new value for the accumulated mean when a value is added, in the case where at
       * least one of the previous mean and the value is non-finite.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Apr 14 16:36:11 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  4. cmd/streaming-signature-v4.go

    	// Calculate signature.
    	newSignature := getSignature(signingKey, stringToSign)
    
    	// Verify if signature match.
    	if !compareSignatureV4(newSignature, signV4Values.Signature) {
    		return cred, "", "", time.Time{}, ErrSignatureDoesNotMatch
    	}
    
    	// Return calculated signature.
    	return cred, newSignature, region, date, ErrNone
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 18.2K bytes
    - Click Count (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. internal/s3select/sql/value.go

    	}
    	return val, ok
    }
    
    // bytesToString - never fails, but returns empty string if value is not bytes.
    func (v Value) bytesToString() string {
    	bytes, _ := v.ToBytes()
    	return string(bytes)
    }
    
    // Calculates minimum or maximum of v and a and assigns the result to
    // v - it works only on numeric arguments, where `v` is already
    // assumed to be numeric. Attempts conversion to numeric type for `a`
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 20.4K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

          public Schedule(Duration delay) {
            this(toNanosSaturated(delay), NANOSECONDS);
          }
        }
    
        /**
         * Calculates the time at which to next invoke the task.
         *
         * <p>This is guaranteed to be called immediately after the task has completed an iteration and
         * on the same thread as the previous execution of {@link
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 27.7K bytes
    - Click Count (0)
Back to Top