Search Options

Results per page
Sort
Preferred Languages
Advance

Results 951 - 960 of 1,912 for method (0.11 sec)

  1. guava/src/com/google/common/util/concurrent/SequentialExecutor.java

      }
    
      /**
       * Adds a task to the queue and makes sure a worker thread is running.
       *
       * <p>If this method throws, e.g. a {@code RejectedExecutionException} from the delegate executor,
       * execution of tasks will stop until a call to this method is made.
       */
      @Override
      public void execute(Runnable task) {
        checkNotNull(task);
        Runnable submittedTask;
        long oldRunCount;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  2. internal/ioutil/ioutil.go

    	return &LimitWriter{w, skipBytes, limit}
    }
    
    type nopCloser struct {
    	io.Writer
    }
    
    func (nopCloser) Close() error { return nil }
    
    // NopCloser returns a WriteCloser with a no-op Close method wrapping
    // the provided Writer w.
    func NopCloser(w io.Writer) io.WriteCloser {
    	return nopCloser{w}
    }
    
    const copyBufferSize = 32 * 1024
    
    var copyBufPool = sync.Pool{
    	New: func() interface{} {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 26 12:55:01 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/Hexdump.java

            '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F'
        };
    
    
        /**
         * This is an alternative to the <code>java.lang.Integer.toHexString</code>
         * method. It is an efficient relative that also will pad the left side so
         * that the result is <code>size</code> digits.
         * 
         * @param val
         * @param size
         * @return hex string
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/Flushables.java

       * log it.
       *
       * @param flushable the {@code Flushable} object to be flushed.
       * @param swallowIOException if true, don't propagate IO exceptions thrown by the {@code flush}
       *     method
       * @throws IOException if {@code swallowIOException} is false and {@link Flushable#flush} throws
       *     an {@code IOException}.
       * @see Closeables#close
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Hashing.java

       * enough precision.
       */
      private static final long C1 = 0xcc9e2d51;
      private static final long C2 = 0x1b873593;
    
      /*
       * This method was rewritten in Java from an intermediate step of the Murmur hash function in
       * http://code.google.com/p/smhasher/source/browse/trunk/MurmurHash3.cpp, which contained the
       * following header:
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

        }
    
        ///// CycleDetectingLock methods. /////
    
        @Override
        public LockGraphNode getLockGraphNode() {
          return lockGraphNode;
        }
    
        @Override
        public boolean isAcquiredByCurrentThread() {
          return isHeldByCurrentThread();
        }
    
        ///// Overridden ReentrantLock methods. /////
    
        @Override
        public void lock() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 35.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/graph/PackageSanityTests.java

      }
    
      @Override
      public void testNulls() throws Exception {
        try {
          super.testNulls();
        } catch (AssertionError e) {
          assertWithMessage("Method did not throw null pointer OR element not in graph exception.")
              .that(e)
              .hasCauseThat()
              .hasMessageThat()
              .contains(ERROR_ELEMENT_NOT_IN_GRAPH);
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/RepositoryMetadata.java

    import org.apache.maven.artifact.repository.ArtifactRepository;
    import org.apache.maven.artifact.repository.ArtifactRepositoryPolicy;
    
    /**
     * Describes repository directory metadata.
     *
     * TODO not happy about the store method - they use "this"
     */
    @Deprecated
    public interface RepositoryMetadata extends org.apache.maven.artifact.metadata.ArtifactMetadata {
    
        int RELEASE = 1;
    
        int SNAPSHOT = 2;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/eventspy/EventSpy.java

     * property {@code maven.ext.class.path} on the command line. As soon as dependency injection is set up, Maven
     * looks up all implementers of this interface and calls their {@link #init(Context)} method. Note:
     * Implementors are strongly advised to inherit from {@link AbstractEventSpy} instead of directly implementing this
     * interface.
     * @since 3.0.2
     */
    public interface EventSpy {
        /**
         * Context
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. docs/changelogs/changelog_3x.md

        call.
    
        Create duplex calls by overriding the new `RequestBody.isDuplex()` method to return true.
        This simple option dramatically changes the behavior of the request body and of the entire
        call.
    
        The `RequestBody.writeTo()` method may now retain a reference to the provided sink and
        hand it off to another thread to write to it after `writeTo` returns.
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
Back to top