Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1041 - 1050 of 1,149 for lock (0.02 seconds)

  1. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

    import static java.util.concurrent.TimeUnit.SECONDS;
    import static org.junit.Assert.assertThrows;
    import static org.mockito.Mockito.doThrow;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.timeout;
    import static org.mockito.Mockito.verify;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 63K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/util/PrunedTagTest.java

            assertTrue(tag.toString().contains("css=new-class"));
            assertTrue(tag.toString().contains("attrName=role"));
            assertTrue(tag.toString().contains("attrValue=link"));
        }
    
        // Mock implementation of Node for testing without external dependencies
        private static class MockNode implements Node {
            private final String nodeName;
            private final Map<String, MockNode> attributes = new HashMap<>();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 21.1K bytes
    - Click Count (0)
  3. internal/s3select/jstream/decoder.go

    	d.depth++
    	if d.maxDepth > 0 && d.depth > d.maxDepth {
    		return nil, ErrMaxDepth
    	}
    
    	var (
    		c     byte
    		v     any
    		err   error
    		array = make([]any, 0)
    	)
    
    	// look ahead for ] - if the array is empty.
    	if c = d.skipSpaces(); c == ']' {
    		goto out
    	}
    
    scan:
    	if v, err = d.emitAny(); err != nil {
    		goto out
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  4. docs/en/docs/tutorial/first-steps.md

    # First Steps { #first-steps }
    
    The simplest FastAPI file could look like this:
    
    {* ../../docs_src/first_steps/tutorial001_py310.py *}
    
    Copy that to a file `main.py`.
    
    Run the live server:
    
    <div class="termy">
    
    ```console
    $ <font color="#4E9A06">fastapi</font> dev
    
      <span style="background-color:#009485"><font color="#D3D7CF"> FastAPI </font></span>  Starting development server 🚀
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 13.4K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

      }
    
      @IgnoreJRERequirement // used only from APIs that use streams
      /*
       * We declare this as package-private, rather than private, to avoid generating a synthetic
       * accessor method (under -target 8) that would lack the Android flavor's @IgnoreJRERequirement.
       */
      Spliterator.OfLong spliterator() {
        return Spliterators.spliterator(array, start, end, Spliterator.IMMUTABLE | Spliterator.ORDERED);
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 22K bytes
    - Click Count (0)
  6. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

     * Attempts to {@code put} an element into a full queue will result in the operation blocking;
     * attempts to {@code take} an element from an empty queue will similarly block.
     *
     * <p>This class supports an optional fairness policy for ordering waiting producer and consumer
     * threads. By default, this ordering is not guaranteed. However, a queue constructed with fairness
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 22.4K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/Maps.java

       * BiMap<Long, String> map = Maps.synchronizedBiMap(HashBiMap.create());
       * ...
       * Set<Long> set = map.keySet(); // Needn't be in synchronized block
       * ...
       * synchronized (map) { // Synchronizing on map, not set!
       *   Iterator<Long> it = set.iterator(); // Must be in synchronized block
       *   while (it.hasNext()) {
       *     foo(it.next());
       *   }
       * }
       * }
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 157.6K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/Maps.java

       * BiMap<Long, String> map = Maps.synchronizedBiMap(HashBiMap.create());
       * ...
       * Set<Long> set = map.keySet(); // Needn't be in synchronized block
       * ...
       * synchronized (map) { // Synchronizing on map, not set!
       *   Iterator<Long> it = set.iterator(); // Must be in synchronized block
       *   while (it.hasNext()) {
       *     foo(it.next());
       *   }
       * }
       * }
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 163.4K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/opensearch/client/SearchEngineClientRebuildTest.java

            testClient.aliasCount = 2;
    
            final boolean result = testClient.reindexConfigIndices(false, allTargetPrefixes());
    
            assertTrue(result);
            // With loadBulkData=false, the bulk data loading block is skipped entirely
            assertEquals(0, testClient.insertBulkDataCalls.size());
        }
    
        // ==========================================================================
        // reindexConfigIndices - index filtering
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 28.6K bytes
    - Click Count (0)
  10. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java

       * GWT SortedMap implementation that we delegate to throws
       * NullPointerException if the comparator does. Since our construction
       * methods ensure that null is never present in the map, it's OK for the
       * comparator to look for it wherever it wants.
       *
       * Note that we do NOT touch the comparator returned by comparator(), which
       * should be identical to the one the user passed in. We touch only the
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 08 18:10:02 GMT 2026
    - 16.6K bytes
    - Click Count (0)
Back to Top