Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 398 for isGuest (0.05 sec)

  1. src/main/java/jcifs/internal/smb2/persistent/HandleReconnector.java

    /**
     * Handles automatic reconnection of durable and persistent SMB handles.
     *
     * This class provides retry logic with exponential backoff for handle
     * reconnection after network failures or server issues.
     */
    public class HandleReconnector {
    
        private static final Logger log = LoggerFactory.getLogger(HandleReconnector.class);
    
        private final PersistentHandleManager handleManager;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  2. tests/embedded_struct_test.go

    }
    
    type Content struct {
    	Content interface{} `gorm:"type:String"`
    }
    
    func (c Content) Value() (driver.Value, error) {
    	// mssql driver with issue on handling null bytes https://github.com/denisenkom/go-mssqldb/issues/530,
    	b, err := json.Marshal(c)
    	return string(b[:]), err
    }
    
    func (c *Content) Scan(src interface{}) error {
    	var value Content
    	str, ok := src.(string)
    	if !ok {
    		byt, ok := src.([]byte)
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/hash/HashCodeTest.java

      }
    
      public void testObjectHashCode() {
        HashCode hashCode42 = HashCode.fromInt(42);
        assertEquals(42, hashCode42.hashCode());
      }
    
      // See https://github.com/google/guava/issues/1494
      public void testObjectHashCodeWithSameLowOrderBytes() {
        // These will have the same first 4 bytes (all 0).
        byte[] bytesA = new byte[5];
        byte[] bytesB = new byte[5];
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java

                }
            }
        }
    
        @BeforeEach
        void setup() throws MalformedURLException, CIFSException {
            // Common happy-path defaults
            // Use lenient() to avoid strict stubbing issues with Mockito
            lenient().when(tree.acquire()).thenReturn(tree);
            lenient().when(tree.getConfig()).thenReturn(config);
            lenient().when(config.getListCount()).thenReturn(10);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProblemCollector.java

         */
        int problemsReportedFor(BuilderProblem.Severity... severities);
    
        /**
         * Returns {@code true} if reported problem count exceeded allowed count, and issues were lost. When this
         * method returns {@code true}, it means that element count of stream returned by method {@link #problems()}
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jul 18 17:30:19 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  6. android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt

        try {
          client.newCall(request).execute().close()
          // Hopefully this passes
        } catch (ioe: IOException) {
          // https://github.com/square/okhttp/issues/5840
          when (ioe.cause) {
            is IllegalArgumentException -> {
              assertEquals("Android internal error", ioe.message)
            }
            is CertificateException -> {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 02 14:12:28 UTC 2025
    - 29K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/auth/AuthenticationManagerTest.java

        public void test_addChain_withNull() {
            // ArrayUtils.addAll handles null gracefully by adding it to the array
            authenticationManager.addChain(null);
    
            // Verify null chain doesn't cause issues during operations
            User user = createTestUser("testuser");
            try {
                authenticationManager.insert(user);
                fail("Should throw NullPointerException when processing null chain");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 14K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java

            for (Thread thread : threads) {
                thread.join();
            }
    
            // Then - should complete without errors
            assertTrue(true, "Concurrent setFileId calls should complete without issues");
        }
    
        @Test
        @DisplayName("Should handle file ID with special patterns")
        void testSpecialFileIdPatterns() {
            // Test various special patterns
            byte[] allZeros = new byte[16];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/platform/Platform.kt

        } catch (uoe: UnsupportedOperationException) {
          // UnsupportedOperationException – if the underlying provider does not implement the operation
          // https://github.com/bcgit/bc-java/issues/1773
          listOf()
        }
      }
    
      @Throws(IOException::class)
      open fun connectSocket(
        socket: Socket,
        address: InetSocketAddress,
        connectTimeout: Int,
      ) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/ServerTruncatesRequestTest.kt

          assertThat(response.body.string()).isEqualTo("abc")
          assertThat(response.trailers()).isEqualTo(headersOf("caboose", "xyz"))
        }
      }
    
      @Disabled("Follow up with fix in https://github.com/square/okhttp/issues/6853")
      @Test
      fun serverDisconnectsBeforeSecondRequestHttp1() {
        enableProtocol(Protocol.HTTP_1_1)
    
        server.enqueue(MockResponse(code = 200, body = "Req1"))
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 9.4K bytes
    - Viewed (0)
Back to top