Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2081 - 2090 of 5,353 for Return (0.14 sec)

  1. android/guava/src/com/google/common/io/Closer.java

       * #close closed}.
       *
       * @return the given {@code closeable}
       */
      // close. this word no longer has any meaning to me.
      @CanIgnoreReturnValue
      @ParametricNullness
      public <C extends @Nullable Closeable> C register(@ParametricNullness C closeable) {
        if (closeable != null) {
          stack.addFirst(closeable);
        }
    
        return closeable;
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/CacheBuilderFactory.java

          return Objects.hash(duration, unit);
        }
    
        @Override
        public boolean equals(@Nullable Object o) {
          if (o instanceof DurationSpec) {
            DurationSpec that = (DurationSpec) o;
            return unit.toNanos(duration) == that.unit.toNanos(that.duration);
          }
          return false;
        }
    
        @Override
        public String toString() {
          return MoreObjects.toStringHelper(this)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/sql/StatementUtil.java

         * @return The result set.
         */
        public static ResultSet getResultSet(final Statement statement) {
            assertArgumentNotNull("statement", statement);
    
            try {
                return statement.getResultSet();
            } catch (final SQLException ex) {
                throw new SQLRuntimeException(ex);
            }
        }
    
        /**
         * Returns the update count.
         *
         * @param statement
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/JdkFutureAdapters.java

          Future<V> future, Executor executor) {
        checkNotNull(executor);
        if (future instanceof ListenableFuture) {
          return (ListenableFuture<V>) future;
        }
        return new ListenableFutureAdapter<>(future, executor);
      }
    
      /**
       * An adapter to turn a {@link Future} into a {@link ListenableFuture}. This will wait on the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/context/CIFSContextCredentialWrapperTest.java

            assertEquals(mockCredentials, wrapper.getCredentials(), "Initial credentials should be set by constructor");
        }
    
        @Test
        @DisplayName("Should return the credentials provided in the constructor")
        void testGetCredentials() {
            assertEquals(mockCredentials, wrapper.getCredentials(), "getCredentials should return the initially set credentials");
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/collect/IteratorBenchmark.java

            sum += array[index].hashCode();
          }
        }
        return sum;
      }
    
      @Benchmark
      int arrayIndexedLength(int reps) {
        int sum = 0;
        for (int i = 0; i < reps; i++) {
          for (int index = 0; index < array.length; index++) {
            sum += array[index].hashCode();
          }
        }
        return sum;
      }
    
      @Benchmark
      int arrayFor(int reps) {
        int sum = 0;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraphEdge.java

         * helper for equals
         */
        private static boolean objectsEqual(Object o1, Object o2) {
            if (o1 == null && o2 == null) {
                return true;
            }
            if (o1 == null || o2 == null) {
                return false; // as they are not both null
            }
            return o1.equals(o2);
        }
    
        // ----------------------------------------------------------------------------
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jan 10 08:42:00 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  8. misc/chrome/gophertool/gopher.js

            return "https://golang.org/cl/" + t;
        }
    
        var match = commitRE.exec(t);
        if (match) {
            return "https://golang.org/change/" + match[1];
        }
    
        if (pkgRE.test(t)) {
            // TODO: make this smarter, using a list of packages + substring matches.
            // Get the list from godoc itself in JSON format?
            return "https://golang.org/pkg/" + t;
        }
    
        return null;
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Sat Jul 11 14:36:33 UTC 2015
    - 1.2K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/TestIntegerSetGenerator.java

      @Override
      public SampleElements<Integer> samples() {
        return new Ints();
      }
    
      @Override
      public Set<Integer> create(Object... elements) {
        Integer[] array = new Integer[elements.length];
        int i = 0;
        for (Object e : elements) {
          array[i++] = (Integer) e;
        }
        return create(array);
      }
    
      protected abstract Set<Integer> create(Integer[] elements);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponse.java

         *
         * @return the info
         */
        public final FileInformation getInfo() {
            return this.info;
        }
    
        /**
         * Gets the file information from the response cast to the specified type.
         *
         * @param <T> the type of file information to return
         * @param type the class of the file information to return
         * @return the info cast to the specified type
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.7K bytes
    - Viewed (0)
Back to top