Search Options

Results per page
Sort
Preferred Languages
Advance

Results 591 - 600 of 791 for Prevent (0.05 sec)

  1. android/guava/src/com/google/common/util/concurrent/ExecutionList.java

       * the supplied executors.
       *
       * <p>This method is idempotent. Calling it several times in parallel is semantically equivalent
       * to calling it exactly once.
       *
       * @since 10.0 (present in 1.0 as {@code run})
       */
      public void execute() {
        // Lock while we update our state so the add method above will finish adding any listeners
        // before we start to run them.
        RunnableExecutorPair list;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java

            List<DirectoryCacheEntry.FileInfo> children = entry.getChildren();
            assertEquals(3, children.size());
    
            // Verify all children are present
            assertTrue(children.stream().anyMatch(f -> "file1.txt".equals(f.getName())));
            assertTrue(children.stream().anyMatch(f -> "file2.txt".equals(f.getName())));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  3. cmd/admin-bucket-handlers.go

    				rpt.SetStatus(bucket, fileName, fmt.Errorf("An Object Lock configuration is present on this bucket, so the versioning state cannot be suspended."))
    				continue
    			}
    			if rcfg, _ := getReplicationConfig(ctx, bucket); rcfg != nil && v.Suspended() {
    				rpt.SetStatus(bucket, fileName, fmt.Errorf("A replication configuration is present on this bucket, so the versioning state cannot be suspended."))
    				continue
    			}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 33.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SpnegoContextTest.java

            assertEquals(1, supported.length);
            assertEquals(new ASN1ObjectIdentifier("1.3.6.1.5.5.2"), supported[0]);
        }
    
        @Test
        @DisplayName("isSupported always returns false (prevents nesting)")
        void testIsSupportedAlwaysFalse() {
            SpnegoContext ctx = newContext();
            ASN1ObjectIdentifier any = new ASN1ObjectIdentifier("1.2.840.113554.1.2.2");
            assertFalse(ctx.isSupported(any));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  5. src/bufio/example_test.go

    		fmt.Println(scanner.Text()) // Println will add back the final '\n'
    	}
    	if err := scanner.Err(); err != nil {
    		fmt.Fprintln(os.Stderr, "reading standard input:", err)
    	}
    }
    
    // Return the most recent call to Scan as a []byte.
    func ExampleScanner_Bytes() {
    	scanner := bufio.NewScanner(strings.NewReader("gopher"))
    	for scanner.Scan() {
    		fmt.Println(len(scanner.Bytes()) == 6)
    	}
    	if err := scanner.Err(); err != nil {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java

            // When error path is taken, no blob should be parsed
            assertNull(resp.getBlob(), "Blob should be null on error path");
            assertNotNull(resp.getErrorData(), "Error data should be present");
            assertArrayEquals(err, resp.getErrorData());
        }
    
        @Test
        @DisplayName("Invalid structure size should throw during decode")
        void testInvalidStructureSizeThrows() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/TempFileCreator.java

          int jellyBean =
              (int) Class.forName("android.os.Build$VERSION_CODES").getField("JELLY_BEAN").get(null);
          /*
           * I assume that this check can't fail because JELLY_BEAN will be present only if we're
           * running under Jelly Bean or higher. But it seems safest to check.
           */
          if (version < jellyBean) {
            return new ThrowingCreator();
          }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ComparisonChain.java

       *
       * <pre>
       * Comparator.comparing(Foo::isBar, {@link Booleans#falseFirst()})
       * </pre>
       *
       * @since 12.0 (present as {@code compare} since 2.0)
       */
      public abstract ComparisonChain compareFalseFirst(boolean left, boolean right);
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/witness/WitnessAsyncNotifyMessage.java

             * Gets the notification type.
             *
             * @return the witness event type for this notification
             */
            public WitnessEventType getNotificationType() {
                return notificationType;
            }
    
            /**
             * Sets the notification type.
             *
             * @param notificationType the witness event type for this notification
             */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/async-tests.md

    calls in your tests (e.g. when using <a href="https://stackoverflow.com/questions/41584243/runtimeerror-task-attached-to-a-different-loop" class="external-link" target="_blank">MongoDB's MotorClient</a>), remember to instantiate objects that need an event loop only within async functions, e.g. an `'@app.on_event("startup")` callback.
    
    ///...
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3.9K bytes
    - Viewed (0)
Back to top