Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 1,535 for results (0.1 sec)

  1. src/test/java/jcifs/http/HandlerTest.java

        }
    
        @Test
        void testOpenConnection_UnknownProtocol_ThrowsIOException() {
            // This test verifies that attempting to open a connection for an unsupported protocol
            // results in an IOException, as no default handler should be found.
            assertThrows(IOException.class, () -> {
                handler.openConnection(new URL("unknownprotocol://somehost/path"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  2. cmd/peer-rest-client.go

    	if err != nil {
    		return SpeedTestResult{}, err
    	}
    
    	var result SpeedTestResult
    	err = gob.NewDecoder(waitReader).Decode(&result)
    	if err != nil {
    		return result, err
    	}
    	if result.Error != "" {
    		return result, errors.New(result.Error)
    	}
    	return result, nil
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java

            digest.update(data1, 0, data1.length);
            byte[] result1 = digest.digest();
            assertNotNull(result1);
    
            // Second cycle
            byte[] data2 = new byte[] { 0x05, 0x06, 0x07, 0x08 };
            digest.update(data2, 0, data2.length);
            byte[] result2 = digest.digest();
            assertNotNull(result2);
    
            // Results should be different due to different input
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/BiMap.java

       */
      @CanIgnoreReturnValue
      @Nullable V forcePut(@ParametricNullness K key, @ParametricNullness V value);
    
      // Bulk Operations
    
      /**
       * {@inheritDoc}
       *
       * <p><b>Warning:</b> the results of calling this method may vary depending on the iteration order
       * of {@code map}.
       *
       * @throws IllegalArgumentException if an attempt to {@code put} any entry fails. Note that some
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 17:32:30 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  5. cmd/data-scanner.go

    				}
    				saveBackgroundHealInfo(ctx, objAPI, newHealInfo)
    			}
    
    			// Wait before starting next cycle and wait on startup.
    			results := make(chan DataUsageInfo, 1)
    			go storeDataUsageInBackend(ctx, objAPI, results)
    			err := objAPI.NSScanner(ctx, results, uint32(cycleInfo.current), scanMode)
    			scannerLogIf(ctx, err)
    			res := map[string]string{"cycle": strconv.FormatUint(cycleInfo.current, 10)}
    			if err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 45.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java

            // Call getSecurity multiple times - should return consistent results
            ACE[] result1 = msrpcShareGetInfo.getSecurity();
            ACE[] result2 = msrpcShareGetInfo.getSecurity();
    
            // Both should be null (no DACL)
            assertNull(result1);
            assertNull(result2);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/FileEntryAdapterIteratorTest.java

            });
        }
    
        @Test
        @DisplayName("Complex scenario with multiple filter conditions")
        void complexFilterScenario() throws Exception {
            // Setup: three entries with different filter results
            FileEntry entry1 = mock(FileEntry.class);
            FileEntry entry2 = mock(FileEntry.class);
            FileEntry entry3 = mock(FileEntry.class);
    
            when(delegate.hasNext()).thenReturn(true, true, true, false);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/FileEntryTest.java

        @Test
        @DisplayName("Calling a method on null reference throws NPE")
        void nullReference_throwsNPE() {
            // Arrange
            FileEntry e = null;
            // Act & Assert: demonstrate invalid usage results in NPE
            assertThrows(NullPointerException.class, () -> e.getName());
        }
    
        @Nested
        @DisplayName("Mockito stubbing for edge cases")
        class MockitoEdgeCases {
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java

            int result = response.readSetupWireFormat(buffer, 0, 100);
            assertEquals(0, result);
    
            // Test with different parameters
            result = response.readSetupWireFormat(buffer, 10, 50);
            assertEquals(0, result);
    
            // Test with zero length
            result = response.readSetupWireFormat(buffer, 0, 0);
            assertEquals(0, result);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/SidResolver.java

     */
    public interface SidResolver {
    
        /**
         * Resolve an array of SIDs using a cache and at most one MSRPC request.
         * <p>
         * This method will attempt
         * to resolve SIDs using a cache and cache the results of any SIDs that
         * required resolving with the authority. SID cache entries are currently not
         * expired because under normal circumstances SID information never changes.
         *
         * @param tc
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
Back to top