Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 296 for removing (0.06 seconds)

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

        MinMaxPriorityQueue<Integer> q = MinMaxPriorityQueue.create(initial);
        assertIntact(q);
        q.remove(9);
        q.remove(11);
        q.remove(10);
        // Now we're in the critical state: [1, 15, 13, 8, 14]
        // Removing 8 while iterating caused duplicates in iteration result.
        List<Integer> result = Lists.newArrayListWithCapacity(initial.size());
        for (Iterator<Integer> iter = q.iterator(); iter.hasNext(); ) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 36.2K bytes
    - Click Count (0)
  2. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/DomUtilsTest.java

                </project>
                """;
    
            Document doc = Document.of(pomXml);
            Element root = doc.root();
            Element nameElement = DomUtils.findChildElement(root, "name");
    
            // Test removing existing element
            DomUtils.removeElement(nameElement);
    
            String xmlOutput = DomUtils.toXml(doc);
            assertFalse(xmlOutput.contains("<name>Test Project</name>"), "Should not contain removed name element");
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 31.3K bytes
    - Click Count (0)
  3. apache-maven/src/main/appended-resources/licenses/CDDL+GPLv2-with-classpath-exception.txt

    since the GPLv2 is incompatible with the license terms of some items
    included in the distribution by Oracle, removing the Classpath
    Exception could therefore effectively compromise your ability to
    further distribute the package.
    
    Proceed with caution and we recommend that you obtain the advice of a
    lawyer skilled in open source matters before removing the Classpath
    Exception or making modifications to this package which may
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri May 17 19:14:22 GMT 2024
    - 38.5K bytes
    - Click Count (0)
  4. fastapi/dependencies/utils.py

        response: Response | None = None,
        dependency_overrides_provider: Any | None = None,
        dependency_cache: dict[DependencyCacheKey, Any] | None = None,
        # TODO: remove this parameter later, no longer used, not removing it yet as some
        # people might be monkey patching this function (although that's not supported)
        async_exit_stack: AsyncExitStack,
        embed_body_fields: bool,
    ) -> SolvedDependency:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 38.7K bytes
    - Click Count (3)
  5. android/guava/src/com/google/common/cache/LocalCache.java

      }
    
      @CanIgnoreReturnValue // TODO(b/27479612): consider removing this
      @Override
      public @Nullable V get(@Nullable Object key) {
        if (key == null) {
          return null;
        }
        int hash = hash(key);
        return segmentFor(hash).get(key, hash);
      }
    
      @CanIgnoreReturnValue // TODO(b/27479612): consider removing this
      V get(K key, CacheLoader<? super K, V> loader) throws ExecutionException {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 143.5K bytes
    - Click Count (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/Constants.java

        /**
         * User property for controlling consumer POM flattening behavior.
         * When set to <code>true</code> (default), consumer POMs are flattened by removing
         * dependency management and keeping only direct dependencies with transitive scopes.
         * When set to <code>false</code>, consumer POMs preserve dependency management
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 28.7K bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt

            processJournal()
            initialized = true
            return
          } catch (journalIsCorrupt: IOException) {
            Platform.get().log(
              "DiskLruCache $directory is corrupt: ${journalIsCorrupt.message}, removing",
              WARN,
              journalIsCorrupt,
            )
          }
    
          // The cache is corrupted, attempt to delete the contents of the directory. This can throw and
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 34.7K bytes
    - Click Count (0)
  8. cmd/bucket-handlers_test.go

    			secretKey:          "",
    			expectedContent:    encodedAnonResponse,
    			expectedRespStatus: http.StatusOK,
    		},
    		// Test case - 6.
    		// Anonymous user has access to some public folder, issue removing with
    		// another private object as well
    		6: {
    			bucket:             bucketName,
    			objects:            anonRequestWithPartialPublicAccess,
    			accessKey:          "",
    			secretKey:          "",
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 39.8K bytes
    - Click Count (0)
  9. cmd/iam-object-store.go

    	if took > maxDurationSecondsForLog {
    		// Log if we took a lot of time to load.
    		logger.Info("IAM expired STS purge took %.2fs", took)
    	}
    
    	// Store the newly populated map in the iam cache. This takes care of
    	// removing stale entries from the existing map.
    	cache.iamSTSAccountsMap = stsAccountsFromStore
    
    	stsAccPoliciesFromStore.Range(func(k string, v MappedPolicy) bool {
    		cache.iamSTSPolicyMap.Store(k, v)
    		return true
    	})
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 26.6K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/CompactHashMap.java

      //
      // The elements of `keys`, `values`, and `entries` are added sequentially, so that elements 0 to
      // `size() - 1` are used and remaining elements are not. This makes iteration straightforward.
      // Removing an entry generally involves moving the last element of each array to where the removed
      // entry was, and adjusting index links accordingly.
    
      /**
       * The hashtable object. This can be either:
       *
       * <ul>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 39.6K bytes
    - Click Count (0)
Back to Top