Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 27 of 27 for toFloat (0.13 sec)

  1. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

              Thread.sleep(100)
            }
          } catch (e: IOException) {
            break
          }
          i++
        }
        // Halfway +/- 0.5%
        assertThat(i.toFloat()).isCloseTo(512f, 5f)
      }
    
      @Test
      fun disconnectResponseHalfway() {
        server.enqueue(
          MockResponse.Builder()
            .body("ab")
            .socketPolicy(DisconnectDuringResponseBody)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  2. internal/s3select/sql/funceval.go

    }
    
    func handleDateAdd(r Record, d *DateAddFunc, tableAlias string) (*Value, error) {
    	q, err := d.Quantity.evalNode(r, tableAlias)
    	if err != nil {
    		return nil, err
    	}
    	inferTypeForArithOp(q)
    	qty, ok := q.ToFloat()
    	if !ok {
    		return nil, fmt.Errorf("QUANTITY must be a numeric argument to %s()", sqlFnDateAdd)
    	}
    
    	ts, err := d.Timestamp.evalNode(r, tableAlias)
    	if err != nil {
    		return nil, err
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 13.2K bytes
    - Viewed (0)
  3. api/go1.6.txt

    pkg go/build, const IgnoreVendor = 8
    pkg go/build, const IgnoreVendor ImportMode
    pkg go/build, type Package struct, InvalidGoFiles []string
    pkg go/constant, func ToComplex(Value) Value
    pkg go/constant, func ToFloat(Value) Value
    pkg go/constant, func ToInt(Value) Value
    pkg go/constant, type Value interface, ExactString() string
    pkg go/types, method (*Package) SetName(string)
    pkg go/types, type ImportMode int
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Jan 13 23:40:13 UTC 2016
    - 12.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

                } else if (floatFieldSet.contains(key)) {
                    if (value instanceof final Number num) {
                        value = num.floatValue();
                    } else {
                        value = DfTypeUtil.toFloat(value.toString());
                    }
                } else if (doubleFieldSet.contains(key)) {
                    if (value instanceof final Number num) {
                        value = num.doubleValue();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 87.2K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/CallTest.kt

        assertFailsWith<IOException> {
          call.execute()
        }
        val elapsedNanos = System.nanoTime() - startNanos
        assertThat(TimeUnit.NANOSECONDS.toMillis(elapsedNanos).toFloat())
          .isCloseTo(cancelDelayMillis.toFloat(), 100f)
      }
    
      @Test
      fun cancelImmediatelyAfterEnqueue() {
        server.enqueue(MockResponse())
        val latch = CountDownLatch(1)
        client =
          client.newBuilder()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultTransformerContextBuilder.java

                        return;
                    }
                    List<Path> toLoad = new ArrayList<>();
                    Path root = defaultModelBuilder.getModelProcessor().locateExistingPom(rootDirectory);
                    toLoad.add(root);
                    while (!toLoad.isEmpty()) {
                        Path pom = toLoad.remove(0);
                        try {
                            ModelBuildingRequest gaBuildingRequest =
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  7. test-site/activator-launch-1.3.2.jar

    abstract long longValue(); public abstract float floatValue(); public abstract double doubleValue(); public abstract byte toByte(); public abstract short toShort(); public abstract int toInt(); public abstract long toLong(); public abstract float toFloat(); public abstract double toDouble(); public abstract boolean isValidByte(); public abstract boolean isValidShort(); public abstract boolean isValidInt(); public abstract boolean isValidChar(); } scala/math/ScalaNumber.class package scala.math; public...
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Mon Apr 20 08:41:37 UTC 2015
    - 1.2M bytes
    - Viewed (0)
Back to top