- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 46 for Abs (0.01 sec)
-
android/guava-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 4.4K bytes - Viewed (0) -
misc/cgo/gmp/gmp.go
} // Neg sets z = -x and returns z. func (z *Int) Neg(x *Int) *Int { x.doinit() z.doinit() C.mpz_neg(&z.i[0], &x.i[0]) return z } // Abs sets z to the absolute value of x and returns z. func (z *Int) Abs(x *Int) *Int { x.doinit() z.doinit() C.mpz_abs(&z.i[0], &x.i[0]) return z } /* * functions without a clear receiver */
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 9.5K bytes - Viewed (0) -
docs/debugging/pprofgoparser/main.go
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Mar 06 11:43:16 UTC 2024 - 3.4K bytes - Viewed (0) -
schema/index_test.go
Where: "age > 10", Option: "WITH PARSER parser_name", Fields: []schema.IndexOption{{Field: &schema.Field{Name: "Name6"}}, { Field: &schema.Field{Name: "Age"}, Expression: "ABS(age)", }}, }, { Name: "idx_id", Fields: []schema.IndexOption{{Field: &schema.Field{Name: "MemberNumber"}}, {Field: &schema.Field{Name: "OID", UniqueIndex: "idx_oid"}}}, }, {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Fri Dec 06 02:27:44 UTC 2024 - 7.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java
long diff1 = result1 - result0; long diff7 = result7 - result0; assertTrue("1 day should be approximately ONE_DAY_IN_MILLIS", Math.abs(diff1 - Constants.ONE_DAY_IN_MILLIS) < 10000); assertTrue("7 days should be approximately 7 * ONE_DAY_IN_MILLIS", Math.abs(diff7 - 7 * Constants.ONE_DAY_IN_MILLIS) < 10000); } catch (Exception e) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 05:35:01 UTC 2025 - 26.6K bytes - Viewed (0) -
cmd/endpoint_test.go
"reflect" "strings" "testing" ) func TestNewEndpoint(t *testing.T) { u2, _ := url.Parse("https://example.org/path") u4, _ := url.Parse("http://192.168.253.200/path") rootSlashFoo, _ := filepath.Abs("/foo") testCases := []struct { arg string expectedEndpoint Endpoint expectedType EndpointType expectedErr error }{
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 18.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/SystemHelperTest.java
final long now = System.currentTimeMillis(); assertTrue(Math.abs(currentTime.getTime() - now) < 1000); } public void test_getCurrentTimeAsLong() { final long currentTime = systemHelper.getCurrentTimeAsLong(); final long now = System.currentTimeMillis(); assertTrue(Math.abs(currentTime - now) < 1000); } public void test_destroy() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 28.9K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java
// to produce the message throws (probably StackOverflowError from delegate.toString()) try { if (timer != null) { long overDelayMs = Math.abs(timer.getDelay(MILLISECONDS)); if (overDelayMs > 10) { // Not all timing drift is worth reporting message += " (timeout delayed by " + overDelayMs + " ms after scheduled time)"; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java
ServerMessageBlock.writeTime(time, buffer, 0); long readTime = ServerMessageBlock.readTime(buffer, 0); // Precision may be lost, so check within a second assertTrue(Math.abs(time - readTime) < 1000); } @Test void testTimeReadWriteZero() { byte[] buffer = new byte[8]; ServerMessageBlock.writeTime(0, buffer, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
cmd/bucket-object-lock.go
} // Pass in relative days from current time, to additionally // to verify "object-lock-remaining-retention-days" policy if any. days := int(math.Ceil(math.Abs(objRetention.RetainUntilDate.Sub(t).Hours()) / 24)) ret := objectlock.GetObjectRetentionMeta(oi.UserDefined) if ret.Mode.Valid() { // Retention has expired you may change whatever you like.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 08 02:38:25 UTC 2025 - 13.3K bytes - Viewed (0)