Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2211 - 2220 of 5,478 for newA (0.12 seconds)

  1. android/guava-tests/test/com/google/common/collect/LegacyComparable.java

    @GwtCompatible
    @NullMarked
    class LegacyComparable implements Comparable, Serializable {
      static final LegacyComparable X = new LegacyComparable("x");
      static final LegacyComparable Y = new LegacyComparable("y");
      static final LegacyComparable Z = new LegacyComparable("z");
    
      static final Iterable<LegacyComparable> VALUES_FORWARD = asList(X, Y, Z);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecyclePluginResolver.java

                throws PluginVersionResolutionException {
            Map<String, String> versions = new HashMap<>(64);
    
            for (Plugin plugin : project.getBuildPlugins()) {
                if (plugin.getVersion() == null) {
                    PluginVersionRequest request = new DefaultPluginVersionRequest(
                            plugin, session.getRepositorySession(), project.getRemotePluginRepositories());
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/TestPlatform.java

        } catch (TimeoutException expected) {
        } catch (ExecutionException e) {
          throw new AssertionError(e);
        }
      }
    
      static void verifyTimedGetOnPendingFuture(Future<?> future) {
        try {
          getUninterruptibly(future, 0, SECONDS);
          fail();
        } catch (TimeoutException expected) {
        } catch (ExecutionException e) {
          throw new AssertionError(e);
        }
      }
    
      static void verifyThreadWasNotInterrupted() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/eventbus/AsyncEventBus.java

     * allowing dispatch to occur asynchronously.
     *
     * @author Cliff Biffle
     * @since 10.0
     */
    public class AsyncEventBus extends EventBus {
    
      /**
       * Creates a new AsyncEventBus that will use {@code executor} to dispatch events. Assigns {@code
       * identifier} as the bus's name for logging purposes.
       *
       * @param identifier short name for the bus, for logging purposes.
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataTreeNode.java

            this(new ArtifactMetadata(af), parent, resolved, scope);
        }
    
        // ------------------------------------------------------------------------
        public void addChild(int index, MetadataTreeNode kid) {
            if (kid == null) {
                return;
            }
    
            if (children == null) {
                children = new MetadataTreeNode[nChildren];
            }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.9K bytes
    - Click Count (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t12scm/ProjectInheritanceTest.java

        @Test
        void testScmInfoCalculatedCorrectlyOnParentAndChildRead() throws Exception {
            File localRepo = getLocalRepositoryPath();
    
            File pom0 = new File(localRepo, "p0/pom.xml");
            File pom0Basedir = pom0.getParentFile();
            File pom1 = new File(pom0Basedir, "modules/p1/pom.xml");
    
            // load the child project, which inherits from p0...
            MavenProject project0 = getProject(pom0);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Mar 30 23:08:36 GMT 2025
    - 3K bytes
    - Click Count (0)
  7. internal/ringbuffer/README.md

    	"github.com/smallnest/ringbuffer"
    )
    
    func main() {
    	rb := ringbuffer.New(1024)
    
    	// write
    	rb.Write([]byte("abcd"))
    	fmt.Println(rb.Length())
    	fmt.Println(rb.Free())
    
    	// read
    	buf := make([]byte, 4)
    	rb.Read(buf)
    	fmt.Println(string(buf))
    }
    ```
    
    It is possible to use an existing buffer with by replacing `New` with `NewBuffer`.
    
    
    # Blocking vs Non-blocking
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed May 15 00:11:04 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/io/CharSource.java

       * the same way.
       *
       * @since 20.0
       */
      public ByteSource asByteSource(Charset charset) {
        return new AsByteSource(charset);
      }
    
      /**
       * Opens a new {@link Reader} for reading from this source. This method returns a new, independent
       * reader each time it is called.
       *
       * <p>The caller is responsible for ensuring that the returned reader is closed.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 25.7K bytes
    - Click Count (0)
  9. guava/src/com/google/common/io/CharSource.java

       * the same way.
       *
       * @since 20.0
       */
      public ByteSource asByteSource(Charset charset) {
        return new AsByteSource(charset);
      }
    
      /**
       * Opens a new {@link Reader} for reading from this source. This method returns a new, independent
       * reader each time it is called.
       *
       * <p>The caller is responsible for ensuring that the returned reader is closed.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 25.3K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/suggest/settings/ElevateWordSettings.java

     * </ul>
     *
     * <p>Methods:</p>
     * <ul>
     *   <li>{@code get()} - Retrieves an array of elevate words from the settings.</li>
     *   <li>{@code add(ElevateWord elevateWord)} - Adds a new elevate word to the settings.</li>
     *   <li>{@code delete(String elevateWord)} - Deletes an elevate word from the settings.</li>
     *   <li>{@code deleteAll()} - Deletes all elevate words from the settings.</li>
     * </ul>
     *
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 7.5K bytes
    - Click Count (0)
Back to Top