Search Options

Results per page
Sort
Preferred Languages
Advance

Results 951 - 960 of 5,397 for returns (0.22 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. android/guava-testlib/src/com/google/common/collect/testing/testers/ListHashCodeTester.java

            getList().hashCode());
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testHashCode()} so that list tests on
       * unhashable objects can suppress it with {@code FeatureSpecificTestSuiteBuilder.suppressing()}.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getHashCodeMethod() {
        return getMethod(ListHashCodeTester.class, "testHashCode");
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/CountingOutputStream.java

       *
       * @param out the output stream to be wrapped
       */
      public CountingOutputStream(OutputStream out) {
        super(checkNotNull(out));
      }
    
      /** Returns the number of bytes written. */
      public long getCount() {
        return count;
      }
    
      @Override
      public void write(byte[] b, int off, int len) throws IOException {
        out.write(b, off, len);
        count += len;
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. 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)
  5. src/main/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImpl.java

            }
        }
    
        /**
         * Returns the total number of documents processed.
         *
         * @return the number of documents processed
         */
        @Override
        public long getDocumentSize() {
            return documentSize.get();
        }
    
        /**
         * Returns the total execution time for all operations.
         *
         * @return the total execution time in milliseconds
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  6. buildscripts/gen-ldflags.go

    	if err != nil {
    		panic(err)
    	}
    	relTag = strings.Replace(relTag, ",", "", -1)
    	relTag = relPrefix + "." + relTag
    	if relSuffix != "" {
    		relTag += "." + relSuffix
    	}
    
    	return relTag, t
    }
    
    // commitID returns the abbreviated commit-id hash of the last commit.
    func commitID() string {
    	// git log --format="%H" -n1
    	var (
    		commit []byte
    		err    error
    	)
    	cmdName := "git"
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Jun 16 23:10:48 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/TrailersSource.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    import okio.IOException
    
    /**
     * Returns the trailers that follow an HTTP response, blocking if they aren't ready yet.
     * Implementations of this interface should respond to [Call.cancel] by immediately throwing an
     * [IOException].
     *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 18:57:05 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  8. 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)
  9. cmd/storage-datatypes_gen.go

    				err = msgp.WrapError(err, "FilePath")
    				return
    			}
    		case "fi":
    			bts, err = z.FI.UnmarshalMsg(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "FI")
    				return
    			}
    		default:
    			bts, err = msgp.Skip(bts)
    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	o = bts
    	return
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Apr 25 05:41:04 UTC 2025
    - 152K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/dtyp/ACETest.java

            sb = new StringBuffer();
            ace.appendCol(sb, "longer string", 5);
            assertEquals("longer string", sb.toString());
        }
    
        @Test
        @DisplayName("Test getFlags returns correct value")
        void testGetFlags() {
            ace.flags = 0x00;
            assertEquals(0x00, ace.getFlags());
    
            ace.flags = 0xFF;
            assertEquals(0xFF, ace.getFlags());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.6K bytes
    - Viewed (0)
Back to top