Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 291 - 300 of 751 for clear (0.07 seconds)

  1. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

        assertEquals(I18N.length(), copied);
      }
    
      /**
       * Test for Guava issue 1061: https://github.com/google/guava/issues/1061
       *
       * <p>CharStreams.copy was failing to clear its CharBuffer after each read call, which effectively
       * reduced the available size of the buffer each time a call to read didn't fill up the available
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java

            C filtered2 = filter(filtered1, PRIME_DIGIT);
    
            C inverseFiltered =
                filter(createUnfiltered(contents), not(Predicates.and(EVEN, PRIME_DIGIT)));
    
            filtered2.clear();
            assertThat(unfiltered).containsExactlyElementsIn(inverseFiltered);
          }
        }
      }
    
      public abstract static class AbstractFilteredSetTest<C extends Set<Integer>>
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/io/CharStreamsTest.java

        assertEquals(I18N.length(), copied);
      }
    
      /**
       * Test for Guava issue 1061: https://github.com/google/guava/issues/1061
       *
       * <p>CharStreams.copy was failing to clear its CharBuffer after each read call, which effectively
       * reduced the available size of the buffer each time a call to read didn't fill up the available
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  4. .github/workflows/maven.yml

      push:
        branches: [ master ]
      pull_request:
        branches: [ master ]
    
    # allow single build per branch or PR
    concurrency:
      group: ${{ github.workflow }}-${{ github.ref }}
      cancel-in-progress: true
    
    # clear all permissions for GITHUB_TOKEN
    permissions: {}
    
    env:
      MIMIR_VERSION: 0.10.6
      MIMIR_BASEDIR: ~/.mimir
      MIMIR_LOCAL: ~/.mimir/local
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 16 04:24:24 GMT 2025
    - 12.2K bytes
    - Click Count (0)
  5. cmd/namespace-lock.go

    	n.lockMapMutex.Lock()
    	nsLk, found := n.lockMap[resource]
    	if !found {
    		nsLk = &nsLock{
    			LRWMutex: lsync.NewLRWMutex(),
    		}
    		// Add a count to indicate that a parallel unlock doesn't clear this entry.
    	}
    	nsLk.ref++
    	n.lockMap[resource] = nsLk
    	n.lockMapMutex.Unlock()
    
    	// Locking here will block (until timeout).
    	if readLock {
    		locked = nsLk.GetRLock(ctx, opsID, lockSource, timeout)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/ReleaseNotesTransformer.java

                    inSectionElements.remove();
    
                    if (next == null) {
                        break;
                    } else {
                        inSection.clear();
                        inSection.add(next);
                        heading = next;
                    }
                } else {
                    inSection.add(next);
                }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue May 27 09:07:14 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java

        assertEquals("4", map.get("d"));
    
        underlying.remove("c");
        assertEquals(underlying.size(), map.size());
        assertFalse(map.containsKey("c"));
    
        underlying.clear();
        assertEquals(underlying.size(), map.size());
      }
    
      public void testTransformChangesAreReflectedInUnderlyingMap() {
        Map<String, Integer> underlying = new LinkedHashMap<>();
        underlying.put("a", 1);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/collect/FluentIterableTest.java

      public void testSkip_structurallyModifiedSkipSomeList() throws Exception {
        List<String> list = Lists.newArrayList("a", "b", "c");
        FluentIterable<String> tail = FluentIterable.from(list).skip(1);
        list.subList(1, 3).clear();
        list.addAll(0, Lists.newArrayList("X", "Y", "Z"));
        assertThat(tail).containsExactly("Y", "Z", "a").inOrder();
      }
    
      public void testSkip_structurallyModifiedSkipAll() throws Exception {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 30.5K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/collect/TreeMultisetTest.java

        assertThat(elementSet).containsExactly("a", "b", "c", "d", "e", "f").inOrder();
        SortedSet<String> subset = elementSet.subSet("b", "f");
        assertThat(subset).containsExactly("b", "c", "d", "e").inOrder();
    
        subset.clear();
        assertThat(elementSet).containsExactly("a", "f").inOrder();
        assertThat(subset).isEmpty();
        assertEquals(3, ms.size());
      }
    
      public void testCustomComparator() throws Exception {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 13K bytes
    - Click Count (0)
  10. api/go1.23.txt

    pkg slices, func Sorted[$0 cmp.Ordered](iter.Seq[$0]) []$0 #61899
    pkg slices, func Values[$0 interface{ ~[]$1 }, $1 interface{}]($0) iter.Seq[$1] #61899
    pkg structs, type HostLayout struct #66408
    pkg sync, method (*Map) Clear() #61696
    pkg sync/atomic, func AndInt32(*int32, int32) int32 #61395
    pkg sync/atomic, func AndInt64(*int64, int64) int64 #61395
    pkg sync/atomic, func AndUint32(*uint32, uint32) uint32 #61395
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Jun 25 17:08:08 GMT 2024
    - 10.1K bytes
    - Click Count (0)
Back to Top