Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 174 for 1029 (0.02 sec)

  1. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/ModelVersionParserTest.java

            c = versionParser.parseVersionConstraint("[1.0]");
            assertNull(c.getRecommendedVersion());
            assertTrue(c.contains(versionParser.parseVersion("1.0")));
    
            c = versionParser.parseVersionConstraint("[1.0],[2.0]");
            assertTrue(c.contains(versionParser.parseVersion("1.0")));
            assertTrue(c.contains(versionParser.parseVersion("2.0")));
    
            c = versionParser.parseVersionConstraint("[1.0],[2.0],[3.0]");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsRecordCodecTest.kt

                  "00010000003b00102a032880f0290011faceb00c00000002"
              ).decodeHex(),
          )
        assertThat(decoded)
          .containsExactly(InetAddress.getByName("2a03:2880:f029:11:face:b00c:0:2"))
      }
    
      @Test
      fun testGoogleDotComDecodingNxdomainFailure() {
        assertFailsWith<UnknownHostException> {
          decodeAnswers(
            hostname = "sdflkhfsdlkjdf.ee",
            byteString =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/CacheReferencesTest.java

        // observe a size of 1
        long initialSize = cache.size();
        assertTrue(initialSize == 1 || initialSize == 2);
    
        // wait up to 5s
        byte[] filler = new byte[1024];
        for (int i = 0; i < 500; i++) {
          System.gc();
    
          CacheTesting.drainReferenceQueues(cache);
          if (cache.size() == 1) {
            break;
          }
          try {
            Thread.sleep(10);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/http/ThreadInterruptTest.kt

              .url(server.url("/"))
              .build(),
          )
        val response = call.execute()
        interruptLater(500)
        val responseBody = response.body.byteStream()
        val buffer = ByteArray(1024)
        assertFailsWith<IOException> {
          while (responseBody.read(buffer) != -1) {
          }
        }
        responseBody.close()
      }
    
      private fun sleep(delayMillis: Int) {
        try {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/MultiInputStreamTest.java

     * @author Chris Nokleberg
     */
    public class MultiInputStreamTest extends IoTestCase {
    
      public void testJoin() throws Exception {
        joinHelper(0);
        joinHelper(1);
        joinHelper(0, 0, 0);
        joinHelper(10, 20);
        joinHelper(10, 0, 20);
        joinHelper(0, 10, 20);
        joinHelper(10, 20, 0);
        joinHelper(10, 20, 1);
        joinHelper(1, 1, 1, 1, 1, 1, 1, 1);
        joinHelper(1, 0, 1, 0, 1, 0, 1, 0);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.6K bytes
    - Viewed (0)
  6. src/bytes/buffer_test.go

    func BenchmarkBufferNotEmptyWriteRead(b *testing.B) {
    	buf := make([]byte, 1024)
    	for i := 0; i < b.N; i++ {
    		var b Buffer
    		b.Write(buf[0:1])
    		for i := 0; i < 5<<10; i++ {
    			b.Write(buf)
    			b.Read(buf)
    		}
    	}
    }
    
    // Check that we don't compact too often. From Issue 5154.
    func BenchmarkBufferFullSmallReads(b *testing.B) {
    	buf := make([]byte, 1024)
    	for i := 0; i < b.N; i++ {
    		var b Buffer
    		b.Write(buf)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Sep 03 20:55:15 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/primitives/UnsignedBytesBenchmark.java

          if (unsafeImpl.compare(ba3, ba4) == 0) {
            throw new Error(); // deoptimization
          }
        }
      }
    
      /*
      try {
        UnsignedBytesBenchmark bench = new UnsignedBytesBenchmark();
        bench.length = 1024;
        bench.setUp();
        bench.timeUnsafe(100000);
      } catch (Exception e) {
      }*/
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/TestLocking.java

        long ltime = 0L;
    
        public void run()
        {
            try {
                SmbFile f = new SmbFile(url);
                SmbFile d = new SmbFile(f.getParent());
                byte[] buf = new byte[1024];
    
                for (int ii = 0; ii < numIter; ii++) {
    
                    synchronized (this) {
                        ltime = System.currentTimeMillis();
                        wait();
                    }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 3.4K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/arch/ppc64.go

    		}
    	case "F":
    		if 0 <= n && n <= 31 {
    			return ppc64.REG_F0 + n, true
    		}
    	case "R":
    		if 0 <= n && n <= 31 {
    			return ppc64.REG_R0 + n, true
    		}
    	case "SPR":
    		if 0 <= n && n <= 1024 {
    			return ppc64.REG_SPR0 + n, true
    		}
    	}
    	return 0, false
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri May 17 21:53:50 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. fuzzing/fuzzingserver-expected.txt

    "12.2.17 UNIMPLEMENTED"
    "12.2.18 UNIMPLEMENTED"
    "12.2.2 UNIMPLEMENTED"
    "12.2.3 UNIMPLEMENTED"
    "12.2.4 UNIMPLEMENTED"
    "12.2.5 UNIMPLEMENTED"
    "12.2.6 UNIMPLEMENTED"
    "12.2.7 UNIMPLEMENTED"
    "12.2.8 UNIMPLEMENTED"
    "12.2.9 UNIMPLEMENTED"
    "12.3.1 UNIMPLEMENTED"
    "12.3.10 UNIMPLEMENTED"
    "12.3.11 UNIMPLEMENTED"
    "12.3.12 UNIMPLEMENTED"
    "12.3.13 UNIMPLEMENTED"
    "12.3.14 UNIMPLEMENTED"
    "12.3.15 UNIMPLEMENTED"
    "12.3.16 UNIMPLEMENTED"
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Mar 26 02:01:32 UTC 2019
    - 6.7K bytes
    - Viewed (0)
Back to top