Search Options

Results per page
Sort
Preferred Languages
Advance

Results 531 - 540 of 3,008 for Shouldn (2.38 sec)

  1. android/guava/src/com/google/common/collect/CompactLinkedHashSet.java

     * even {@code java.util.HashSet}, and places considerably less load on the garbage collector. Like
     * {@code java.util.LinkedHashSet}, it offers insertion-order iteration, with identical behavior.
     *
     * <p>This class should not be assumed to be universally superior to {@code
     * java.util.LinkedHashSet}. Generally speaking, this class reduces object allocation and memory
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 14:59:07 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java

            infoField.setAccessible(true);
            infoField.set(msrpcShareGetInfo, info502);
    
            // 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)
  3. tests/associations_belongs_to_test.go

    	}
    
    	if company.ID == 0 {
    		t.Fatalf("Company's ID should be created")
    	}
    
    	if err := DB.Model(&user2).Association("Manager").Append(manager); err != nil {
    		t.Fatalf("Error happened when append Manager, got %v", err)
    	}
    
    	if manager.ID == 0 {
    		t.Fatalf("Manager's ID should be created")
    	}
    
    	user.Company = company
    	user.Manager = manager
    	user.CompanyID = &company.ID
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Oct 30 09:15:49 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/com/SmbComWriteResponseTest.java

            cfgMock = mock(Configuration.class);
            resp = new SmbComWriteResponse(cfgMock);
        }
    
        @Test
        public void testInitialCountIsZero() {
            assertEquals(0, resp.getCount(), "Initial count should be zero");
        }
    
        @Test
        public void testReadParameterWordsUpdatesCount() {
            // create a buffer with count = 0x1234 (4660 decimal)
            // Using little-endian byte order as per SMBUtil.readInt2
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/util/RenderDataUtilTest.java

            // Test List interface (should use get(0) for performance)
            List<BsUser> list = Arrays.asList(entity1, entity2);
            RenderDataUtil.register(data, "list", list);
    
            Object result = data.getDataMap().get("list");
            assertNotNull(result);
            assertTrue(result instanceof List);
    
            // Test Set interface (should use iterator().next())
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 9K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java

      }
    
      private void expectReturnsTrue(Target target) {
        String message = Platform.format("retainAll(%s) should return true", target);
        assertTrue(message, collection.retainAll(target.toRetain));
      }
    
      private void expectReturnsFalse(Target target) {
        String message = Platform.format("retainAll(%s) should return false", target);
        assertFalse(message, collection.retainAll(target.toRetain));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java

            // Verify informationLevel (2 bytes) - should be SMB_FILE_BOTH_DIRECTORY_INFO (0x104)
            assertEquals(Trans2FindFirst2.SMB_FILE_BOTH_DIRECTORY_INFO, SMBUtil.readInt2(buffer, 4));
    
            // Verify resumeKey (4 bytes)
            assertEquals(TEST_RESUME_KEY, SMBUtil.readInt4(buffer, 6));
    
            // Verify tflags (2 bytes) - should be 0x00
            assertEquals(0x00, SMBUtil.readInt2(buffer, 10));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  8. tests/create_test.go

    	}
    
    	if u1.ID == 0 {
    		t.Errorf("user's primary key should has value after create, got : %v", u1.ID)
    	}
    
    	if u1.CreatedAt.IsZero() {
    		t.Errorf("user's created at should be not zero")
    	}
    
    	if u1.UpdatedAt.IsZero() {
    		t.Errorf("user's updated at should be not zero")
    	}
    
    	var newUser User
    	if err := DB.Where("id = ?", u1.ID).First(&newUser).Error; err != nil {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jul 21 09:55:20 UTC 2025
    - 26.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/eventbus/EventBus.java

     * subscribers should be reasonably quick. If an event may trigger an extended process (such as a
     * database load), spawn a thread or queue it for later. (For a convenient way to do this, use an
     * {@link AsyncEventBus}.)
     *
     * <h2>Subscriber Methods</h2>
     *
     * <p>Event subscriber methods must accept only one argument: the event.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveIfTester.java

      public void testRemoveIf_alwaysFalse() {
        assertFalse("removeIf(x -> false) should return false", collection.removeIf(x -> false));
        expectUnchanged();
      }
    
      @CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE)
      @CollectionSize.Require(absent = ZERO)
      public void testRemoveIf_sometimesTrue() {
        assertTrue(
            "removeIf(isEqual(present)) should return true",
            collection.removeIf(Predicate.isEqual(samples.e0())));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 4.2K bytes
    - Viewed (0)
Back to top