Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 731 for prepend (0.04 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/SetAddTester.java

    public class SetAddTester<E> extends AbstractSetTester<E> {
      @CollectionFeature.Require(SUPPORTS_ADD)
      @CollectionSize.Require(absent = ZERO)
      public void testAdd_supportedPresent() {
        assertFalse("add(present) should return false", getSet().add(e0()));
        expectUnchanged();
      }
    
      @CollectionFeature.Require(value = {SUPPORTS_ADD, ALLOWS_NULL_VALUES})
      @CollectionSize.Require(absent = ZERO)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  2. api/maven-api-di/src/main/java/org/apache/maven/api/di/Typed.java

    /**
     * Explicitly specifies the types that should be used for dependency injection.
     * <p>
     * This annotation allows you to limit which types of a bean should be available
     * for injection. It can be used to prevent unintended automatic binding of implemented
     * interfaces or extended classes.
     * <p>
     * Example usage:
     * <pre>
     * {@literal @}Typed(ServiceImpl.class)
     * public class ServiceImpl implements Service {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jan 30 23:28:59 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/MapContainsKeyTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class MapContainsKeyTester<K, V> extends AbstractMapTester<K, V> {
      @CollectionSize.Require(absent = ZERO)
      public void testContains_yes() {
        assertTrue("containsKey(present) should return true", getMap().containsKey(k0()));
      }
    
      public void testContains_no() {
        assertFalse("containsKey(notPresent) should return false", getMap().containsKey(k3()));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 26 21:06:36 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTreeHandleInternal.java

         */
        void ensureDFSResolved() throws CIFSException;
    
        /**
         * Checks if the server has the specified capability
         * @param cap the capability flag to check
         * @return whether the capability is present
         * @throws CIFSException if an error occurs checking capabilities
         */
        boolean hasCapability(int cap) throws CIFSException;
    
        /**
         * Gets the send buffer size of the underlying SMB connection
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTreeHandleImpl.java

                throw new RuntimeCIFSException("Usage count dropped below zero");
            }
        }
    
        @Override
        protected void finalize() throws Throwable {
            try {
                // Add null check to prevent NPE if object was not fully constructed
                if (this.usageCount != null && this.usageCount.get() != 0) {
                    log.warn("Tree handle was not properly released, performing emergency cleanup: "
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/artifact/manager/DefaultWagonManager.java

                                return authInfo;
                            }
                        }
                    }
                }
            }
    
            // empty one to prevent NPE
            return new AuthenticationInfo();
        }
    
        @Override
        public ProxyInfo getProxy(String protocol) {
            MavenSession session = legacySupport.getSession();
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  7. src/cmd/buildid/buildid.go

    	if err != nil {
    		log.Fatal(err)
    	}
    	matches, hash, err := buildid.FindAndHash(f, id, 0)
    	f.Close()
    	if err != nil {
    		log.Fatal(err)
    	}
    
    	// <= go 1.7 doesn't embed the contentID or actionID, so no slash is present
    	if !strings.Contains(id, "/") {
    		log.Fatalf("%s: build ID is a legacy format...binary too old for this tool", file)
    	}
    
    	newID := id[:strings.LastIndex(id, "/")] + "/" + buildid.HashToString(hash)
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Jun 21 19:58:04 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/job/PurgeThumbnailJob.java

    import org.codelibs.fess.util.ComponentUtil;
    
    /**
     * Job for purging expired thumbnail files from the system.
     * This job removes thumbnail files that have exceeded their configured expiration time
     * to prevent disk space from being consumed by old thumbnails.
     */
    public class PurgeThumbnailJob {
        /** Logger instance for this class */
        private static final Logger logger = LogManager.getLogger(PurgeThumbnailJob.class);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/PeekingIterator.java

      /**
       * Returns the next element in the iteration, without advancing the iteration.
       *
       * <p>Calls to {@code peek()} should not change the state of the iteration, except that it
       * <i>may</i> prevent removal of the most recent element via {@link #remove()}.
       *
       * @throws NoSuchElementException if the iteration has no more elements according to {@link
       *     #hasNext()}
       */
      @ParametricNullness
      E peek();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/net/InetAddresses.java

      private static String scopeWithDelimiter(Inet6Address ip) {
        // getHostAddress on android sometimes maps the scope ID to an invalid interface name; if the
        // mapped interface isn't present, fallback to use the scope ID (which has no validation against
        // present interfaces)
        NetworkInterface scopedInterface = ip.getScopedInterface();
        if (scopedInterface != null) {
          return "%" + scopedInterface.getName();
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
Back to top