Search Options

Results per page
Sort
Preferred Languages
Advance

Results 501 - 510 of 1,649 for Contains (0.29 sec)

  1. guava-tests/test/com/google/common/collect/ListsTest.java

        List<List<Integer>> actual = cartesianProduct(list(1, 2), list(3, 4));
        assertTrue(actual.contains(list(1, 3)));
        assertTrue(actual.contains(list(1, 4)));
        assertTrue(actual.contains(list(2, 3)));
        assertTrue(actual.contains(list(2, 4)));
        assertFalse(actual.contains(list(3, 1)));
      }
    
      public void testCartesianProduct_indexOf() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

        if (actual instanceof Collection) {
          contained = ((Collection<?>) actual).contains(expected);
        } else {
          for (Object o : actual) {
            if (equal(o, expected)) {
              contained = true;
              break;
            }
          }
        }
    
        if (!contained) {
          fail("Not true that " + actual + " contains " + expected);
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  3. compat/maven-repository-metadata/src/site/apt/index.apt

     []
    
     Depending on what the directory represents ("groupId", "groupId/artifactId" or "groupId/artifactId/version"),
     the Maven Repository Metadata file contains 3 different sets of metadata:
    
     [[1]] in a "groupId" directory: a "groupId" directory may contain Maven plugins artifacts, which are described in metadata's <<<plugins>>> element,
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. common-protos/k8s.io/api/core/v1/generated.proto

      // secretNamespace is the namespace of the secret that contains Azure Storage Account Name and Key
      // default is the same as the Pod
      // +optional
      optional string secretNamespace = 4;
    }
    
    // AzureFile represents an Azure File Service mount on the host and bind mount to the pod.
    message AzureFileVolumeSource {
      // secretName is the  name of secret that contains Azure Storage Account Name and Key
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 255.8K bytes
    - Viewed (0)
  5. src/bytes/bytes.go

    	if len(sep) == 1 {
    		return bytealg.Count(s, sep[0])
    	}
    	n := 0
    	for {
    		i := Index(s, sep)
    		if i == -1 {
    			return n
    		}
    		n++
    		s = s[i+len(sep):]
    	}
    }
    
    // Contains reports whether subslice is within b.
    func Contains(b, subslice []byte) bool {
    	return Index(b, subslice) != -1
    }
    
    // ContainsAny reports whether any of the UTF-8-encoded code points in chars are within b.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Sep 03 20:55:15 UTC 2024
    - 35.6K bytes
    - Viewed (0)
  6. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/internal/IsProbablyUtf8.kt

     * limitations under the License.
     */
    package okhttp3.logging.internal
    
    import java.io.EOFException
    import okio.Buffer
    
    /**
     * Returns true if the body in question probably contains human readable text. Uses a small
     * sample of code points to detect unicode control characters commonly used in binary file
     * signatures.
     */
    fun Buffer.isProbablyUtf8(): Boolean {
      try {
        val prefix = Buffer()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 07 16:05:34 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderFactoryTest.java

            assertTrue(result.getEffectiveModel()
                    .getProfiles()
                    .get(1)
                    .getActivation()
                    .getFile()
                    .getExists()
                    .contains(BASE_DIR));
        }
    
        private static Model readPom(File file) throws Exception {
            try (InputStream is = Files.newInputStream(file.toPath())) {
                return new MavenStaxReader().read(is);
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/CollectionTestSuiteBuilder.java

              parentBuilder) {
        List<TestSuite> derivedSuites = new ArrayList<>(super.createDerivedSuites(parentBuilder));
    
        if (parentBuilder.getFeatures().contains(SERIALIZABLE)) {
          derivedSuites.add(
              CollectionTestSuiteBuilder.using(
                      new ReserializedCollectionGenerator<E>(parentBuilder.getSubjectGenerator()))
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Aug 18 22:49:45 UTC 2021
    - 3.6K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/MinimalSet.java

          Class<? super @NonNull E> type, E[] emptyArrayForContents, Iterable<? extends E> contents) {
        List<E> setContents = new ArrayList<>();
        for (E e : contents) {
          if (!setContents.contains(e)) {
            setContents.add(e);
          }
        }
        return new MinimalSet<>(type, setContents.toArray(emptyArrayForContents));
      }
    
      private MinimalSet(Class<? super @NonNull E> type, E... contents) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-jar.gradle.kts

                    it is ProjectComponentIdentifier
                }
            }.files)
            this.externalDependencies.from(runtimeClasspath.incoming.artifactView {
                componentFilter {
                    externalComponents.contains(it)
                }
            }.files)
            this.manifestFile = moduleIdentity.baseName.map { layout.buildDirectory.file("generated-resources/$it-classpath/$it-classpath.properties").get() }
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed May 01 08:59:48 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top