Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 5,898 for publish (0.21 sec)

  1. guava-tests/test/com/google/common/primitives/CharArrayAsListTest.java

      // Test generators.  To let the GWT test suite generator access them, they need to be
      // public named classes with a public default constructor.
    
      public static final class CharsAsListGenerator extends TestCharListGenerator {
        @Override
        protected List<Character> create(Character[] elements) {
          return asList(elements);
        }
      }
    
      public static final class CharsAsListHeadSubListGenerator extends TestCharListGenerator {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 5.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/DoubleArrayAsListTest.java

      // Test generators.  To let the GWT test suite generator access them, they need to be
      // public named classes with a public default constructor.
    
      public static final class DoublesAsListGenerator extends TestDoubleListGenerator {
        @Override
        protected List<Double> create(Double[] elements) {
          return asList(elements);
        }
      }
    
      public static final class DoublesAsListHeadSubListGenerator extends TestDoubleListGenerator {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/CharArrayAsListTest.java

      // Test generators.  To let the GWT test suite generator access them, they need to be
      // public named classes with a public default constructor.
    
      public static final class CharsAsListGenerator extends TestCharListGenerator {
        @Override
        protected List<Character> create(Character[] elements) {
          return asList(elements);
        }
      }
    
      public static final class CharsAsListHeadSubListGenerator extends TestCharListGenerator {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 5.7K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/SetCreationTester.java

        collection = getSubjectGenerator().create(array);
    
        List<E> expectedWithDuplicateRemoved = Arrays.asList(array).subList(1, getNumElements());
        expectContents(expectedWithDuplicateRemoved);
      }
    
      @CollectionFeature.Require(absent = REJECTS_DUPLICATES_AT_CREATION)
      @CollectionSize.Require(absent = {ZERO, ONE})
      public void testCreateWithDuplicates_nonNullDuplicatesNotRejected() {
        E[] array = createSamplesArray();
        array[1] = e0();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 3.5K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java

      @CollectionSize.Require(ONE)
      public void testSingletonSetPollLast() {
        assertEquals(a, navigableSet.pollLast());
        assertTrue(navigableSet.isEmpty());
      }
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(SEVERAL)
      public void testPollFirst() {
        assertEquals(a, navigableSet.pollFirst());
        assertEquals(values.subList(1, values.size()), Helpers.copyToList(navigableSet));
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/primitives/BytesTest.java

      // This test stems from a real bug found by andrewk
      public void testAsList_subList_toArray_roundTrip() {
        byte[] array = {(byte) 0, (byte) 1, (byte) 2, (byte) 3};
        List<Byte> list = Bytes.asList(array);
        assertThat(Bytes.toArray(list.subList(1, 3))).isEqualTo(new byte[] {(byte) 1, (byte) 2});
        assertThat(Bytes.toArray(list.subList(2, 2))).isEqualTo(new byte[] {});
      }
    
      public void testAsListEmpty() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/pac/PacGroup.java

     * License as published by the Free Software Foundation; either
     * version 2.1 of the License, or (at your option) any later version.
     * 
     * This library is distributed in the hope that it will be useful,
     * but WITHOUT ANY WARRANTY; without even the implied warranty of
     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     * Lesser General Public License for more details.
     * 
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/util/transport/ConnectionTimeoutException.java

     * License as published by the Free Software Foundation; either
     * version 2.1 of the License, or (at your option) any later version.
     * 
     * This library is distributed in the hope that it will be useful,
     * but WITHOUT ANY WARRANTY; without even the implied warranty of
     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     * Lesser General Public License for more details.
     * 
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

    @GwtCompatible(emulated = true)
    public class ImmutableLongArrayTest extends TestCase {
      // Test all creation paths very lazily: by assuming asList() works
    
      public void testOf0() {
        assertThat(ImmutableLongArray.of().asList()).isEmpty();
      }
    
      public void testOf1() {
        assertThat(ImmutableLongArray.of(0).asList()).containsExactly(0L);
      }
    
      public void testOf2() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 19K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/ndr/NdrHyper.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb1.dcerpc.ndr;
    
    public class NdrHyper extends NdrObject {
    
        public long value;
    
        public NdrHyper(long value) {
            this.value = value;
        }
    
        public void encode(NdrBuffer dst) throws NdrException {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 1.3K bytes
    - Viewed (0)
Back to top