Search Options

Results per page
Sort
Preferred Languages
Advance

Results 791 - 800 of 3,758 for null (0.02 sec)

  1. guava/src/com/google/common/base/MoreObjects.java

       *
       * @return {@code first} if it is non-null; otherwise {@code second} if it is non-null
       * @throws NullPointerException if both {@code first} and {@code second} are null
       * @since 18.0 (since 3.0 as {@code Objects.firstNonNull()}).
       */
      public static <T> T firstNonNull(@Nullable T first, @Nullable T second) {
        if (first != null) {
          return first;
        }
        if (second != null) {
          return second;
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableMultiset.java

       *
       * @throws NullPointerException if the element is null
       * @since 6.0 (source-compatible since 2.0)
       */
      public static <E> ImmutableMultiset<E> of(E e1) {
        return copyFromElements(e1);
      }
    
      /**
       * Returns an immutable multiset containing the given elements, in order.
       *
       * @throws NullPointerException if any element is null
       * @since 6.0 (source-compatible since 2.0)
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/msrpc/LsaPolicyHandleTest.java

        void constructor_shouldHandleNullServerSuccessfully() throws IOException {
            // Arrange
            String server = null;
            int access = 123;
    
            doAnswer(invocation -> {
                MsrpcLsarOpenPolicy2 rpc = invocation.getArgument(0);
                rpc.retval = 0; // Simulate success
                return null;
            }).when(mockDcerpcHandle).sendrecv(any(MsrpcLsarOpenPolicy2.class));
    
            // Act
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/SmbResourceLocatorTest.java

            public String getUNCPath() {
                return null;
            }
    
            @Override
            public String getURLPath() {
                return null;
            }
    
            @Override
            public String getShare() {
                return null;
            }
    
            @Override
            public String getServerWithDfs() {
                return null;
            }
    
            @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/filter/impl/UrlFilterImpl.java

         */
        @Override
        public void processUrl(final String url) {
            if (includeFilteringPattern != null) {
                addInclude(url.replaceAll(urlPattern, includeFilteringPattern));
            }
            if (excludeFilteringPattern != null) {
                addExclude(url.replaceAll(urlPattern, excludeFilteringPattern));
            }
        }
    
        /**
         * Returns the URL pattern.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactResolver.java

         * @param coordinates array of {@link ArtifactCoordinates}
         * @return {@link ArtifactResolverResult}
         * @throws ArtifactResolverException in case of an error.
         * @throws IllegalArgumentException in case of parameter {@code buildingRequest} is {@code null} or
         *             parameter {@code coordinates} is {@code null} or invalid
         */
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Sep 12 06:19:14 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. docs/metrics/prometheus/grafana/replication/minio-replication-cluster.json

                }
              },
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "bytes"
            },
            "overrides": [
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Aug 04 01:46:49 UTC 2025
    - 71.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/net/InetAddresses.java

        // Parse the address, and make sure the length/version is correct.
        Scope scope = parseScope ? new Scope() : null;
        byte[] addr = ipStringToBytes(ipString, scope);
        if (addr == null || addr.length != expectBytes) {
          return null;
        }
    
        return bytesToInetAddress(addr, (scope != null) ? scope.scope : null);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/witness/WitnessRegisterMessage.java

        public byte[] getContextHandle() {
            return contextHandle != null ? contextHandle.clone() : null;
        }
    
        /**
         * Sets the context handle.
         *
         * @param contextHandle the context handle
         */
        public void setContextHandle(byte[] contextHandle) {
            this.contextHandle = contextHandle != null ? contextHandle.clone() : null;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/SmbTreeTest.java

        /**
         * Test for unwrap with null parameter.
         * Verifies behavior when null is passed to unwrap.
         */
        @Test
        void testUnwrap_withNullParameter() {
            when(smbTree.unwrap(null)).thenThrow(new NullPointerException("Type cannot be null"));
    
            assertThrows(NullPointerException.class, () -> smbTree.unwrap(null), "Should throw NullPointerException when type is null");
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
Back to top