Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 696 for lang_th (0.06 sec)

  1. src/test/java/jcifs/netbios/LmhostsTest.java

                            int offset = inv.getArgument(1);
                            int length = inv.getArgument(2);
                            int remaining = includeContent.length - index[0];
                            if (remaining <= 0) {
                                return -1;
                            }
                            int toRead = Math.min(length, remaining);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/timer/MonitorTargetTest.java

            assertTrue(result.endsWith("\""));
            // Verify a timestamp was properly formatted
            assertNotNull(result);
            assertTrue(result.length() > "\"timestamp\":\"\"".length());
        }
    
        // Test appendException method with simple exception
        public void test_appendException_simpleException() {
            StringBuilder buf = new StringBuilder();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/idn/IdnaMappingTableTest.kt

        assertThat(compactTable.sections.length).isLessThan(1 shl 14)
    
        // Less than 65,536 bytes, because we binary search on a 14-bit index with a stride of 4 bytes.
        assertThat(compactTable.ranges.length).isLessThan((1 shl 14) * 4)
    
        // Less than 16,384 chars, because we index on a 14-bit index in the ranges table.
        assertThat(compactTable.mappings.length).isLessThan(1 shl 14)
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/toolchain/DefaultToolchainManagerTest.java

            // execute
            ToolchainPrivate[] toolchains = toolchainManager.getToolchainsForType("basic", session);
    
            // verify
            verify(logger, never()).error(anyString());
            assertEquals(1, toolchains.length);
        }
    
        @Test
        void testToolchainsForUnknownType() throws Exception {
            // prepare
            MavenSession session = mock(MavenSession.class);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 11K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/OneSizeGenerator.java

        return generator.samples();
      }
    
      @Override
      public T create(Object... elements) {
        return generator.create(elements);
      }
    
      @Override
      public E[] createArray(int length) {
        return generator.createArray(length);
      }
    
      @Override
      public T createTestSubject() {
        Collection<E> elements = getSampleElements(getCollectionSize().getNumElements());
        return generator.create(elements.toArray());
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/beans/impl/ConstructorDescTest.java

            assertThat(ctor.getBeanDesc(), is(sameInstance(beanDesc)));
            assertThat(ctor.getConstructor(), is((Constructor) MyBean.class.getConstructor()));
            assertThat(ctor.getParameterTypes().length, is(0));
            assertThat(ctor.isPublic(), is(true));
            final MyBean myBean = ctor.newInstance();
            assertThat(myBean, is(notNullValue()));
            assertThat(myBean.s, is(nullValue()));
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  7. api/maven-api-core/src/test/java/org/apache/maven/api/JavaPathTypeTest.java

        /**
         * Tests the formatting of an option without module name.
         */
        @Test
        public void testOption() {
            String[] formatted = JavaPathType.MODULES.option(paths());
            assertEquals(2, formatted.length);
            assertEquals("--module-path", formatted[0]);
            assertEquals(toPlatformSpecific("\"src/foo.java:src/bar.java\""), formatted[1]);
        }
    
        /**
         * Tests the formatting of an option with a module name.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jun 26 07:56:58 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  8. samples/guide/src/main/java/okhttp3/recipes/kt/UploadProgress.kt

              } else {
                if (firstUpdate) {
                  firstUpdate = false
                  if (contentLength == -1L) {
                    println("content-length: unknown")
                  } else {
                    println("content-length: $contentLength")
                  }
                }
                println(bytesWritten)
                if (contentLength != -1L) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/CollectionTestSuiteBuilder.java

        @Override
        public Collection<E> create(Object... elements) {
          return SerializableTester.reserialize(gen.create(elements));
        }
    
        @Override
        public E[] createArray(int length) {
          return gen.createArray(length);
        }
    
        @Override
        public Iterable<E> order(List<E> insertionOrder) {
          return gen.order(insertionOrder);
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/io/CharStreams.java

        public void write(char[] cbuf, int off, int len) {
          checkPositionIndexes(off, off + len, cbuf.length);
        }
    
        @Override
        public void write(String str) {
          checkNotNull(str);
        }
    
        @Override
        public void write(String str, int off, int len) {
          checkPositionIndexes(off, off + len, str.length());
        }
    
        @Override
        public Writer append(@Nullable CharSequence csq) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 30 17:25:01 UTC 2025
    - 10.9K bytes
    - Viewed (0)
Back to top