Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1371 - 1380 of 2,060 for Results (0.06 seconds)

  1. android/guava-tests/test/com/google/common/io/SourceSinkTester.java

        List<Method> result = new ArrayList<>();
        for (Method method : testClass.getDeclaredMethods()) {
          if (Modifier.isPublic(method.getModifiers())
              && method.getReturnType() == void.class
              && method.getParameterTypes().length == 0
              && method.getName().startsWith("test")) {
            result.add(method);
          }
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/ImmutableRangeSet.java

          // racy single-check idiom
          Integer result = size;
          if (result == null) {
            long total = 0;
            for (Range<C> range : ranges) {
              total += ContiguousSet.create(range, domain).size();
              if (total >= Integer.MAX_VALUE) {
                break;
              }
            }
            result = size = Ints.saturatedCast(total);
          }
          return result;
        }
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 27.4K bytes
    - Click Count (0)
  3. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilder.java

                return toolchains;
            }
    
            PersistedToolchains result;
            try {
                Map<String, ?> options = Collections.singletonMap(ToolchainsReader.IS_STRICT, Boolean.FALSE);
    
                result = toolchainsReader.read(new StringReader(serializedToolchains), options);
            } catch (IOException e) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Mar 05 09:37:42 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  4. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

         * @param v1 sources producer for V1, receiver is the `src/main` directory
         * @param v2 sources producer for V2, receiver is the `src/main` directory
         * @param block convenience block invoked on the result
         * @return the check result
         */
        private
        fun runBinaryCompatibilityCheck(v1: File.() -> Unit, v2: File.() -> Unit, block: CheckResult.() -> Unit = {}): CheckResult {
            rootDir.withFile("version.txt", "1.0")
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Jan 19 11:30:48 GMT 2026
    - 18.3K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessTimeResourceProviderTest.java

        }
    
        // Test toString method
        @Test
        public void test_toString() {
            String result = provider.toString();
            assertNotNull(result);
            assertTrue(result.length() > 0);
            // Check that it contains class name or relevant info
            assertTrue(result.contains("FessTimeResourceProvider") || result.contains("adjustTimeMillis"));
        }
    
        // Test multiple provider instances
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17.8K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/util/concurrent/ReflectionFreeAssertThrows.java

              expectedThrowable
                  + " is not yet supported by ReflectionFreeAssertThrows. Add an entry for it in the"
                  + " map in that class.");
        }
        Object result;
        try {
          result = supplier.get();
        } catch (Throwable t) {
          if (predicate.apply(t)) {
            // We are careful to set up INSTANCE_OF to match each Predicate to its target Class.
            @SuppressWarnings("unchecked")
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 7K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/core/beans/MethodDesc.java

        Class<?> getValueClassOfMap();
    
        /**
         * Invokes the method and returns its result.
         *
         * @param <T>
         *            the return type of the method
         * @param target
         *            the target object. Must not be {@literal null}
         * @param args
         *            the method arguments
         * @return the result of the method
         */
        <T> T invoke(Object target, Object... args);
    
        /**
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/app/job/ScriptExecutorJobTest.java

            @Override
            public boolean isExecutingNow() {
                return false;
            }
    
            @Override
            public <RESULT> OptionalThing<RESULT> mapExecutingNow(
                    final java.util.function.Function<org.lastaflute.job.subsidiary.SnapshotExecState, RESULT> oneArgLambda) {
                return OptionalThing.empty();
            }
    
            @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 13.7K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java

            securityDescriptor.decode(testBuffer, 0, testBuffer.length);
    
            String result = securityDescriptor.toString();
            assertNotNull(result);
            assertTrue(result.startsWith("SecurityDescriptor:"));
            assertFalse(result.contains("NULL"));
        }
    
        @Test
        @DisplayName("Test toString without ACEs")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  10. guava/src/com/google/common/base/AbstractIterator.java

          throw new NoSuchElementException();
        }
        state = State.NOT_READY;
        // Safe because hasNext() ensures that tryToComputeNext() has put a T into `next`.
        T result = uncheckedCastNullableTToT(next);
        next = null;
        return result;
      }
    
      @Override
      public final void remove() {
        throw new UnsupportedOperationException();
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.4K bytes
    - Click Count (0)
Back to Top