Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 296 for 500 (0.01 seconds)

  1. src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java

            byte[] largeData = new byte[500];
            for (int i = 0; i < largeData.length; i++) {
                largeData[i] = (byte) (i % 256);
            }
            cos.write(largeData);
            assertFalse(cos.isInMemory());
            File file = cos.getFile();
            assertTrue(file.exists());
            assertEquals(500, file.length());
            cos.close();
        }
    
        @Test
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 12:00:34 GMT 2026
    - 11.7K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        assertTrue("Heap is not intact after remove", mmHeap.isIntact());
        assertEquals((Integer) 10, it.next());
        assertEquals((Integer) 3, it.next());
        it.remove();
        // After this remove, 400 moved down again and 500 up past the cursor
        assertTrue("Heap is not intact after remove", mmHeap.isIntact());
        assertEquals((Integer) 12, it.next());
        assertEquals((Integer) 30, it.next());
        assertEquals((Integer) 40, it.next());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 36.2K bytes
    - Click Count (0)
  3. tests/hooks_test.go

    	result.Name += "_clone"
    	AssertObjEqual(t, result, resultClone, "Price", "Name")
    
    	DB.Model(&result).Update("Price", 500)
    	var result2 Product2
    	DB.First(&result2, "name = ?", "Nice")
    
    	if result2.Price != 500 {
    		t.Errorf("Failed to update product's price, expects: %v, got %v", 500, result2.Price)
    	}
    
    	product3 := Product2{Name: "Nice2", Price: 600, Owner: "admin"}
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Jun 17 03:59:06 GMT 2024
    - 16.7K bytes
    - Click Count (0)
  4. .teamcity/scripts/CheckBadMerge.java

            }
    
            private static String summarize(String s) {
                if (s == null) return "null";
                String t = s.replace("\n", "\\n");
                if (t.length() > 500) {
                    return t.substring(0, 500) + "...(truncated)";
                }
                return t;
            }
        }
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 30 16:25:09 GMT 2026
    - 9K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        assertTrue("Heap is not intact after remove", mmHeap.isIntact());
        assertEquals((Integer) 10, it.next());
        assertEquals((Integer) 3, it.next());
        it.remove();
        // After this remove, 400 moved down again and 500 up past the cursor
        assertTrue("Heap is not intact after remove", mmHeap.isIntact());
        assertEquals((Integer) 12, it.next());
        assertEquals((Integer) 30, it.next());
        assertEquals((Integer) 40, it.next());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 36.2K bytes
    - Click Count (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/Constants.java

         */
        public static final int NOT_FOUND_STATUS_CODE = 404;
    
        /**
         * The HTTP status code for Server Error.
         */
        public static final int SERVER_ERROR_STATUS_CODE = 500;
    
        /**
         * A constant for no transformer.
         */
        public static final String NO_TRANSFORMER = "NONE";
    
        /**
         * A constant for "false".
         */
        public static final String FALSE = "false";
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Jul 06 02:13:03 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java

            transaction.setMaxSetupCount((byte) 3);
            transaction.setTotalParameterCount(500);
            transaction.setTotalDataCount(1000);
            transaction.setMaxParameterCount(2048);
            transaction.setMaxDataCountForTest(4096);
            transaction.setParameterCount(250);
            transaction.setParameterOffset(150);
            transaction.setDataCount(500);
            transaction.setDataOffset(400);
            transaction.setSetupCount(2);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.1K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/helper/CrawlerStatsHelperTest.java

            crawlerStatsHelper.setLoggerName(originalLoggerName);
        }
    
        @Test
        public void test_setMaxCacheSize() {
            crawlerStatsHelper.setMaxCacheSize(500);
            assertEquals(500, crawlerStatsHelper.maxCacheSize);
        }
    
        @Test
        public void test_setCacheExpireAfterWrite() {
            crawlerStatsHelper.setCacheExpireAfterWrite(30000);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 15.3K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt

      }
    
      @Test
      fun fullCallTimeoutAppliesToSetup() {
        enableProtocol(Protocol.HTTP_2)
        server.enqueue(
          MockResponse
            .Builder()
            .headersDelay(500, TimeUnit.MILLISECONDS)
            .build(),
        )
        val request =
          Request
            .Builder()
            .url(server.url("/"))
            .post(AsyncRequestBody())
            .build()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 25.8K bytes
    - Click Count (0)
  10. guava-tests/benchmark/com/google/common/util/concurrent/SingleThreadAbstractFutureBenchmark.java

      }
    
      @Benchmark
      public long timeGetWithSmallTimeout(long reps) throws Exception {
        Facade<?> f = notDoneFuture;
        long r = 0;
        for (int i = 0; i < reps; i++) {
          try {
            f.get(500, NANOSECONDS);
            r += 1;
          } catch (TimeoutException e) {
            r += 2;
          }
        }
        return r;
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 3.7K bytes
    - Click Count (0)
Back to Top