Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 127 for nCopies (0.03 sec)

  1. src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java

            NtlmMessage.writeSecurityBuffer(dest, 0, 4, null);
            assertArrayEquals(before, dest, "Zero length should leave dest unchanged");
        }
    
        @Test
        @DisplayName("writeSecurityBuffer copies data and sets fields")
        void testWriteSecurityBufferNonZero() {
            byte[] dest = new byte[8 + 4];
            byte[] payload = { 0x55, 0x66, 0x77 };
            NtlmMessage.writeSecurityBuffer(dest, 0, 8, payload);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/JAASAuthenticatorTest.java

            assertNull(pc.getPassword());
            verify(spyAuth, times(1)).getPasswordAsCharArray();
        }
    
        @Test
        @DisplayName("clone: copies fields and cached subject; instances are independent")
        void testCloneCopiesFieldsAndIndependence() throws Exception {
            // Use configuration-based constructor to also exercise copying of configuration/service fields
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableCollection.java

     *       unnecessary; for example, {@code copyOf(copyOf(anArrayList))} should copy the data only
     *       once. This reduces the expense of habitually making defensive copies at API boundaries.
     *       However, the precise conditions for skipping the copy operation are undefined.
     *   <li><b>Warning:</b> a view collection such as {@link ImmutableMap#keySet} or {@link
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/ByteSource.java

        long count = 0;
        long skipped;
        while ((skipped = skipUpTo(in, Integer.MAX_VALUE)) > 0) {
          count += skipped;
        }
        return count;
      }
    
      /**
       * Copies the contents of this byte source to the given {@code OutputStream}. Does not close
       * {@code output}.
       *
       * @return the number of bytes copied
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 08 18:35:13 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/Files.java

          imports = "com.google.common.io.Files")
      public static void write(CharSequence from, File to, Charset charset) throws IOException {
        asCharSink(to, charset).write(from);
      }
    
      /**
       * Copies all bytes from a file to an output stream.
       *
       * <p><b>{@link java.nio.file.Path} equivalent:</b> {@link
       * java.nio.file.Files#copy(java.nio.file.Path, OutputStream)}.
       *
       * @param from the source file
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 25 20:24:13 UTC 2025
    - 32.8K bytes
    - Viewed (0)
  6. LICENSES/vendor/github.com/containerd/errdefs/pkg/LICENSE

          granted to You under this License for that Work shall terminate
          as of the date such litigation is filed.
    
       4. Redistribution. You may reproduce and distribute copies of the
          Work or Derivative Works thereof in any medium, with or without
          modifications, and in Source or Object form, provided that You
          meet the following conditions:
    
    Registered: Fri Dec 26 09:05:12 UTC 2025
    - Last Modified: Wed Mar 05 11:36:39 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeTest.java

            int bytesWritten = transCallNamedPipe.writeParametersWireFormat(dst, 0);
    
            // Then
            assertEquals(0, bytesWritten);
        }
    
        @Test
        @DisplayName("Test writeDataWireFormat copies data correctly")
        void testWriteDataWireFormat() {
            // Given
            transCallNamedPipe = new TransCallNamedPipe(mockConfig, TEST_PIPE_NAME, TEST_DATA, 0, TEST_DATA.length);
            byte[] dst = new byte[100];
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

            return false;
        }
    
        @Override
        public String toString() {
            return "MacSigningKey=" + Hexdump.toHexString(this.macSigningKey, 0, this.macSigningKey.length);
        }
    
        /**
         * Copies the given text data into the destination array
         *
         * @param cfg
         *            The configuration to use for text encoding
         * @param t
         *            The text data to copy
         * @param dst
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

            when(mockCifsContext.getNameServiceClient()).thenReturn(mockNameServiceClient);
    
            ntlmConnection = new NtlmHttpURLConnection(mockConnection, mockCifsContext);
        }
    
        /**
         * Test that the constructor copies settings from the wrapped connection.
         * @throws ProtocolException
         */
        @Test
        void testConstructorCopiesSettings() throws ProtocolException {
            // Arrange
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  10. LICENSE

          granted to You under this License for that Work shall terminate
          as of the date such litigation is filed.
    
       4. Redistribution. You may reproduce and distribute copies of the
          Work or Derivative Works thereof in any medium, with or without
          modifications, and in Source or Object form, provided that You
          meet the following conditions:
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Jan 11 04:26:17 UTC 2021
    - 11.1K bytes
    - Viewed (0)
Back to top