Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2131 - 2140 of 2,158 for booleans (0.08 sec)

  1. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

      }
    
      public void testSetKeyEquivalence() {
        Equivalence<Object> testEquivalence =
            new Equivalence<Object>() {
              @Override
              protected boolean doEquivalent(Object a, Object b) {
                return false;
              }
    
              @Override
              protected int doHash(Object t) {
                return 0;
              }
            };
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  2. migrator/migrator.go

    	}
    	// By default, ColumnType's Unique is not affected by UniqueIndex, so we don't care about UniqueIndex.
    	return m.RunWithValue(value, func(stmt *gorm.Statement) error {
    		// We're currently only receiving boolean values on `Unique` tag,
    		// so the UniqueConstraint name is fixed
    		constraint := m.DB.NamingStrategy.UniqueName(stmt.Table, field.DBName)
    		if unique && !field.Unique {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Apr 26 07:15:49 UTC 2024
    - 29K bytes
    - Viewed (0)
  3. cmd/api-response.go

    type PostResponse struct {
    	Bucket   string
    	Key      string
    	ETag     string
    	Location string
    }
    
    // returns "https" if the tls boolean is true, "http" otherwise.
    func getURLScheme(tls bool) string {
    	if tls {
    		return httpsScheme
    	}
    	return httpScheme
    }
    
    // getObjectLocation gets the fully qualified URL of an object.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 19:27:06 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api_unified_experimental_test.cc

    using tensorflow::string;
    using tensorflow::TF_StatusPtr;
    
    namespace tensorflow {
    namespace {
    
    // The tests are parameterized on:
    // - a string representing the tracing implementation: "mlir" or "graphdef".
    // - a boolean that when true enables TFRT as the execution engine.
    class UnifiedCAPI
        : public ::testing::TestWithParam<std::tuple<const char*, bool>> {
     protected:
      void SetUp() override {
        TF_StatusPtr status(TF_NewStatus());
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 39.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/graph/TraverserTest.java

       * has an edge between 'a' and 'b').
       *
       * <p>The {@code successors} are always returned in alphabetical order.
       */
      private static SuccessorsFunction<Character> createGraph(boolean directed, String... edges) {
        ImmutableMultimap.Builder<Character, Character> graphMapBuilder = ImmutableMultimap.builder();
        for (String edge : edges) {
          checkArgument(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 47.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/graph/TraverserTest.java

       * has an edge between 'a' and 'b').
       *
       * <p>The {@code successors} are always returned in alphabetical order.
       */
      private static SuccessorsFunction<Character> createGraph(boolean directed, String... edges) {
        ImmutableMultimap.Builder<Character, Character> graphMapBuilder = ImmutableMultimap.builder();
        for (String edge : edges) {
          checkArgument(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 47.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/lang/GenericsUtil.java

         *            タイプ。{@literal null}であってはいけません
         * @param clazz
         *            クラス。{@literal null}であってはいけません
         * @return <code>type</code>の原型が<code>clazz</code>に代入可能であれば<code>true</code>
         */
        public static boolean isTypeOf(final Type type, final Class<?> clazz) {
            assertArgumentNotNull("type", type);
            assertArgumentNotNull("clazz", clazz);
    
            if (type instanceof Class) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

         *
         * @param version artifact version
         * @return whether the given version is a snapshot
         *
         * @see org.apache.maven.api.services.VersionParser#isSnapshot(String)
         */
        boolean isVersionSnapshot(@Nonnull String version);
    
        /**
         * Shortcut for {@code getService(DependencyResolver.class).collect(...)}
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 16:43:07 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/OrderingTest.java

          return ((Double) a.doubleValue()).compareTo(b.doubleValue());
        }
    
        @Override
        public int hashCode() {
          return NumberOrdering.class.hashCode();
        }
    
        @Override
        public boolean equals(@Nullable Object other) {
          return other instanceof NumberOrdering;
        }
    
        private static final long serialVersionUID = 0;
      }
    
      /*
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

            this.a = a;
            this.b = b;
          }
    
          @Override
          public int compareTo(TypeWithDuplicates o) {
            return Integer.compare(a, o.a);
          }
    
          public boolean fullEquals(@Nullable TypeWithDuplicates other) {
            return other != null && a == other.a && b == other.b;
          }
        }
    
        Collector<TypeWithDuplicates, ?, ImmutableSortedSet<TypeWithDuplicates>> collector =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 46.7K bytes
    - Viewed (0)
Back to top