Search Options

Results per page
Sort
Preferred Languages
Advance

Results 391 - 400 of 4,648 for new1 (0.02 sec)

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

            List<FileNotifyInformation> info = new ArrayList<>();
            NotifyResponse resp = mock(NotifyResponse.class);
            when(resp.isReceived()).thenReturn(true);
            when(resp.getErrorCode()).thenReturn(0);
            when(resp.getNotifyInformation()).thenReturn(info);
            setupSmb2(resp, new byte[16]);
            SmbWatchHandleImpl sut = new SmbWatchHandleImpl(handle, 0x1234, true);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  2. samples/slack/src/main/java/okhttp3/slack/SlackApi.java

      public final String clientSecret;
      public final int port;
    
      public SlackApi(String clientId, String clientSecret, int port) {
        this.httpClient = new OkHttpClient.Builder()
            .build();
        this.moshi = new Moshi.Builder()
            .add(new SlackJsonAdapters())
            .build();
        this.clientId = clientId;
        this.clientSecret = clientSecret;
        this.port = port;
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jul 06 19:30:55 UTC 2018
    - 4.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SMBSignatureValidationExceptionTest.java

        void messageAndCauseConstructor_setsMessageCause_andUnsuccessfulStatus(String msg) {
            // Arrange
            Throwable cause = new IllegalStateException("root cause");
    
            // Act
            SMBSignatureValidationException ex = new SMBSignatureValidationException(msg, cause);
    
            // Assert
            if (msg == null) {
                assertNull(ex.getMessage(), "Null message should remain null");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/ntlmssp/Type1MessageTest.java

        void testType1MessageFromBytes() throws IOException {
            // Given - Create a Type 1 message and convert to bytes
            Type1Message original = new Type1Message(mockContext);
            byte[] messageBytes = original.toByteArray();
    
            // When
            Type1Message parsed = new Type1Message(messageBytes);
    
            // Then
            // Note: getType() method does not exist in Type1Message
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/opensearch/extension/ExtensionPlugin.java

            extra.put("reloadable_ja_stop", JapaneseStopTokenFilterFactory::new);
            extra.put("kanji_number", KanjiNumberFilterFactory::new);
            extra.put("kuromoji_pos_concat", PosConcatenationFilterFactory::new);
            extra.put("char_type", CharTypeFilterFactory::new);
            extra.put("number_concat", NumberConcatenationFilterFactory::new);
            extra.put("pattern_concat", PatternConcatenationFilterFactory::new);
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Tue Jul 08 14:37:06 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ObjectArraysTest.java

      }
    
      public void testToArrayImpl2() {
        doTestToArrayImpl2(new ArrayList<Integer>(), new Integer[0], false);
        doTestToArrayImpl2(new ArrayList<Integer>(), new Integer[1], true);
    
        doTestToArrayImpl2(Lists.newArrayList(1), new Integer[0], false);
        doTestToArrayImpl2(Lists.newArrayList(1), new Integer[1], true);
        doTestToArrayImpl2(Lists.newArrayList(1), new Integer[] {2, 3}, true);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/ExecutionListTest.java

      private final ExecutionList list = new ExecutionList();
    
      public void testRunOnPopulatedList() throws Exception {
        Executor exec = newCachedThreadPool();
        CountDownLatch countDownLatch = new CountDownLatch(3);
        list.add(new MockRunnable(countDownLatch), exec);
        list.add(new MockRunnable(countDownLatch), exec);
        list.add(new MockRunnable(countDownLatch), exec);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java

            assertThrows(SmbException.class, () -> new SMB1SigningDigest(mockTransport, mockAuth));
        }
    
        @Test
        @DisplayName("Test update method with valid data")
        void testUpdateWithValidData() {
            SMB1SigningDigest digest = new SMB1SigningDigest(testMacSigningKey);
            byte[] data = new byte[] { 0x01, 0x02, 0x03, 0x04 };
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/compression/DefaultCompressionService.java

                throw new CIFSException("Invalid offset or length");
            }
            if (!isAlgorithmSupported(algorithm)) {
                throw new CIFSException("Unsupported compression algorithm: " + algorithm);
            }
            if (length < MIN_COMPRESSION_SIZE) {
                log.debug("Data too small for compression ({} bytes), returning uncompressed", length);
                byte[] result = new byte[length];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/score/QueryRescorerTest.java

            // Test with boolean parameter
            Map<String, Object> booleanParams = new HashMap<>();
            booleanParams.put("boolean", true);
            assertNotNull(queryRescorer.evaluate(booleanParams));
    
            // Test with unknown parameter
            Map<String, Object> unknownParams = new HashMap<>();
            unknownParams.put("unknown", new Object());
            assertNull(queryRescorer.evaluate(unknownParams));
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
Back to top