Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 128 for 1001Gi (0.1 sec)

  1. src/cmd/compile/internal/test/testdata/sqrtConst_test.go

    	got  float64
    	want float64
    }{
    	{"sqrt0", 0, math.Sqrt(0), 0},
    	{"sqrt1", 1, math.Sqrt(1), 1},
    	{"sqrt2", 2, math.Sqrt(2), math.Sqrt2},
    	{"sqrt4", 4, math.Sqrt(4), 2},
    	{"sqrt100", 100, math.Sqrt(100), 10},
    	{"sqrt101", 101, math.Sqrt(101), 10.04987562112089},
    }
    
    var nanTests = [...]struct {
    	name string
    	in   float64 // used for error messages, not an input
    	got  float64
    }{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 23 06:40:04 UTC 2020
    - 1.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/CharSequenceReaderTest.java

        reader.close();
    
        assertThrows(IOException.class, () -> reader.read());
    
        assertThrows(IOException.class, () -> reader.read(new char[10]));
    
        assertThrows(IOException.class, () -> reader.read(new char[10], 0, 10));
    
        assertThrows(IOException.class, () -> reader.read(CharBuffer.allocate(10)));
    
        assertThrows(IOException.class, () -> reader.skip(10));
    
        assertThrows(IOException.class, () -> reader.ready());
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/WrappingScheduledExecutorServiceTest.java

        @SuppressWarnings("unused") // https://errorprone.info/bugpattern/FutureReturnValueIgnored
        Future<?> possiblyIgnoredError =
            testExecutor.scheduleWithFixedDelay(DO_NOTHING, 100, 10, TimeUnit.MINUTES);
        mock.assertLastMethodCalled("scheduleWithFixedDelay", 100, 10, TimeUnit.MINUTES);
    
        @SuppressWarnings("unused") // https://errorprone.info/bugpattern/FutureReturnValueIgnored
        Future<?> possiblyIgnoredError1 =
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Dec 16 19:54:45 UTC 2020
    - 7.6K bytes
    - Viewed (0)
  4. test/intrinsic.dir/main.go

    var B = []uint64{0x0807060504030201, 0x8877665544332211}
    
    var errors int
    
    func logf(f string, args ...interface{}) {
    	errors++
    	fmt.Printf(f, args...)
    	if errors > 100 { // 100 is enough spewage
    		panic("100 errors is plenty is enough")
    	}
    }
    
    func test(i int, x uint64) {
    	t := T.TrailingZeros64(x) // ERROR "intrinsic substitution for TrailingZeros64"
    	if i != t {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 18 18:06:27 UTC 2022
    - 2.6K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/ws/WebSocketReaderTest.kt

        data.write("8064".decodeHex()).write(bytes, 100, 100)
        clientReader.processNextFrame()
        callback.assertBinaryMessage(bytes)
      }
    
      @Test fun twoFrameNotContinuation() {
        val bytes = binaryData(200)
        data.write("0264".decodeHex()).write(bytes, 0, 100)
        data.write("8264".decodeHex()).write(bytes, 100, 100)
        assertFailsWith<ProtocolException> {
          clientReader.processNextFrame()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/strategy/ExactVersionSelectorTest.groovy

            !accept("1-0", "1+0")
            !accept("1.a.2", "1a2")
        }
    
        def "does not accept candidate version that has different number of trailing .0's"() {
            expect:
            !accept("1.0.0", "1.0")
            !accept("1", "1.0.0")
        }
    
        def "does not accept candidate version that has different capitalization"() {
            !accept("1.0-alpha", "1.0-ALPHA")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/LittleEndianDataInputStreamTest.java

        initializeData(out);
    
        data = baos.toByteArray();
      }
    
      private void initializeData(DataOutputStream out) throws IOException {
        /* Write out various test values NORMALLY */
        out.write(new byte[] {-100, 100});
        out.writeBoolean(true);
        out.writeBoolean(false);
        out.writeByte(100);
        out.writeByte(-100);
        out.writeByte((byte) 200);
        out.writeChar('a');
        out.writeShort((short) -30000);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  8. test/const1.go

    	b12  byte = 1000                  // ERROR "overflow|cannot convert"
    	b13  byte = byte(1000)            // ERROR "overflow|cannot convert"
    	b14  byte = byte(100) * byte(100) // ERROR "overflow|cannot convert"
    	b15  byte = byte(100) * 100       // ERROR "overflow|cannot convert"
    	b16  byte = byte(0) * 1000        // ERROR "overflow|cannot convert"
    	b16a byte = 0 * 1000              // OK
    	b17  byte = byte(0) * byte(1000)  // ERROR "overflow|cannot convert"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 01 21:49:31 UTC 2020
    - 3.8K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/api/internal/tasks/TaskStatistics.java

                int createdTaskCount = lazyTaskCreatedCount + eagerTaskCount;
                LOGGER.lifecycle("Task counts: created {}, avoided {}, %-lazy {}", createdTaskCount, lazyTaskCount-lazyTaskCreatedCount, 100-100*createdTaskCount/totalTaskCount);
    
                printTypeCounts("\nTask types that were created with the old API", typeCounts);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  10. src/image/ycbcr_test.go

    	r1 := r.Add(delta)
    	m := NewYCbCr(r1, subsampleRatio)
    
    	// Test that the image buffer is reasonably small even if (delta.X, delta.Y) is far from the origin.
    	if len(m.Y) > 100*100 {
    		t.Errorf("r=%v, subsampleRatio=%v, delta=%v: image buffer is too large",
    			r, subsampleRatio, delta)
    		return
    	}
    
    	// Initialize m's pixels. For 422 and 420 subsampling, some of the Cb and Cr elements
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 26 00:14:16 UTC 2015
    - 3.3K bytes
    - Viewed (0)
Back to top