- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 57 for ABS (0.01 seconds)
-
guava-tests/test/com/google/common/math/DoubleMathTest.java
// decrement until it's <= the true value while (StrictMath.pow(2.0, trueLog2) > d) { trueLog2 = StrictMath.nextAfter(trueLog2, Double.NEGATIVE_INFINITY); } if (StrictMath.abs(StrictMath.pow(2.0, trueLog2) - d) > StrictMath.abs(StrictMath.pow(2.0, StrictMath.nextUp(trueLog2)) - d)) { trueLog2 = StrictMath.nextUp(trueLog2); } return trueLog2; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Feb 03 16:20:39 GMT 2026 - 27.5K bytes - Click Count (0) -
docs/debugging/pprofgoparser/main.go
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Mar 06 11:43:16 GMT 2024 - 3.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/indexer/DocBoostMatcherTest.java
docBoostMatcher.setBoostExpression("'3.14'"); final Map<String, Object> map = new HashMap<String, Object>(); map.put("data1", 1); assertTrue(Math.abs(3.14f - docBoostMatcher.getValue(map)) < 0.001f); } @Test public void test_getValue_emptyStringReturn() { final DocBoostMatcher docBoostMatcher = new DocBoostMatcher();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Mar 15 06:03:38 GMT 2026 - 8.8K bytes - Click Count (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 }{
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 18.9K bytes - Click Count (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) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 12 01:46:45 GMT 2026 - 28.7K bytes - Click Count (0) -
api/go1.5.txt
pkg math/big, func Jacobi(*Int, *Int) int pkg math/big, func NewFloat(float64) *Float pkg math/big, func ParseFloat(string, int, uint, RoundingMode) (*Float, int, error) pkg math/big, method (*Float) Abs(*Float) *Float pkg math/big, method (*Float) Acc() Accuracy pkg math/big, method (*Float) Add(*Float, *Float) *Float pkg math/big, method (*Float) Append([]uint8, uint8, int) []uint8
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Jul 30 21:14:09 GMT 2015 - 46.6K bytes - Click Count (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)"; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 8K bytes - Click Count (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);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.9K bytes - Click Count (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.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 08 02:38:25 GMT 2025 - 13.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/SystemHelperTest.java
final long now = System.currentTimeMillis(); assertTrue(Math.abs(currentTime.getTime() - now) < 1000); } @Test public void test_getCurrentTimeAsLong() { final long currentTime = systemHelper.getCurrentTimeAsLong(); final long now = System.currentTimeMillis(); assertTrue(Math.abs(currentTime - now) < 1000); } @Test public void test_destroy() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:59:19 GMT 2026 - 44.4K bytes - Click Count (0)