Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 1,089 for asDays (0.25 sec)

  1. src/test/java/jcifs/smb1/smb1/SmbComLogoffAndXTest.java

            assertNotNull(msg, "Message must not be null after construction");
        }
    
        @ParameterizedTest
        @ValueSource(ints = { 0, 1, 5, -1, 10 })
        @DisplayName("writeParameterWordsWireFormat always returns 0")
        void writeParameterWordsWireFormatReturnsZero(int index) {
            SmbComLogoffAndX msg = new SmbComLogoffAndX(null);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/SecureKeyManager.java

        public static void secureWipe(byte[] array) {
            if (array != null) {
                Arrays.fill(array, (byte) 0);
                // Additional passes with different patterns for enhanced security
                Arrays.fill(array, (byte) 0xFF);
                Arrays.fill(array, (byte) 0xAA);
                Arrays.fill(array, (byte) 0x55);
                Arrays.fill(array, (byte) 0);
            }
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableTable.java

      }
    
      /**
       * Guaranteed to throw an exception and leave the table unmodified.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Unsupported operation.
       */
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      public final void clear() {
        throw new UnsupportedOperationException();
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/persistent/DurableHandleReconnect.java

            }
            this.fileId = Arrays.copyOf(fileId, 16);
        }
    
        @Override
        public byte[] getName() {
            return CONTEXT_NAME_BYTES;
        }
    
        /**
         * Get the file ID
         * @return the 16-byte file ID
         */
        public byte[] getFileId() {
            return Arrays.copyOf(fileId, 16);
        }
    
        @Override
        public int size() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/DosErrorTest.java

            verify(consumer, times(3)).accept(dosCaptor.capture(), ntCaptor.capture());
            assertIterableEquals(Arrays.asList(0x00000000, 0x00050001, 0x007b0001), dosCaptor.getAllValues());
            assertIterableEquals(Arrays.asList(0x00000000, 0xc0000022, 0xc0000033), ntCaptor.getAllValues());
    
            // And ensure no further interactions happened
            verifyNoMoreInteractions(consumer);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Platform.java

       * about arrays for now, as they're a mess. (We previously discussed this in the review of
       * ObjectArrays, which is the main caller of this method.)
       */
      static <T extends @Nullable Object> T[] newArray(T[] reference, int length) {
        T[] empty = reference.length == 0 ? reference : Arrays.copyOf(reference, 0);
        return Arrays.copyOf(empty, length);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/util/DocumentUtilTest.java

            assertEquals(Arrays.asList("aaa", "bbb"), (List<String>) DocumentUtil.getValue(doc, "key1", List.class));
        }
    
        public void test_list() {
            Map<String, Object> doc = new HashMap<>();
            doc.put("key1", Arrays.asList("aaa", "bbb"));
            assertArrayEquals(new String[] { "aaa", "bbb" }, DocumentUtil.getValue(doc, "key1", String[].class));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/lease/Smb2LeaseKey.java

                throw new IllegalArgumentException("Lease key must be 16 bytes, got " + key.length);
            }
            this.key = Arrays.copyOf(key, LEASE_KEY_SIZE);
        }
    
        /**
         * Get the lease key bytes
         *
         * @return copy of the 16-byte lease key
         */
        public byte[] getKey() {
            return Arrays.copyOf(key, LEASE_KEY_SIZE);
        }
    
        /**
         * Write the lease key to a buffer
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/UnsignedLongs.java

       *
       * <p>The returned comparator is inconsistent with {@link Object#equals(Object)} (since arrays
       * support only identity equality), but it is consistent with {@link Arrays#equals(long[],
       * long[])}.
       *
       * <p><b>Java 9+ users:</b> Use {@link Arrays#compareUnsigned(long[], long[])
       * Arrays::compareUnsigned}.
       */
      public static Comparator<long[]> lexicographicalComparator() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/project/artifact/DefaultMavenMetadataCacheTest.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.project.artifact;
    
    import java.util.Arrays;
    import java.util.Collections;
    
    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.artifact.repository.ArtifactRepository;
    import org.apache.maven.artifact.resolver.filter.ExcludesArtifactFilter;
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top