Search Options

Results per page
Sort
Preferred Languages
Advance

Results 951 - 960 of 5,326 for Returns (0.04 sec)

  1. android/guava/src/com/google/common/reflect/TypeCapture.java

     * Captures the actual type of {@code T}.
     *
     * @author Ben Yu
     */
    abstract class TypeCapture<T> {
    
      /** Returns the captured type. */
      final Type capture() {
        Type superclass = getClass().getGenericSuperclass();
        checkArgument(superclass instanceof ParameterizedType, "%s isn't parameterized", superclass);
        return ((ParameterizedType) superclass).getActualTypeArguments()[0];
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/util/LogStream.java

            inst = new LogStream(stream);
        }
    
        /**
         * Returns the singleton LogStream instance.
         *
         * @return the LogStream instance
         */
        public static LogStream getInstance() {
            if (inst == null) {
                setInstance(System.err);
            }
            return inst;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ComparisonChain.java

          return this;
        }
    
        @Override
        public ComparisonChain compare(float left, float right) {
          return this;
        }
    
        @Override
        public ComparisonChain compare(double left, double right) {
          return this;
        }
    
        @Override
        public ComparisonChain compareTrueFirst(boolean left, boolean right) {
          return this;
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/cache/CacheBuilder.java

        statsCounterSupplier = CACHE_STATS_COUNTER;
        return this;
      }
    
      boolean isRecordingStats() {
        return statsCounterSupplier == CACHE_STATS_COUNTER;
      }
    
      Supplier<? extends StatsCounter> getStatsCounterSupplier() {
        return statsCounterSupplier;
      }
    
      /**
       * Builds a cache, which either returns an already-loaded value for a given key or atomically
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 51.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/curl/io/ContentOutputStream.java

     * </ul>
     *
     * <p>Methods:</p>
     * <ul>
     *   <li>{@code getFile()} - Marks the file as retrieved and returns the file.</li>
     *   <li>{@code close()} - Closes the stream and deletes the temporary file if it is not needed.</li>
     * </ul>
     */
    public class ContentOutputStream extends DeferredFileOutputStream {
    
        /**
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java

        }
    
        @Test
        @DisplayName("Test readSetupWireFormat returns 0")
        void testReadSetupWireFormat() {
            trans2SetFileInfo = new Trans2SetFileInformation(config, TEST_FID, mockFileInfo);
    
            byte[] buffer = new byte[256];
            int read = trans2SetFileInfo.readSetupWireFormat(buffer, 0, buffer.length);
    
            // Should always return 0
            assertEquals(0, read);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/math/BigIntegerMathBenchmark.java

      private static BigInteger oldSlowFactorial(int n) {
        if (n <= 20) {
          return BigInteger.valueOf(LongMath.factorial(n));
        } else {
          int k = 20;
          return BigInteger.valueOf(LongMath.factorial(k)).multiply(oldSlowFactorial(k, n));
        }
      }
    
      /** Returns the product of {@code n1} exclusive through {@code n2} inclusive. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Defaults.java

          if (type == boolean.class) {
            return (T) Boolean.FALSE;
          } else if (type == char.class) {
            return (T) Character.valueOf('\0');
          } else if (type == byte.class) {
            return (T) Byte.valueOf((byte) 0);
          } else if (type == short.class) {
            return (T) Short.valueOf((short) 0);
          } else if (type == int.class) {
            return (T) Integer.valueOf(0);
          } else if (type == long.class) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  9. cmd/batch-handlers.go

    	TraceVersionID() string
    }
    
    // TraceObjName returns name of object being traced
    func (td ObjectToDelete) TraceObjName() string {
    	return td.ObjectName
    }
    
    // TraceVersionID returns version-id of object being traced
    func (td ObjectToDelete) TraceVersionID() string {
    	return td.VersionID
    }
    
    // TraceObjName returns name of object being traced
    func (oi ObjectInfo) TraceObjName() string {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 63.5K bytes
    - Viewed (0)
  10. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableList.java

      public Object[] toArray() {
        // Note that ArrayList.toArray() doesn't work here because it returns E[]
        // instead of Object[].
        return delegateList().toArray(new Object[size()]);
      }
    
      @Override
      public boolean equals(@Nullable Object obj) {
        return delegateList().equals(obj);
      }
    
      @Override
      public int hashCode() {
        return delegateList().hashCode();
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 2.5K bytes
    - Viewed (0)
Back to top