Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 135 for 100000 (0.21 sec)

  1. src/test/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGeneratorTest.java

                }
                assertImageSize(outputFile, 100, 100);
    
                imagePath = "thumbnail/400x400.gif";
                try (ImageInputStream input = ImageIO.createImageInputStream(classLoader.getResourceAsStream(imagePath))) {
                    generator.saveImage(input, outputFile);
                }
                assertImageSize(outputFile, 100, 100);
    
                imagePath = "thumbnail/400x400.jpg";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java

            // Prepare test data that might cause overflow in naive implementations
            byte[] buffer = new byte[22];
            int idFileSystem = 0;
            int sectPerAlloc = 1000;
            int alloc = 1000000; // Large allocation count
            int free = 500000;
            int bytesPerSect = 4096;
    
            // Encode test data
            int offset = 0;
            SMBUtil.writeInt4(idFileSystem, buffer, offset);
            offset += 4;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  3. okhttp-tls/src/test/java/okhttp3/tls/HeldCertificateTest.kt

        val heldCertificate =
          HeldCertificate
            .Builder()
            .validityInterval(5000L, 10000L)
            .build()
        val certificate = heldCertificate.certificate
        assertThat(certificate.notBefore.time).isEqualTo(5000L)
        assertThat(certificate.notAfter.time).isEqualTo(10000L)
      }
    
      @Test
      fun customDuration() {
        val now = System.currentTimeMillis()
        val heldCertificate =
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java

            // sectPerAlloc (4 bytes)
            SMBUtil.writeInt4(8, buffer, offset);
            offset += 4;
    
            // alloc (4 bytes)
            SMBUtil.writeInt4(1000000, buffer, offset);
            offset += 4;
    
            // free (4 bytes)
            SMBUtil.writeInt4(500000, buffer, offset);
            offset += 4;
    
            // bytesPerSect (2 bytes + 2 padding)
            SMBUtil.writeInt2(512, buffer, offset);
            offset += 4;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache2/FileOperatorTest.kt

      fun largeRead() {
        val data = randomByteString(1000000)
        write(data)
        val operator =
          FileOperator(
            randomAccessFile!!.getChannel(),
          )
        val buffer = Buffer()
        operator.read(0, buffer, data.size.toLong())
        assertThat(buffer.readByteString()).isEqualTo(data)
      }
    
      @Test
      fun largeWrite() {
        val data = randomByteString(1000000)
        val operator =
          FileOperator(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/util/SMBUtilTest.java

            long[] testTimes = { 0L, 1000L, 1500000000000L };
            byte[] buffer = new byte[4];
    
            for (long time : testTimes) {
                SMBUtil.writeUTime(time, buffer, 0);
                long readTime = SMBUtil.readUTime(buffer, 0);
    
                // Account for precision loss (milliseconds to seconds conversion)
                assertEquals((time / 1000L) * 1000L, readTime);
            }
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/taglib/FessFunctionsTest.java

            assertEquals("1,000", FessFunctions.formatNumber(1000, "###,###"));
            assertEquals("1,000,000", FessFunctions.formatNumber(1000000, "###,###"));
        }
    
        public void test_formatFileSize() {
            assertEquals("0", FessFunctions.formatFileSize(0));
            assertEquals("1000", FessFunctions.formatFileSize(1000));
            assertEquals("976.6K", FessFunctions.formatFileSize(1000000));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  8. cmd/erasure-encode_test.go

    	b.Run(" 000000|X00000 ", func(b *testing.B) { benchmarkErasureEncode(6, 6, 0, 1, size, b) })
    	b.Run(" X00000|000000 ", func(b *testing.B) { benchmarkErasureEncode(6, 6, 1, 0, size, b) })
    	b.Run(" 000000|XXXXX0 ", func(b *testing.B) { benchmarkErasureEncode(6, 6, 0, 5, size, b) })
    	b.Run(" XXXXX0|000000 ", func(b *testing.B) { benchmarkErasureEncode(6, 6, 5, 0, size, b) })
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/util/SMBUtil.java

            final int low = readInt4(src, srcIndex);
            final int hi = readInt4(src, srcIndex + 4);
            long t = (long) hi << 32L | low & 0xFFFFFFFFL;
            return t / 10000L - SmbConstants.MILLISECONDS_BETWEEN_1970_AND_1601;
        }
    
        /**
         * Writes a Java time value as a Windows FILETIME
         * @param t the time value in milliseconds since January 1, 1970 UTC
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8K bytes
    - Viewed (0)
  10. cmd/metrics-resource.go

    				if hm.CPU.CPUCount > 0 {
    					perc := math.Round(ls.Load1*100*100/float64(hm.CPU.CPUCount)) / 100
    					updateResourceMetrics(cpuSubsystem, cpuLoad1Perc, perc, labels, false)
    					perc = math.Round(ls.Load5*100*100/float64(hm.CPU.CPUCount)) / 100
    					updateResourceMetrics(cpuSubsystem, cpuLoad5Perc, perc, labels, false)
    					perc = math.Round(ls.Load15*100*100/float64(hm.CPU.CPUCount)) / 100
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 17.2K bytes
    - Viewed (0)
Back to top