Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3311 - 3320 of 4,322 for nulls (0.25 sec)

  1. src/test/java/jcifs/smb/SmbFileOutputStreamTest.java

                    SmbConstants.DEFAULT_SHARING);
    
            // When & Then
            assertThrows(NullPointerException.class, () -> outputStream.write(null));
            assertThrows(NullPointerException.class, () -> outputStream.write(null, 0, 10));
        }
    
        @Test
        void testWriteInvalidOffsetAndLength() throws IOException, CIFSException {
            // Given
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/PathValidatorTest.java

            assertThrows(SmbException.class, () -> {
                validator.validatePath("\\\\..\\share");
            });
    
            // Test invalid characters in paths - caught by null byte check
            assertThrows(SmbException.class, () -> {
                // Null byte will be caught
                validator.validatePath("//server\0/share");
            });
    
            // Test path with control characters in strict mode
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/ConfigTest.java

            InetAddress localhost = InetAddress.getByName("localhost");
            InetAddress defaultAddress = InetAddress.getByName("127.0.0.1");
            assertEquals(localhost, Config.getInetAddress(testProperties, "test.host", null));
            assertEquals(defaultAddress, Config.getInetAddress(testProperties, "nonexistent.host", defaultAddress));
        }
    
        @Test
        @DisplayName("Should get boolean property with default value")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/lang/ClassLoaderUtilTest.java

        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testIsAncestor() throws Exception {
            final ClassLoader cl1 = new URLClassLoader(new URL[] { new URL("file:/foo") }, null);
            final ClassLoader cl2 = new URLClassLoader(new URL[] { new URL("file:/bar") }, cl1);
            final ClassLoader cl3 = new URLClassLoader(new URL[] { new URL("file:/baz") }, cl2);
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Hashing.java

       */
      static int smear(int hashCode) {
        return (int) (C2 * Integer.rotateLeft((int) (hashCode * C1), 15));
      }
    
      static int smearedHash(@Nullable Object o) {
        return smear((o == null) ? 0 : o.hashCode());
      }
    
      private static final int MAX_TABLE_SIZE = Ints.MAX_POWER_OF_TWO;
    
      static int closedTableSize(int expectedEntries, double loadFactor) {
        // Get the recommended table size.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/GraphConnections.java

       */
      Iterator<EndpointPair<N>> incidentEdgeIterator(N thisNode);
    
      /**
       * Returns the value associated with the edge connecting the origin node to {@code node}, or null
       * if there is no such edge.
       */
      @Nullable V value(N node);
    
      /** Remove {@code node} from the set of predecessors. */
      void removePredecessor(N node);
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/DefaultArtifactFilterManager.java

            this.delegates = delegates;
            this.coreArtifacts = coreExports.getExportedArtifacts();
        }
    
        private synchronized Set<String> getExcludedArtifacts() {
            if (excludedArtifacts == null) {
                excludedArtifacts = new LinkedHashSet<>(coreArtifacts);
            }
            return excludedArtifacts;
        }
    
        /**
         * Returns the artifact filter for the core + extension artifacts.
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ArtifactModelSource.java

        public int hashCode() {
            return hashCode;
        }
    
        @Override
        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
            if (obj == null) {
                return false;
            }
    
            if (!ArtifactModelSource.class.equals(obj.getClass())) {
                return false;
            }
    
            ArtifactModelSource other = (ArtifactModelSource) obj;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionResult.java

            this.topologicallySortedProjects = topologicallySortedProjects;
    
            return this;
        }
    
        @Override
        public List<MavenProject> getTopologicallySortedProjects() {
            return null == topologicallySortedProjects
                    ? Collections.emptyList()
                    : Collections.unmodifiableList(topologicallySortedProjects);
        }
    
        @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  10. buildscripts/verify-healing-with-root-disks.sh

    	for i in $(seq 1 4); do
    		"${MINIO[@]}" --address ":$((start_port + i))" ${args[@]} 2>&1 >"${WORK_DIR}/server$i.log" &
    	done
    
    	# Wait until all nodes return 403
    	for i in $(seq 1 4); do
    		while [ "$(curl -m 1 -s -o /dev/null -w "%{http_code}" http://localhost:$((start_port + i)))" -ne "403" ]; do
    			echo -n "."
    			sleep 1
    		done
    	done
    
    }
    
    # Prepare fake disks with losetup
    function prepare_block_devices() {
    	set -e
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri May 26 05:07:25 UTC 2023
    - 2.2K bytes
    - Viewed (0)
Back to top