- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 176 for calculate (0.08 sec)
-
api/maven-api-core/src/main/java/org/apache/maven/api/services/ChecksumAlgorithmService.java
@Nonnull Map<ChecksumAlgorithm, String> calculate(@Nonnull byte[] data, @Nonnull Collection<ChecksumAlgorithm> algorithms); /** * Calculates checksums for specified data. * * @param data The content for which to calculate checksums, must not be {@code null}. * @param algorithms The checksum algorithms to use, must not be {@code null}. * @return The calculated checksums, indexed by algorithms, never {@code null}.
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Wed Jul 10 20:52:34 UTC 2024 - 6.4K bytes - Viewed (0) -
internal/bucket/bandwidth/measurement.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package bandwidth import ( "sync" "sync/atomic" "time" ) const ( // betaBucket is the weight used to calculate exponential moving average betaBucket = 0.1 // Number of averages considered = 1/(1-betaObject) ) // bucketMeasurement captures the bandwidth details for one bucket type bucketMeasurement struct {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Jun 03 20:41:51 UTC 2023 - 2.9K bytes - Viewed (0) -
cmd/http-tracer.go
inputBytes += len(k) + len(v) } // Calculate node name nodeName := r.Host if globalIsDistErasure { nodeName = globalLocalNodeName } if host, port, err := net.SplitHostPort(nodeName); err == nil { if port == "443" || port == "80" { nodeName = host } } // Calculate reqPath reqPath := r.URL.RawPath if reqPath == "" { reqPath = r.URL.Path
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 24 17:13:00 UTC 2024 - 6K bytes - Viewed (0) -
cmd/update-notifier.go
line2InColor := fmt.Sprintf(msgLine2Fmt, color.CyanBold(updateString)) // calculate the rectangular box size. maxContentWidth := max(line1Length, line2Length) // termWidth is set to a default one to use when we are // not able to calculate terminal width via OS syscalls termWidth := 25 if width, err := pb.GetTerminalWidth(); err == nil { termWidth = width }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Mar 09 03:07:08 UTC 2024 - 3.6K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/links/ClassLinkMetaDataTest.groovy
import gradlebuild.docs.dsl.source.model.TypeMetaData class ClassLinkMetaDataTest extends Specification { public static final String SIMPLE_CLASSNAME = 'MyClass' public static final String METHOD_NAME = 'calculate' def "can define and look up overloaded methods"() { given: ClassMetaData classMetaData = new ClassMetaData("org.gradle.$SIMPLE_CLASSNAME")
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 2.7K bytes - Viewed (0) -
cmd/streaming-signature-v4.go
// Calculate signature. newSignature := getSignature(signingKey, stringToSign) return newSignature } // getTrailerChunkSignature - get trailer chunk signature. func (cr *s3ChunkedReader) getTrailerChunkSignature() string { hashedChunk := hex.EncodeToString(cr.chunkSHA256Writer.Sum(nil)) // Calculate string to sign. alg := signV4ChunkedAlgorithmTrailer + "\n"
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu May 16 23:13:47 UTC 2024 - 18.2K bytes - Viewed (0) -
cmd/signature-v4-utils.go
) // http Header "x-amz-content-sha256" == "UNSIGNED-PAYLOAD" indicates that the // client did not calculate sha256 of the payload. const unsignedPayload = "UNSIGNED-PAYLOAD" // http Header "x-amz-content-sha256" == "STREAMING-UNSIGNED-PAYLOAD-TRAILER" indicates that the // client did not calculate sha256 of the payload and there is a trailer. const unsignedPayloadTrailer = "STREAMING-UNSIGNED-PAYLOAD-TRAILER"
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jun 13 22:26:38 UTC 2024 - 9.1K bytes - Viewed (0) -
tensorflow/c/c_api_macros.h
#endif // SWIG // TF_Bool is the C API typedef for unsigned char, while TF_BOOL is // the datatype for boolean tensors. #ifndef TF_Bool #define TF_Bool unsigned char #endif // TF_Bool // Macro used to calculate struct size for maintaining ABI stability across // different struct implementations. #ifndef TF_OFFSET_OF_END #define TF_OFFSET_OF_END(TYPE, MEMBER) \ (offsetof(TYPE, MEMBER) + sizeof(((TYPE *)0)->MEMBER))
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat May 13 04:44:45 UTC 2023 - 1.6K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/LifecycleMappingDelegate.java
import org.apache.maven.project.MavenProject; /** * Lifecycle mapping delegate component interface. Calculates project build execution plan given {@link Lifecycle} and * lifecycle phase. Standard lifecycles use plugin execution {@code <phase>} or mojo default lifecycle phase to * calculate the execution plan, but custom lifecycles can use alternative mapping strategies. * <p>
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.3K bytes - Viewed (0) -
tensorflow/c/eager/gradient_checker.h
namespace gradients { /* Returns numerical grad inside `dtheta_approx` given `forward` model and * parameter specified by `input_index`. * * I.e. if y = <output of the forward model> and w = inputs[input_index], * this will calculate dy/dw numerically. * * `use_function` indicates whether to use graph mode(true) or eager(false). * * `numerical_grad` is the pointer to the AbstractTensorHandle* which will
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 1.8K bytes - Viewed (0)