Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 301 for negate (0.09 sec)

  1. guava-tests/test/com/google/common/base/CharMatcherTest.java

        assertEquals(expected, matcher.toString());
        assertEquals(expected, matcher.precomputed().toString());
        assertEquals(expected, matcher.negate().negate().toString());
        assertEquals(expected, matcher.negate().precomputed().negate().toString());
        assertEquals(expected, matcher.negate().precomputed().negate().precomputed().toString());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 18:32:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/CharMatcherTest.java

        assertEquals(expected, matcher.toString());
        assertEquals(expected, matcher.precomputed().toString());
        assertEquals(expected, matcher.negate().negate().toString());
        assertEquals(expected, matcher.negate().precomputed().negate().toString());
        assertEquals(expected, matcher.negate().precomputed().negate().precomputed().toString());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 18:32:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/CharMatcher.java

        }
      }
    
      // Non-static factory implementation classes
    
      /** Implementation of {@link #negate()}. */
      private static class Negated extends CharMatcher {
    
        final CharMatcher original;
    
        Negated(CharMatcher original) {
          this.original = checkNotNull(original);
        }
    
        @Override
        public boolean matches(char c) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/math/MathPreconditionsTest.java

      }
    
      public void testCheckPositive_negativeBigInteger() {
        assertThrows(
            IllegalArgumentException.class,
            () -> MathPreconditions.checkPositive("BigInteger", BigInteger.ZERO.negate()));
      }
    
      public void testCheckNonNegative_zeroInt() {
        MathPreconditions.checkNonNegative("int", 0);
      }
    
      public void testCheckNonNegative_maxInt() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/math/BigDecimalMathTest.java

            .roundUnnecessaryShouldThrow()
            .test();
      }
    
      public void testRoundToDouble_negativeWayTooBig() {
        BigDecimal bi = BigDecimal.valueOf(2).pow(2 * Double.MAX_EXPONENT).negate();
        new RoundToDoubleTester(bi)
            .setExpectation(-Double.MAX_VALUE, DOWN, CEILING, HALF_EVEN, HALF_UP, HALF_DOWN)
            .setExpectation(Double.NEGATIVE_INFINITY, UP, FLOOR)
            .roundUnnecessaryShouldThrow()
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  6. internal/dsync/dsync-server_test.go

    	l.mutex.Lock()
    	defer l.mutex.Unlock()
    	if _, reply = l.lockMap[args.Resources[0]]; !reply {
    		l.lockMap[args.Resources[0]] = WriteLock // No locks held on the given name, so claim write lock
    	}
    	reply = !reply // Negate *reply to return true when lock is granted or false otherwise
    	return reply, nil
    }
    
    func (l *lockServer) Unlock(args *LockArgs) (reply bool, err error) {
    	if d := atomic.LoadInt64(&l.responseDelay); d != 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jan 23 16:46:37 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  7. internal/s3select/sql/evaluate.go

    	}
    	return lval, nil
    }
    
    func (e *UnaryTerm) evalNode(r Record, tableAlias string) (*Value, error) {
    	if e.Negated == nil {
    		return e.Primary.evalNode(r, tableAlias)
    	}
    
    	v, err := e.Negated.Term.evalNode(r, tableAlias)
    	if err != nil {
    		return nil, err
    	}
    
    	inferTypeForArithOp(v)
    	v.negate()
    	if v.isNumeric() {
    		return v, nil
    	}
    	return nil, errArithMismatchedTypes
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 12K bytes
    - Viewed (0)
  8. guava/src/com/google/common/net/MediaType.java

      /** Matcher for type, subtype and attributes. */
      private static final CharMatcher TOKEN_MATCHER =
          ascii()
              .and(javaIsoControl().negate())
              .and(CharMatcher.isNot(' '))
              .and(CharMatcher.noneOf("()<>@,;:\\\"/[]?="));
    
      private static final CharMatcher QUOTED_TEXT_MATCHER = ascii().and(CharMatcher.noneOf("\"\\\r"));
    
      /*
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Sep 26 19:15:09 UTC 2024
    - 47.5K bytes
    - Viewed (0)
  9. tensorflow/c/c_api_function_test.cc

                 {{"scalar10_0:output:0", "scalar10"}}, {});
    }
    
    TEST_F(CApiFunctionTest, OneOp_OneInput_OneOutput) {
      /*
       *                   |
       *                   v
       *                 negate
       *                   |
       *                   v
       */
      // Define
      TF_Operation* feed = Placeholder(func_graph_, s_);
      TF_Operation* neg = Neg(feed, func_graph_, s_);
      Define(-1, {}, {feed}, {neg}, {});
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (0)
  10. RELEASE.md

        *   Update `Fingerprint64Map` to use aliases
        *   Add legacy string flat hash map op kernels.
        *   Add support for `add_metric` in the graph function mode.
        *   Updating cosine similarity loss - removed the negate sign from cosine
            similarity.
        *   Changed default for gradient accumulation for TPU embeddings to true.
        *   Adds summary trace API for collecting graph and profile information.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Oct 22 14:33:53 UTC 2024
    - 735.3K bytes
    - Viewed (0)
Back to top