Search Options

Results per page
Sort
Preferred Languages
Advance

Results 481 - 490 of 1,459 for systemd (0.05 sec)

  1. okcurl/src/main/kotlin/okhttp3/curl/internal/-MainCommon.kt

          val headers = response.headers
          for ((name, value) in headers) {
            println("$name: $value")
          }
          println()
        }
    
        // Stream the response to the System.out as it is returned from the server.
        val out = System.out.sink()
        val source = response.body.source()
        while (!source.exhausted()) {
          out.write(source.buffer, source.buffer.size)
          out.flush()
        }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/beans/converter/TimestampConverterTest.java

            final TimestampConverter converter = new TimestampConverter("yyyy/MM/dd HH:mm:ss");
            final java.sql.Timestamp result = (java.sql.Timestamp) converter.getAsObject("2008/12/31 12:34:56");
            System.out.println(result);
            assertThat(converter.getAsString(result), is("2008/12/31 12:34:56"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testIsTarget() throws Exception {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

                    data[SIGNATURE_OFFSET + i] = 0;
                }
    
                mac.update(data, 0, data.length);
                byte[] signature = mac.doFinal();
    
                // Place signature in data
                System.arraycopy(signature, 0, data, SIGNATURE_OFFSET, SIGNATURE_LENGTH);
    
                boolean result = digest.verify(data, 0, data.length, 0, msg);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java

            byte[] buffer = new byte[512];
            int headerStart = 0;
            int bodyStart = Smb2Constants.SMB2_HEADER_LENGTH;
    
            // Write SMB2 header (64 bytes)
            // Protocol ID
            System.arraycopy(new byte[] { (byte) 0xFE, 'S', 'M', 'B' }, 0, buffer, headerStart, 4);
            // Structure size (64)
            SMBUtil.writeInt2(64, buffer, headerStart + 4);
            // Credit charge
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequestTest.java

            // Verify capabilities (4 bytes)
            assertEquals(DEFAULT_CAPABILITIES, SMBUtil.readInt4(buffer, 0));
    
            // Verify client GUID (16 bytes)
            byte[] extractedGuid = new byte[16];
            System.arraycopy(buffer, 4, extractedGuid, 0, 16);
            assertArrayEquals(defaultClientGuid, extractedGuid);
    
            // Verify security mode (2 bytes)
            assertEquals(DEFAULT_SECURITY_MODE, SMBUtil.readInt2(buffer, 20));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

                }
                SMBUtil.writeInt4(this.signSequence, data, index);
                update(data, offset, length);
                System.arraycopy(digest(), 0, data, index, 8);
                if (this.bypass) {
                    this.bypass = false;
                    System.arraycopy("BSRSPYL ".getBytes(), 0, data, index, 8);
                }
            } catch (final Exception ex) {
                log.error("Signature failed", ex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/SecureCredentialStorage.java

                byte[] ciphertext = cipher.doFinal(plaintextBytes);
    
                // Combine IV and ciphertext
                byte[] result = new byte[GCM_IV_SIZE + ciphertext.length];
                System.arraycopy(iv, 0, result, 0, GCM_IV_SIZE);
                System.arraycopy(ciphertext, 0, result, GCM_IV_SIZE, ciphertext.length);
    
                return result;
    
            } finally {
                // Securely wipe plaintext bytes - guaranteed by try-finally
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/ntlmssp/av/AvPairs.java

                    }
                    foundEnd = true;
                    break;
                }
    
                final byte[] raw = new byte[avLen];
                System.arraycopy(data, pos, raw, 0, avLen);
                pairs.add(parseAvPair(avId, raw));
    
                pos += avLen;
            }
            if (!foundEnd) {
                throw new CIFSException("Missing AvEOL");
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  9. samples/guide/src/main/java/okhttp3/recipes/PostFile.java

            .build();
    
        try (Response response = client.newCall(request).execute()) {
          if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
          System.out.println(response.body().string());
        }
      }
    
      public static void main(String... args) throws Exception {
        new PostFile().run();
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat May 25 18:02:55 UTC 2019
    - 1.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChange.java

    package jcifs.internal.smb1.trans.nt;
    
    import jcifs.Configuration;
    import jcifs.internal.util.SMBUtil;
    import jcifs.util.Hexdump;
    
    /**
     * SMB1 NT Transaction subcommand for file system change notification.
     *
     * This transaction allows monitoring of file system changes in a directory,
     * such as file creation, modification, deletion, and attribute changes.
     */
    public class NtTransNotifyChange extends SmbComNtTransaction {
    
        int fid;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.7K bytes
    - Viewed (0)
Back to top