Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 112 for 12346 (0.02 sec)

  1. guava-tests/test/com/google/common/collect/OrderingTest.java

        List<Integer> list = asList(4, 2, 3, 5, 1);
        assertEquals(
            asList(1, 2, 3, 4, 5), Ordering.<Integer>natural().leastOf(list, Integer.MAX_VALUE));
      }
    
      public void testLeastOfIteratorLargeK() {
        List<Integer> list = asList(4, 2, 3, 5, 1);
        assertEquals(
            asList(1, 2, 3, 4, 5),
            Ordering.<Integer>natural().leastOf(list.iterator(), Integer.MAX_VALUE));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/ws/WebSocketWriterTest.kt

        serverWriter.writeMessageFrame(OPCODE_TEXT, payload)
        assertData("8105")
        assertData(payload)
      }
    
      @Test fun serverLargeBufferedPayloadWrittenAsOneFrame() {
        val length = 12345
        val payload: ByteString = (binaryData(length))
        serverWriter.writeMessageFrame(OPCODE_TEXT, payload)
        assertData("817e")
        assertData(format("%04x", length))
        assertData(payload)
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/base/JoinerTest.java

        assertEquals("a:00;00:b", j.useForNull("00").join(mapWithNulls));
    
        StringBuilder sb = new StringBuilder();
        j.appendTo(sb, ImmutableMap.of(1, 2, 3, 4, 5, 6));
        assertEquals("1:2;3:4;5:6", sb.toString());
      }
    
      public void testEntries() {
        MapJoiner j = Joiner.on(";").withKeyValueSeparator(":");
        assertEquals("", j.join(ImmutableMultimap.of().entries()));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/CharSequenceReaderTest.java

        assertEquals(string.substring(5), readFully(reader));
        assertFullyRead(reader);
      }
    
      public void testIllegalArguments() throws IOException {
        CharSequenceReader reader = new CharSequenceReader("12345");
    
        char[] buf = new char[10];
        assertThrows(IndexOutOfBoundsException.class, () -> reader.read(buf, 0, 11));
    
        assertThrows(IndexOutOfBoundsException.class, () -> reader.read(buf, 10, 1));
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  5. src/main/webapp/WEB-INF/fe.tld

        <name>formatDuration</name>
        <function-class>org.codelibs.fess.taglib.FessFunctions</function-class>
        <function-signature>java.lang.String formatDuration(long)</function-signature>
        <example>
          ${fe:formatDuration(1234)}
        </example>
      </function>
    
      <function>
        <description>
          Returns formatted date from a given value.
        </description>
        <name>formatDate</name>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Dec 23 06:18:48 UTC 2023
    - 10K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/GeneralRangeTest.java

      private static final Ordering<@Nullable Integer> ORDERING =
          Ordering.<Integer>natural().<Integer>nullsFirst();
    
      private static final List<@Nullable Integer> IN_ORDER_VALUES = asList(null, 1, 2, 3, 4, 5);
    
      public void testCreateEmptyRangeFails() {
        for (BoundType lboundType : BoundType.values()) {
          for (BoundType uboundType : BoundType.values()) {
            assertThrows(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  7. src/archive/tar/reader_test.go

    		wantErr: ErrHeader,
    	}, {
    		input:    makeInput(FormatGNU, "1234", "fewa"),
    		wantSize: 01234,
    		wantErr:  ErrHeader,
    	}, {
    		input:    makeInput(FormatGNU, "0031"),
    		wantSize: 031,
    	}, {
    		input:   makeInput(FormatGNU, "80"),
    		wantErr: ErrHeader,
    	}, {
    		input: makeInput(FormatGNU, "1234",
    			makeSparseStrings(sparseDatas{{0, 0}, {1, 1}})...),
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 03 15:48:09 UTC 2024
    - 46.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/tests/WatchTest.java

                    cr.createNewFile();
                    setupWatch(w);
                    try ( OutputStream os = cr.getOutputStream() ) {
                        os.write(new byte[] {
                            1, 2, 3, 4
                        });
                    }
                    assertNotified(w, FileNotifyInformation.FILE_ACTION_MODIFIED, "modified", null);
                }
            }
            catch ( TimeoutException e ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.4K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/CrawlingConfigHelperTest.java

            assertEquals("dp", crawlingConfigHelper.getPipeline("D1P").get());
        }
    
        public void test_sessionCountId() {
            final String sessionId = "12345";
            final String sessionCountId = sessionId + "-1";
            assertNull(crawlingConfigHelper.get(sessionCountId));
            crawlingConfigHelper.store(sessionId, crawlingConfigHelper.getCrawlingConfig("W1"));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Verify.java

     * whenever there is a chance the check may fail "in real life". Example:
     *
     * <pre>{@code
     * Bill bill = remoteService.getLastUnpaidBill();
     *
     * // In case bug 12345 happens again we'd rather just die
     * Verify.verify(bill.status() == Status.UNPAID,
     *     "Unexpected bill status: %s", bill.status());
     * }</pre>
     *
     * <h3>Comparison to alternatives</h3>
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon May 17 14:07:47 UTC 2021
    - 18.5K bytes
    - Viewed (0)
Back to top