Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 287 for value_or (0.11 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/DefaultProviderFactoryTest.groovy

            then:
            provider
            provider.get() == value
    
            where:
            type      | value
            Boolean   | true
            Byte      | Byte.valueOf((byte) 0)
            Short     | Short.valueOf((short) 0)
            Integer   | Integer.valueOf(0)
            Long      | 4L
            Float     | 5.5f
            Double    | 6.6d
            Character | '\u1234'
            String    | 'hello'
            File      | TEST_FILE
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/userguide/core-plugins/project_report_plugin.adoc

    The projects to generate the reports for. _Default value_: A one element set with the project the plugin was applied to.
    
    `projectReportDirName` — `String`::
    The name of the directory to generate the project report into, relative to the reports directory. _Default value_: `"project"`.
    
    `projectReportDir` — `File` (read-only)::
    The directory to generate the project report into. _Default value_: `__reportsDir__/__projectReportDirName__`.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java

        assertThrows(
            UnsupportedOperationException.class,
            () -> map.put(TypeToken.of(Integer.class), Integer.valueOf(5)));
      }
    
      public void testPutAllThrows() {
        assertThrows(
            UnsupportedOperationException.class,
            () -> map.putAll(ImmutableMap.of(TypeToken.of(Integer.class), Integer.valueOf(5))));
      }
    
      public void testEntrySetMutationThrows() {
        map.putInstance(String.class, "test");
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  4. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/util/NumberUtil.java

            } else {
                int baseExponent = (Long.SIZE - 1 - Long.numberOfLeadingZeros(bytes)) / BASE_LOG2;
                BigDecimal roundedBase = BigDecimal.valueOf(1L << (baseExponent * BASE_LOG2));
                BigDecimal result = BigDecimal.valueOf(bytes).divide(roundedBase, MC).setScale(FRACTIONAL_DIGIT_COUNT, FLOOR).stripTrailingZeros();
                return result.toPlainString() + UNITS.get(baseExponent);
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableMultimap.java

          Iterator<V> valueItr = Iterators.emptyIterator();
    
          @Override
          public boolean hasNext() {
            return valueItr.hasNext() || valueCollectionItr.hasNext();
          }
    
          @Override
          public V next() {
            if (!valueItr.hasNext()) {
              valueItr = valueCollectionItr.next().iterator();
            }
            return valueItr.next();
          }
        };
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  6. interfaces.go

    	Commit() error
    	Rollback() error
    }
    
    // Tx sql.Tx interface
    type Tx interface {
    	ConnPool
    	TxCommitter
    	StmtContext(ctx context.Context, stmt *sql.Stmt) *sql.Stmt
    }
    
    // Valuer gorm valuer interface
    type Valuer interface {
    	GormValue(context.Context, *DB) clause.Expr
    }
    
    // GetDBConnector SQL db connector
    type GetDBConnector interface {
    	GetDBConn() (*sql.DB, error)
    }
    
    // Rows rows interface
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Sat Aug 19 13:33:31 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  7. src/syscall/js/js_test.go

    	}
    	if got, want := js.ValueOf(true).Type(), js.TypeBoolean; got != want {
    		t.Errorf("got %s, want %s", got, want)
    	}
    	if got, want := js.ValueOf(0).Type(), js.TypeNumber; got != want {
    		t.Errorf("got %s, want %s", got, want)
    	}
    	if got, want := js.ValueOf(42).Type(), js.TypeNumber; got != want {
    		t.Errorf("got %s, want %s", got, want)
    	}
    	if got, want := js.ValueOf("test").Type(), js.TypeString; got != want {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 14:35:26 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  8. src/go/ast/import.go

    		}
    	}
    	specs = deduped
    
    	// Fix up comment positions
    	for i, s := range specs {
    		s := s.(*ImportSpec)
    		if s.Name != nil {
    			s.Name.NamePos = pos[i].Start
    		}
    		s.Path.ValuePos = pos[i].Start
    		s.EndPos = pos[i].End
    		for _, g := range importComments[s] {
    			for _, c := range g.cg.List {
    				if g.left {
    					c.Slash = pos[i].Start - 1
    				} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. statement.go

    			sort.Strings(keys)
    
    			for _, key := range keys {
    				reflectValue := reflect.Indirect(reflect.ValueOf(v[key]))
    				switch reflectValue.Kind() {
    				case reflect.Slice, reflect.Array:
    					if _, ok := v[key].(driver.Valuer); ok {
    						conds = append(conds, clause.Eq{Column: key, Value: v[key]})
    					} else if _, ok := v[key].(Valuer); ok {
    						conds = append(conds, clause.Eq{Column: key, Value: v[key]})
    					} else {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri Jan 12 08:42:21 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  10. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-param-util.h

                 IncrementT step)
            : base_(base), value_(value), index_(index), step_(step) {}
        virtual ~Iterator() {}
    
        virtual const ParamGeneratorInterface<T>* BaseGenerator() const {
          return base_;
        }
        virtual void Advance() {
          value_ = value_ + step_;
          index_++;
        }
        virtual ParamIteratorInterface<T>* Clone() const {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 23.6K bytes
    - Viewed (0)
Back to top