Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 3,211 for void (0.21 sec)

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

      private static final byte[] VALUES = {Byte.MIN_VALUE, -1, 0, 1, Byte.MAX_VALUE};
    
      public void testHashCode() {
        for (byte value : VALUES) {
          assertThat(Bytes.hashCode(value)).isEqualTo(((Byte) value).hashCode());
        }
      }
    
      public void testContains() {
        assertThat(Bytes.contains(EMPTY, (byte) 1)).isFalse();
        assertThat(Bytes.contains(ARRAY1, (byte) 2)).isFalse();
    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)
  2. android/guava-tests/test/com/google/common/io/ByteStreamsTest.java

      }
    
      private static void skipHelper(long n, int expect, InputStream in) throws IOException {
        ByteStreams.skipFully(in, n);
        assertEquals(expect, in.read());
        in.close();
      }
    
      private static final byte[] bytes = new byte[] {0x12, 0x34, 0x56, 0x78, 0x76, 0x54, 0x32, 0x10};
    
      public void testNewDataInput_empty() {
        byte[] b = new byte[0];
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/IterablesTest.java

      public void testGet_sortedSet() {
        testGetOnAbc(ImmutableSortedSet.of("b", "c", "a"));
      }
    
      public void testGet_emptySortedSet() {
        testGetOnEmpty(ImmutableSortedSet.<String>of());
      }
    
      public void testGet_iterable() {
        testGetOnAbc(ImmutableSet.of("a", "b", "c"));
      }
    
      public void testGet_emptyIterable() {
        testGetOnEmpty(Sets.<String>newHashSet());
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 47.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/graph/AbstractStandardDirectedGraphTest.java

      }
    
      @Test
      public void predecessors_oneEdge() {
        putEdge(N1, N2);
        assertThat(graph.predecessors(N2)).containsExactly(N1);
        // Edge direction handled correctly
        assertThat(graph.predecessors(N1)).isEmpty();
      }
    
      @Test
      public void successors_oneEdge() {
        putEdge(N1, N2);
        assertThat(graph.successors(N1)).containsExactly(N2);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java

      }
    
      public void testParse_maximumWeightRepeated() {
        assertThrows(IllegalArgumentException.class, () -> parse("maximumWeight=10, maximumWeight=20"));
      }
    
      public void testParse_maximumSizeAndMaximumWeight() {
        assertThrows(IllegalArgumentException.class, () -> parse("maximumSize=10, maximumWeight=20"));
      }
    
      public void testParse_concurrencyLevel() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 19.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/user/cbean/ca/bs/BsRoleCA.java

            if (opLambda != null) {
                opLambda.callback(builder);
            }
        }
    
        public void setName_Terms() {
            setName_Terms(null);
        }
    
        public void setName_Terms(ConditionOptionCall<TermsAggregationBuilder> opLambda) {
            setName_Terms("name", opLambda, null);
        }
    
        public void setName_Terms(ConditionOptionCall<TermsAggregationBuilder> opLambda, OperatorCall<BsRoleCA> aggsLambda) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ObjectArraysTest.java

      }
    
      public void testPrependTwoElements() {
        String[] result = ObjectArrays.concat("foo", new String[] {"bar", "baz"});
        assertThat(result).asList().containsExactly("foo", "bar", "baz").inOrder();
      }
    
      public void testAppendZeroElements() {
        String[] result = ObjectArrays.concat(new String[] {}, "foo");
        assertThat(result).asList().contains("foo");
      }
    
      public void testAppendOneElement() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 8.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

      }
    
      public void testSubmit_runnable_throwsException() throws Exception {
        final RuntimeException exception = new RuntimeException("Exception for testing");
        Runnable runnable =
            new Runnable() {
              @Override
              public void run() {
                throw exception;
              }
            };
        ListenableFuture<@Nullable Void> future = submit(runnable, directExecutor());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java

      // retainAll(empty)
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(ZERO)
      public void testRetainAll_emptyPreviouslyEmpty() {
        expectReturnsFalse(empty);
        expectUnchanged();
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
      @CollectionSize.Require(ZERO)
      public void testRetainAll_emptyPreviouslyEmptyUnsupported() {
        expectReturnsFalseOrThrows(empty);
        expectUnchanged();
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

        }
    
        @Override
        protected void doStart() {
          new Thread() {
            @Override
            public void run() {
              Uninterruptibles.sleepUninterruptibly(delay, TimeUnit.MILLISECONDS);
              notifyStarted();
            }
          }.start();
        }
    
        @Override
        protected void doStop() {
          new Thread() {
            @Override
            public void run() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 02 17:20:27 GMT 2023
    - 23.2K bytes
    - Viewed (0)
Back to top