Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1531 - 1540 of 3,989 for Null (0.03 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveTester.java

        int initialSize = collection.size();
        assertTrue("remove(null) should return true", collection.remove(null));
        assertEquals(
            "remove(present) should decrease a collection's size by one.",
            initialSize - 1,
            collection.size());
        expectMissing((E) null);
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
      @CollectionSize.Require(absent = ZERO)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/util/ConsoleTransferListener.java

        private Map<TransferResource, Long> downloads = new ConcurrentHashMap<>();
    
        private int lastLength;
    
        public ConsoleTransferListener() {
            this(null);
        }
    
        public ConsoleTransferListener(PrintStream out) {
            this.out = (out != null) ? out : System.out;
        }
    
        @Override
        public void transferInitiated(TransferEvent event) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_body_updates/test_tutorial001.py

                            "name": {
                                "anyOf": [{"type": "string"}, {"type": "null"}],
                                "title": "Name",
                            },
                            "description": {
                                "anyOf": [{"type": "string"}, {"type": "null"}],
                                "title": "Description",
                            },
                            "price": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Sep 28 04:14:40 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_body_updates/test_tutorial001_py310.py

                            "name": {
                                "anyOf": [{"type": "string"}, {"type": "null"}],
                                "title": "Name",
                            },
                            "description": {
                                "anyOf": [{"type": "string"}, {"type": "null"}],
                                "title": "Description",
                            },
                            "price": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Sep 28 04:14:40 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Tables.java

       * removal operations, and these are reflected in the underlying table.
       *
       * <p>It's acceptable for the underlying table to contain null keys, and even null values provided
       * that the function is capable of accepting null input. The transformed table might contain null
       * values, if the function sometimes gives a null result.
       *
       * <p>The returned table is not thread-safe or serializable, even if the underlying table is.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  6. samples/slack/src/main/java/okhttp3/slack/SlackClient.java

        this.slackApi = slackApi;
      }
    
      /** Shows a browser URL to authorize this app to act as this user. */
      public void requestOauthSession(String scopes, String team) throws Exception {
        if (sessionFactory == null) {
          sessionFactory = new OAuthSessionFactory(slackApi);
          sessionFactory.start();
        }
    
        HttpUrl authorizeUrl = sessionFactory.newAuthorizeUrl(scopes, team, session -> {
          initOauthSession(session);
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 12 03:31:36 UTC 2019
    - 3.4K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/artifact/ArtifactScopeEnum.java

        }
    
        int getId() {
            return id;
        }
    
        /**
         * Helper method to simplify null processing
         *
         * @param scope a scope or {@code null}
         * @return the provided scope or DEFAULT_SCOPE
         */
        public static ArtifactScopeEnum checkScope(ArtifactScopeEnum scope) {
            return scope == null ? DEFAULT_SCOPE : scope;
        }
    
        /**
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionRangeResolverRequest.java

            return build(session, artifactCoordinates, null);
        }
    
        @Nonnull
        static VersionRangeResolverRequest build(
                @Nonnull Session session,
                @Nonnull ArtifactCoordinates artifactCoordinates,
                @Nullable List<RemoteRepository> repositories) {
            return builder()
                    .session(nonNull(session, "session cannot be null"))
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Sep 12 06:19:14 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. okhttp-tls/src/main/kotlin/okhttp3/tls/HandshakeCertificates.kt

          val heldCertificate = heldCertificate
          if (heldCertificate != null && heldCertificate.keyPair.private.format == null) {
            throw KeyStoreException("unable to support unencodable private key")
          }
    
          val keyManager = newKeyManager(null, heldCertificate, *(intermediates ?: emptyArray()))
          val trustManager = newTrustManager(null, trustedCertificates, immutableInsecureHosts)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java

                        String name =
                                b.getOriginalKey() != null && b.getOriginalKey().getQualifier() instanceof String s
                                        ? s
                                        : "";
                        map.compute(name, (n, ob) -> ob == null || comparator.compare(ob, b) < 0 ? b : ob);
                    }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
Back to top