Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 341 - 350 of 762 for Clear (0.03 seconds)

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

        Stopwatch timer = Stopwatch.createStarted();
        Queues.drainUninterruptibly(q, new ArrayList<>(), 1, 10, MILLISECONDS);
        assertThat(timer.elapsed(MILLISECONDS)).isAtLeast(10L);
        // wait for interrupted status and clear it
        while (!Thread.interrupted()) {
          Thread.yield();
        }
      }
    
      private static class Producer implements Callable<@Nullable Void> {
        final BlockingQueue<Object> q;
        final int elements;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Nov 04 17:24:58 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  2. README.md

    ```Python
    item: Item
    ```
    
    ...and with that single declaration you get:
    
    * Editor support, including:
        * Completion.
        * Type checks.
    * Validation of data:
        * Automatic and clear errors when the data is invalid.
        * Validation even for deeply nested JSON objects.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 24.3K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

      @Override
      protected void setUp() {
        // Clear any previous interrupt before running the test.
        if (Thread.currentThread().isInterrupted()) {
          throw new AssertionError(
              "Thread interrupted on test entry. "
                  + "Some test probably didn't clear the interrupt state");
        }
    
        tearDownStack.addTearDown(() -> Thread.interrupted());
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 38.1K bytes
    - Click Count (0)
  4. architecture/standards/0010-gradle-properties-naming.md

    Symmetrically, the same problem exists on the side of Gradle maintainers.
    It should be clear when introducing a property what contract users can expect and what we can afford to provide.
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 06 09:25:54 GMT 2026
    - 8K 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 Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  6. cmd/object-api-datatypes_gen.go

    			if err != nil {
    				err = msgp.WrapError(err, "UserDefined")
    				return
    			}
    			if z.UserDefined == nil {
    				z.UserDefined = make(map[string]string, zb0003)
    			} else if len(z.UserDefined) > 0 {
    				clear(z.UserDefined)
    			}
    			for zb0003 > 0 {
    				var za0003 string
    				zb0003--
    				var za0002 string
    				za0002, bts, err = msgp.ReadStringBytes(bts)
    				if err != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 71.7K bytes
    - Click Count (0)
  7. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java

            when(mockBulkFuture.actionGet(anyLong(), any(TimeUnit.class))).thenReturn(mockBulkResponse);
            when(mockBulkResponse.hasFailures()).thenReturn(false);
    
            // Setup clear scroll
            when(mockClient.prepareClearScroll()).thenReturn(mockClearScrollBuilder);
            when(mockClearScrollBuilder.addScrollId(any(String.class))).thenReturn(mockClearScrollBuilder);
            doAnswer(invocation -> {
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Mon Jan 12 06:25:38 GMT 2026
    - 16.9K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

                assertEquals(ServerMessageBlock2.SMB2_FLAGS_SIGNED | ServerMessageBlock2.SMB2_FLAGS_DFS_OPERATIONS, testMessage.getFlags());
            }
    
            @Test
            @DisplayName("Should clear flags correctly")
            void testClearFlags() {
                testMessage.addFlags(ServerMessageBlock2.SMB2_FLAGS_SIGNED | ServerMessageBlock2.SMB2_FLAGS_DFS_OPERATIONS);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 39.5K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

            List<SmbTransportImpl> toClose = new ArrayList<>(this.connections);
            toClose.addAll(this.nonPooledConnections);
    
            // Clear the collections (thread-safe operations)
            this.connections.clear();
            this.nonPooledConnections.clear();
            this.activeConnections.set(0);
    
            // Close all connections outside of synchronization
            for (final SmbTransportImpl conn : toClose) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 33.4K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/core/collection/SLinkedList.java

        public Object remove(final int index) {
            final Entry e = getEntry(index);
            e.remove();
            return e.element;
        }
    
        /**
         * Empties the list.
         */
        public void clear() {
            header.next = header;
            header.previous = header;
            size = 0;
        }
    
        /**
         * Returns the entry at the specified position.
         *
         * @param index the index
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 10.5K bytes
    - Click Count (0)
Back to Top