Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 351 - 360 of 2,833 for Null (0.03 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt

       * | `http://square`               | null                 |
       * | `http://co.uk`                | null                 |
       * | `http://localhost`            | null                 |
       * | `http://127.0.0.1`            | null                 |
       */
      fun topPrivateDomain(): String? =
        if (host.canParseAsIpAddress()) {
          null
        } else {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon May 05 16:01:00 GMT 2025
    - 63.5K bytes
    - Click Count (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/ClasspathContainer.java

            if (classpath == null || classpath.isEmpty()) {
                return null;
            }
    
            MetadataTreeNode tree = null;
            MetadataTreeNode parent = null;
    
            for (ArtifactMetadata md : classpath) {
                MetadataTreeNode node = new MetadataTreeNode(md, parent, md.isResolved(), md.getArtifactScope());
                if (tree == null) {
                    tree = node;
                }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  3. guava-testlib/src/com/google/common/collect/testing/features/MapFeature.java

       * {@code get(null)}, {@code keySet().contains(null)} or {@code remove(null)}.
       */
      ALLOWS_NULL_KEY_QUERIES,
      ALLOWS_NULL_KEYS(ALLOWS_NULL_KEY_QUERIES),
      /**
       * The map does not throw {@code NullPointerException} on calls such as {@code
       * containsValue(null)}, {@code values().contains(null)} or {@code values().remove(null)}.
       */
      ALLOWS_NULL_VALUE_QUERIES,
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Jan 30 16:59:10 GMT 2025
    - 3K bytes
    - Click Count (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt

            append(tags)
          }
          append('}')
        }
    
      open class Builder {
        internal var url: HttpUrl? = null
        internal var method: String
        internal var headers: Headers.Builder
        internal var body: RequestBody? = null
        internal var cacheUrlOverride: HttpUrl? = null
        internal var tags: Tags = EmptyTags
    
        constructor() {
          this.method = "GET"
          this.headers = Headers.Builder()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Oct 30 13:46:58 GMT 2025
    - 14.7K bytes
    - Click Count (1)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CertificatePinner.kt

          var sha1: ByteString? = null
          var sha256: ByteString? = null
    
          for (pin in pins) {
            when (pin.hashAlgorithm) {
              "sha256" -> {
                if (sha256 == null) sha256 = peerCertificate.sha256Hash()
                if (pin.hash == sha256) return // Success!
              }
              "sha1" -> {
                if (sha1 == null) sha1 = peerCertificate.sha1Hash()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 14.1K bytes
    - Click Count (1)
  6. impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuildingRequest.java

        @Override
        public Date getBuildStartTime() {
            return buildStartTime != null ? new Date(buildStartTime.toEpochMilli()) : null;
        }
    
        @Deprecated
        @Override
        public void setBuildStartTime(Date buildStartTime) {
            setBuildStartInstant(buildStartTime != null ? Instant.ofEpochMilli(buildStartTime.getTime()) : null);
        }
    
        @Override
        public Instant getBuildStartInstant() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 10:13:56 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

        cache?.trackResponse(strategy)
    
        if (cacheCandidate != null && cacheResponse == null) {
          // The cache candidate wasn't applicable. Close it.
          cacheCandidate.body.closeQuietly()
        }
    
        // If we're forbidden from using the network and the cache is insufficient, fail.
        if (networkRequest == null && cacheResponse == null) {
          return Response
            .Builder()
            .request(chain.request())
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Nov 05 18:28:35 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  8. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/AcceptedViolationsProvider.groovy

        private final File acceptedViolationsDir
        private Map<String, String> acceptedViolations = null
    
        AcceptedViolationsProvider(Directory acceptedViolationsDir) {
            this.acceptedViolationsDir = acceptedViolationsDir.asFile
        }
    
        Map<String, String> get() {
            if (acceptedViolations == null) {
                acceptedViolations = AcceptedApiChanges.parse(
                    acceptedViolationsDir.listFiles()
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Dec 30 10:14:25 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/collect/AbstractTableReadTest.java

        assertFalse(table.contains("foo", 2));
        assertFalse(table.contains("bar", 3));
        assertFalse(table.contains("cat", 1));
        assertFalse(table.contains("foo", null));
        assertFalse(table.contains(null, 1));
        assertFalse(table.contains(null, null));
      }
    
      public void testContainsRow() {
        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        assertTrue(table.containsRow("foo"));
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  10. impl/maven-core/src/test/java/org/apache/maven/project/harness/PomTestWrapper.java

            return context.getValue(expression) != null;
        }
    
        public Object getValue(String expression) {
            try {
                return context.getValue(expression);
            } catch (JXPathNotFoundException e) {
                return null;
            }
        }
    
        public boolean xPathExpressionEqualsValue(String expression, String value) {
            return context.getValue(expression) != null
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Mar 30 23:08:36 GMT 2025
    - 2.8K bytes
    - Click Count (0)
Back to Top