Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1241 - 1250 of 1,462 for contained (0.22 seconds)

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

            // All services have started or some service has terminated/failed.
            return states.count(RUNNING) == numberOfServices
                || states.contains(STOPPING)
                || states.contains(TERMINATED)
                || states.contains(FAILED);
          }
        }
    
        /** Controls how long to wait for all services to reach a terminal state. */
        final Monitor.Guard stoppedGuard = new StoppedGuard();
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 17:49:12 GMT 2025
    - 33.2K bytes
    - Click Count (1)
  2. guava/src/com/google/common/util/concurrent/ServiceManager.java

            // All services have started or some service has terminated/failed.
            return states.count(RUNNING) == numberOfServices
                || states.contains(STOPPING)
                || states.contains(TERMINATED)
                || states.contains(FAILED);
          }
        }
    
        /** Controls how long to wait for all services to reach a terminal state. */
        final Monitor.Guard stoppedGuard = new StoppedGuard();
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 17:49:12 GMT 2025
    - 32.9K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/WinErrorTest.java

            verify(handler, atLeastOnce()).handle(codeCap.capture(), msgCap.capture());
    
            // Assert at least one captured pair is a known mapping (happy path spot check)
            assertTrue(codeCap.getAllValues().contains(WinError.ERROR_ACCESS_DENIED));
            int idx = codeCap.getAllValues().indexOf(WinError.ERROR_ACCESS_DENIED);
            assertEquals("Access is denied.", msgCap.getAllValues().get(idx));
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt

        return getSubjectAltNames(certificate, ALT_DNS_NAME).any {
          verifyHostname(hostname, it)
        }
      }
    
      /**
       * This is like [toLowerCase] except that it does nothing if this contains any non-ASCII
       * characters. We want to avoid lower casing special chars like U+212A (Kelvin symbol) because
       * they can return ASCII characters that match real hostnames.
       */
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java

        // this uses #get(key), makes sure an already observed stripe is returned
        for (int i = 0; i < striped.size() * 100; i++) {
          assertTrue(observed.contains(striped.get(new Object())));
        }
    
        try {
          striped.getAt(-1);
          fail();
        } catch (RuntimeException expected) {
        }
    
        try {
          striped.getAt(striped.size());
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:19:59 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/util/concurrent/StripedTest.java

        // this uses #get(key), makes sure an already observed stripe is returned
        for (int i = 0; i < striped.size() * 100; i++) {
          assertTrue(observed.contains(striped.get(new Object())));
        }
    
        try {
          striped.getAt(-1);
          fail();
        } catch (RuntimeException expected) {
        }
    
        try {
          striped.getAt(striped.size());
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:19:59 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverResult.java

         * Returns the file paths of all dependencies, regardless of which tool option those paths should be placed on.
         * The returned list may contain a mix of Java class path, Java module path, and other types of path elements.
         * This collection has the same content as {@code getDependencies.values()} except that it does not contain
         * null elements.
         *
         * @return the paths of all dependencies
         */
        @Nonnull
        List<Path> getPaths();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Mar 05 14:29:21 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecyclePluginAnalyzer.java

                existingIds.add(execution.getId());
            }
    
            String base = "default-" + goal;
            String id = base;
    
            for (int index = 1; existingIds.contains(id); index++) {
                id = base + '-' + index;
            }
    
            return id;
        }
    
        static class GoalSpec {
    
            String groupId;
    
            String artifactId;
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 9K bytes
    - Click Count (0)
  9. impl/maven-core/src/test/java/org/apache/maven/project/MavenProjectTest.java

            assertEquals(0, project.getSourceRoots().size());
        }
    
        private void assertNoNulls(List<String> elements) {
            assertFalse(elements.contains(null), "Expected " + elements + " to not contain " + null);
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 28 09:44:37 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  10. internal/bucket/versioning/versioning_test.go

    	v := Versioning{
    		Status: Enabled,
    	}
    	buf, err := xml.Marshal(v)
    	if err != nil {
    		t.Fatalf("Failed to marshal %v: %v", v, err)
    	}
    
    	str := string(buf)
    	if strings.Contains(str, "ExcludedPrefixes") {
    		t.Fatalf("XML shouldn't contain ExcludedPrefixes tag - %s", str)
    	}
    }
    
    func TestVersioningZero(t *testing.T) {
    	var v Versioning
    	if v.Enabled() {
    		t.Fatalf("Expected to be disabled but got enabled")
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun May 08 05:06:44 GMT 2022
    - 8.8K bytes
    - Click Count (0)
Back to Top