Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 321 - 330 of 2,557 for nullif (0.33 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt

        if (expectedSequenceNumber != ANY_SEQUENCE_NUMBER &&
          (entry == null || entry.sequenceNumber != expectedSequenceNumber)
        ) {
          return null // Snapshot is stale.
        }
    
        if (entry?.currentEditor != null) {
          return null // Another edit is in progress.
        }
    
        if (entry != null && entry.lockingSourceCount != 0) {
          return null // We can't write this file because a reader is still reading it.
        }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed May 28 23:28:25 GMT 2025
    - 34.7K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/base/internal/Finalizer.java

          }
        }
        if (thread == null) {
          thread = new Thread((ThreadGroup) null, finalizer, threadName);
        }
        thread.setDaemon(true);
    
        try {
          if (inheritableThreadLocals != null) {
            inheritableThreadLocals.set(thread, null);
          }
        } catch (Throwable t) {
          logger.log(
              Level.INFO,
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 9.3K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSession.java

            return project != null && project.getBasedir() != null
                    ? allProjects.computeIfAbsent(project.getId(), id -> new DefaultProject(this, project))
                    : null;
        }
    
        @Override
        public List<ArtifactRepository> toArtifactRepositories(List<RemoteRepository> repositories) {
            return repositories == null ? null : map(repositories, this::toArtifactRepository);
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java

         *
         * @param project The project to try to resolve the artifact from, must not be <code>null</code>.
         * @param requestedArtifact The artifact to resolve, must not be <code>null</code>.
         * @return The matching artifact from the project or <code>null</code> if not found. Note that this
         */
        private Artifact findMatchingArtifact(MavenProject project, Artifact requestedArtifact) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Dec 15 11:20:38 GMT 2025
    - 24.4K bytes
    - Click Count (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractor.java

                throws IntrospectionException {
            if (value == null || key == null) {
                return null;
            }
    
            if (value instanceof Map map) {
                return map.get(key);
            }
    
            final String message = String.format(
                    "The token '%s' at position '%d' refers to a java.util.Map, but the value "
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/cache/CacheBuilderFactory.java

      private Set<DurationSpec> expireAfterAccesses = Sets.newHashSet((DurationSpec) null);
      private Set<DurationSpec> refreshes = Sets.newHashSet((DurationSpec) null);
      private Set<Strength> keyStrengths = Sets.newHashSet((Strength) null);
      private Set<Strength> valueStrengths = Sets.newHashSet((Strength) null);
    
      @CanIgnoreReturnValue
      CacheBuilderFactory withConcurrencyLevels(Set<Integer> concurrencyLevels) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

                            prefix + prefix2 + "(groupId:artifactId)",
                            null,
                            "groupId of a plugin must be defined. ",
                            plugin);
                }
    
                if (plugin.getArtifactId() == null
                        || (plugin.getArtifactId() != null
                                && plugin.getArtifactId().trim().isEmpty())) {
                    addViolation(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 03 15:06:05 GMT 2025
    - 66.8K bytes
    - Click Count (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/MapPutIfAbsentTester.java

          getMap().putIfAbsent(k0(), null);
        } catch (NullPointerException tolerated) {
        }
        expectUnchanged();
        expectNullValueMissingWhenNullValuesUnsupported(
            "Should not contain null after unsupported putIfAbsent(present, null)");
      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES})
      public void testPut_nullValueSupported() {
        Entry<K, V> nullValueEntry = entry(k3(), null);
        assertNull(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 16 02:04:51 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

         *
         * @param groupId the group identifier, or {@code null} is unspecified
         * @param artifactId the artifact identifier, or {@code null} is unspecified
         * @param version the artifact version, or {@code null} is unspecified
         * @param classifier the artifact classifier, or {@code null} is unspecified
         * @param extension the artifact extension, or {@code null} is unspecified
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jul 03 14:18:26 GMT 2025
    - 36.5K bytes
    - Click Count (0)
  10. impl/maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorTest.java

            ExpressionEvaluator ee = createExpressionEvaluator(project, null, new Properties());
    
            Object value = ee.evaluate("${" + key + "}");
    
            assertEquals(checkValue, value);
        }
    
        @Test
        void testBasedirExtractionWithMissingProject() throws Exception {
            ExpressionEvaluator ee = createExpressionEvaluator(null, null, new Properties());
    
            Object value = ee.evaluate("${basedir}");
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Mar 26 19:31:34 GMT 2025
    - 19.4K bytes
    - Click Count (0)
Back to Top