Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 731 - 740 of 956 for Ensure (0.72 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

        // Wait for the listeners to be called, don't rely on the same-thread exec.
        listenerLatch.await(5, SECONDS);
        assertTrue(task.isDone());
        assertTrue(task.isCancelled());
    
        // Make sure we didn't run anything.
        assertEquals(1, runLatch.getCount());
      }
    
      public void testListenerCalledOnCancelFromRunning() throws Exception {
        exec.execute(task);
        runLatch.await();
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 4.7K bytes
    - Click Count (0)
  2. docs/en/docs/tutorial/path-operation-configuration.md

    <img src="/img/tutorial/path-operation-configuration/image01.png">
    
    ### Tags with Enums { #tags-with-enums }
    
    If you have a big application, you might end up accumulating **several tags**, and you would want to make sure you always use the **same tag** for related *path operations*.
    
    In these cases, it could make sense to store the tags in an `Enum`.
    
    **FastAPI** supports that the same way as with plain strings:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/base/AbstractIteratorTest.java

        assertTrue(iter.hasNext());
        assertTrue(iter.hasNext());
        assertTrue(iter.hasNext());
        assertEquals(1, (int) iter.next());
    
        assertFalse(iter.hasNext());
    
        // Make sure computeNext() doesn't get invoked again
        assertFalse(iter.hasNext());
    
        assertThrows(NoSuchElementException.class, iter::next);
      }
    
      public void testSneakyThrow() throws Exception {
        Iterator<Integer> iter =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 5.7K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Base class for JSR166 Junit TCK tests. Defines some constants, utility methods and classes, as
     * well as a simple framework for helping to make sure that assertions failing in generated threads
     * cause the associated test that generated them to itself fail (which JUnit does not otherwise
     * arrange). The rules for creating such tests are:
     *
     * <ol>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

                }
            }
            return false;
        }
    
        private static boolean pathNamesPossiblyEqual(final String path1, final String path2) {
            int p1, p2, l1, l2;
    
            // if unsure return this method returns true
    
            p1 = path1.lastIndexOf('/');
            p2 = path2.lastIndexOf('/');
            l1 = path1.length() - p1;
            l2 = path2.length() - p2;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 23.6K bytes
    - Click Count (0)
  6. docs/de/docs/tutorial/extra-models.md

    Und diese Modelle teilen alle eine Menge der Daten und verdoppeln Attributnamen und -typen.
    
    Wir könnten es besser machen.
    
    Wir können ein `UserBase`-Modell deklarieren, das als Basis für unsere anderen Modelle dient. Und dann können wir Unterklassen dieses Modells erstellen, die seine Attribute (Typdeklarationen, Validierung usw.) erben.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  7. internal/logger/console.go

    	pretty(msg string, args ...any)
    }
    
    func consoleLog(console Logger, msg string, args ...any) {
    	switch {
    	case jsonFlag:
    		// Strip escape control characters from json message
    		msg = ansiRE.ReplaceAllLiteralString(msg, "")
    		console.json(msg, args...)
    	case quietFlag:
    		if len(msg) != 0 && len(args) == 0 {
    			args = append(args, msg)
    			msg = "%s"
    		}
    		console.quiet(msg+"\n", args...)
    	default:
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  8. .github/ISSUE_TEMPLATE/feature_enhancement_request.yaml

            it just seem like a sensible behavior for the feature to have?
    
    
            Before we make significant changes to existing features in Guava, we really want to be sure
            that it's for a use case that actually comes up in the real world. We want to hear the
            real-world use case so the community can discuss and debate whether this feature is actually
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Nov 17 18:47:47 GMT 2023
    - 3.9K bytes
    - Click Count (0)
  9. cmd/bucket-object-lock.go

    			// When an object is locked in compliance mode, its retention mode can't
    			// be changed, and its retention period can't be shortened. Compliance mode
    			// ensures that an object version can't be overwritten or deleted for the
    			// duration of the retention period.
    			t, err := objectlock.UTCNowNTP()
    			if err != nil {
    				internalLogIf(ctx, err, logger.WarningKind)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 08 02:38:25 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  10. src/main/resources/fess_label.properties

    labels.wizard_button_finish=Skip
    labels.search_list_configuration=Search
    labels.search_list_button_delete=Delete
    labels.search_list_delete_confirmation=Are you sure you want to delete?
    labels.search_list_button_delete_all=Delete All by this Query
    labels.search_list_delete_all_confirmation=Are you sure you want to delete all by this query?
    labels.search_list_button_cancel=Cancel
    labels.failure_url_configuration=Failure URL
    labels.failure_url_search_url=URL
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:54:13 GMT 2026
    - 48.9K bytes
    - Click Count (0)
Back to Top