Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1491 - 1500 of 4,015 for null (0.05 sec)

  1. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

            int len = this.length;
    
            if ( this.next != null ) {
                int nextStart = dstIndex;
                dstIndex += this.next.encode(dst, dstIndex);
                int off = nextStart - start;
                SMBUtil.writeInt4(off, dst, start + 20);
                len += dstIndex - nextStart;
            }
    
            if ( this.digest != null ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Sep 30 10:47:31 UTC 2018
    - 19.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Equivalence.java

       * {@link Equivalence#equivalent} returns {@code true} if both values are null, or if neither
       * value is null and {@link Object#equals} returns {@code true}. {@link Equivalence#hash} returns
       * {@code 0} if passed a null value.
       *
       * @since 13.0
       * @since 8.0 (in Equivalences with null-friendly behavior)
       * @since 4.0 (in Equivalences)
       */
      public static Equivalence<Object> equals() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu May 16 14:34:47 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  3. samples/guide/src/test/kotlin/okhttp3/AllMainsTest.kt

        val mainMethod =
          Class.forName(className)
            .methods.find { it.name == "main" }
        try {
          if (mainMethod != null) {
            if (mainMethod.parameters.isEmpty()) {
              mainMethod.invoke(null)
            } else {
              mainMethod.invoke(null, arrayOf<String>())
            }
          } else {
            System.err.println("No main for $className")
          }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/BiMapEntrySetTester.java

          assertThrows(NullPointerException.class, () -> entry.setValue(null));
          expectUnchanged();
        }
      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES})
      @CollectionSize.Require(absent = ZERO)
      public void testSetValueNullSupported() {
        for (Entry<K, V> entry : getMap().entrySet()) {
          if (entry.getKey().equals(k0())) {
            entry.setValue(null);
          }
        }
        expectReplacement(entry(k0(), (V) null));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:10:20 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/MoreCollectorsTest.java

      }
    
      public void testToOptionalSingleton() {
        assertThat(Stream.of(1).collect(toOptional())).hasValue(1);
      }
    
      public void testToOptionalNull() {
        Stream<@Nullable Object> stream = Stream.of((Object) null);
        assertThrows(NullPointerException.class, () -> stream.collect(toOptional()));
      }
    
      public void testToOptionalMultiple() {
        IllegalArgumentException expected =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/nego/EncryptionNegotiateContext.java

         */
        @Override
        public int encode ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
            SMBUtil.writeInt2(this.ciphers != null ? this.ciphers.length : 0, dst, dstIndex);
            dstIndex += 2;
    
            if ( this.ciphers != null ) {
                for ( int cipher : this.ciphers ) {
                    SMBUtil.writeInt2(cipher, dst, dstIndex);
                    dstIndex += 2;
                }
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.2K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/RepositoryMetadata.java

        /**
         * Gets the policy that applies to this metadata regarding the specified repository.
         *
         * @param repository The repository for which to determine the policy, must not be {@code null}.
         * @return The policy, never {@code null}.
         */
        ArtifactRepositoryPolicy getPolicy(ArtifactRepository repository);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/ToolchainsBuildingExceptionTest.java

        }
    
        @Test
        void testOneProblem() {
            ProblemCollector problemCollector = ProblemCollectorFactory.newInstance(null);
            problemCollector.add(Problem.Severity.ERROR, "MESSAGE", 3, 5, new Exception());
            ToolchainsBuildingException e = new ToolchainsBuildingException(problemCollector.getProblems());
            assertEquals(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/eventspy/EventSpy.java

             *
             * @return The key-value pairs, never {@code null}.
             */
            Map<String, Object> getData();
        }
    
        /**
         * Initializes the spy.
         *
         * @param context The event spy context, never {@code null}.
         */
        void init(Context context) throws Exception;
    
        /**
         * Notifies the spy of some build event/operation.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/internal/aether/LoggingRepositoryListener.java

            if (event.getMetadata().getFile() != null) {
                metadata = event.getMetadata().getFile();
            } else {
                metadata = event.getMetadata();
            }
    
            String errorType = " is invalid";
            if (exception instanceof FileNotFoundException) {
                errorType = " is inaccessible";
            }
    
            String msg = "";
            if (exception != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top