Search Options

Results per page
Sort
Preferred Languages
Advance

Results 561 - 570 of 702 for behaviors (0.07 sec)

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

                }
                return null;
            }).when(cache).resolveSids0(any(), any(), any());
    
            cache.resolveSids(ctx, null, arr, 2, 1); // resolve only s3
    
            // Verify cache behavior - after reset, spying on the same cache won't work
            // Since we're working with internal state, we'll verify the side effects
            assertEquals("DOM", s1.getDomainName());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

                oplockLevelField.set(notification, (byte) 0x01);
    
                // The implementation calls Hexdump.toHexString which throws NPE on null
                // This test verifies the actual behavior
                assertThrows(NullPointerException.class, () -> notification.toString());
            }
    
            @ParameterizedTest
            @DisplayName("Should format different oplock levels correctly")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/AllocInfoTest.java

                assertEquals(3, FileSystemInformation.FS_SIZE_INFO);
                assertEquals(7, FileSystemInformation.FS_FULL_SIZE_INFO);
            }
        }
    
        @Nested
        @DisplayName("Mock Behavior Tests")
        class MockBehaviorTests {
    
            @Test
            @DisplayName("Should return mocked capacity value")
            void shouldReturnMockedCapacity() {
                // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  4. cmd/sftp-server-driver.go

    		objInfo, err := clnt.StatObject(context.Background(), bucket, object, minio.StatObjectOptions{})
    		if err != nil {
    			if minio.ToErrorResponse(err).Code == "NoSuchKey" {
    				// dummy return to satisfy LIST (stat -> list) behavior.
    				return listerAt{&minioFileInfo{
    					p:     pathClean(object),
    					info:  minio.ObjectInfo{Key: object},
    					isDir: true,
    				}}, nil
    			}
    			return nil, err
    		}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Feb 10 16:35:49 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/AtomicLongMap.java

       * equivalent to that of calling {@code put(k, v)} on this map once for each mapping from key
       * {@code k} to value {@code v} in the specified map. The behavior of this operation is undefined
       * if the specified map is modified while the operation is in progress.
       */
      public void putAll(Map<? extends K, ? extends Long> m) {
        m.forEach(this::put);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/util/AuthenticationRateLimiterTest.java

                                } catch (SmbException e) {
                                    // Account locked out - this is expected behavior in concurrent scenario
                                    blockedAttempts.incrementAndGet();
                                    break; // Stop trying if account is locked
                                }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java

     *
     * <p>The class is abstract, so a concrete stub implementation is
     * provided purely to expose protected state and to satisfy the abstract
     * method contract.  The tests focus on public API behaviour and the
     * parsing logic in {@code readParameterWordsWireFormat} and
     * {@code readBytesWireFormat}.
     */
    public class SmbComTransactionResponseTest {
        /** A minimal concrete subclass for testing */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

          // RealRoutePlanner will add the connection to the pool itself, other RoutePlanners may not
          // TODO: make all RoutePlanners consistent in this behavior
          if (connection !in connections) {
            connection.withLock { put(connection) }
          }
    
          return 0L // run again immediately to create more connections if needed
        } catch (e: IOException) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jun 03 17:10:08 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Strings.java

        if (o == null) {
          return "null";
        }
        try {
          return o.toString();
        } catch (Exception e) { // sneaky checked exception
          // Default toString() behavior - see Object.toString()
          String objectToString =
              o.getClass().getName() + '@' + Integer.toHexString(System.identityHashCode(o));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 27 17:53:41 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  10. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java

       * implemented in terms of that method (though they will likely be overridden by subclasses for
       * performance reasons).) This means that a call to this method have can different behavior in GWT
       * and non-GWT environments UNLESS subclasses are careful to always override all methods
       * implemented in terms of sortedDelegate (except comparator()).
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 15.5K bytes
    - Viewed (0)
Back to top