Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 691 - 700 of 929 for prevent (0.09 seconds)

  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;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 6.9K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/ConcurrencyDependencyGraph.java

    import org.apache.maven.lifecycle.internal.ProjectBuildList;
    import org.apache.maven.lifecycle.internal.ProjectSegment;
    import org.apache.maven.project.MavenProject;
    
    /**
     * <p>
     * Presents a view of the Dependency Graph that is suited for concurrent building.
     * </p>
     * <strong>NOTE:</strong> This class is not part of any public api and can be changed or deleted without prior notice.
     *
     * @since 3.0
     */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  3. cmd/bucket-lifecycle.go

    		es.stats.missedFreeVersTasks.Add(1)
    	}
    }
    
    // enqueueByDays enqueues object versions expired by days for expiry.
    func (es *expiryState) enqueueByDays(oi ObjectInfo, event lifecycle.Event, src lcEventSrc) {
    	task := expiryTask{objInfo: oi, event: event, src: src}
    	wrkr := es.getWorkerCh(task.OpHash())
    	if wrkr == nil {
    		es.stats.missedExpiryTasks.Add(1)
    		return
    	}
    	select {
    	case <-GlobalContext.Done():
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 33.7K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java

            // No fallback attempted; config should not be queried in this path
            verify(tc, never()).getConfig();
            verifyNoInteractions(config);
        }
    
        @Test
        @DisplayName("createContext: Kerberos present but forceFallback triggers NTLM path")
        void createContext_forceFallback_triggersNtlmAndFailsOnNonNtlmToken() throws CIFSException {
            when(tc.getConfig()).thenReturn(config);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  5. build-logic/buildquality/src/test/kotlin/gradlebuild/testcleanup/TestFilesCleanupServiceTest.kt

    import java.io.File
    
    
    @EnabledIfEnvironmentVariable(named = "CI", matches = ".*", disabledReason = "Tests rely on setup conditional on CI in gradlebuild.ci-reporting plugin running first, these test should only run if CI env var is present (it's value doesn't matter)")
    class TestFilesCleanupServiceTest {
        @TempDir
        lateinit var projectDir: File
    
        private
        fun File.mkdirsAndWriteText(text: String) {
            parentFile.mkdirs()
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Jun 18 10:36:40 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java

            assertArrayEquals(fileId, resp.getFileId());
            assertEquals("file.txt", resp.getFileName());
    
            // No create contexts section present -> null
            assertNull(resp.getCreateContexts());
        }
    
        @Test
        void decode_withCreateContext_unrecognized_yieldsEmptyArray() throws Exception {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt

              }
            }
    
            else -> {
              // All other codes cannot be cached.
              return false
            }
          }
    
          // A 'no-store' directive on request or response prevents the response from being cached.
          return !response.cacheControl.noStore && !request.cacheControl.noStore
        }
      }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 12K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb/SmbSessionImplTest.java

            verify(transport, times(1)).acquire();
            assertTrue(session.isInUse());
        }
    
        @Test
        @DisplayName("getSessionKey: throws when absent, returns when present")
        void testGetSessionKey() throws Exception {
            SmbSessionImpl session = newSession();
    
            // Absent key -> CIFSException
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb/NtlmUtilTest.java

            NtlmUtil.E(key7, data8, out7);
    
            // Assert: first block identical to single-chunk encryption
            assertArrayEquals(Arrays.copyOfRange(out14, 0, 8), out7);
            // And second block is present and not all zeros
            assertFalse(Arrays.equals(new byte[8], Arrays.copyOfRange(out14, 8, 16)));
        }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 12K bytes
    - Click Count (1)
  10. 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));
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.3K bytes
    - Click Count (0)
Back to Top