Search Options

Results per page
Sort
Preferred Languages
Advance

Results 461 - 470 of 1,766 for CREATE (0.03 sec)

  1. src/test/java/jcifs/dcerpc/msrpc/MsrpcLsarCloseTest.java

        @BeforeEach
        void setUp() {
            // Create a mock policy_handle for each test
            mockHandle = mock(policy_handle.class);
        }
    
        /**
         * Test case for the {@link MsrpcLsarClose#MsrpcLsarClose(policy_handle)} constructor.
         * Verifies that the handle, ptype, and flags are correctly initialized.
         */
        @Test
        void testConstructor() {
            // Create an instance of MsrpcLsarClose with the mock handle
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/NavigableMapTestSuiteBuilder.java

        DescendingTestMapGenerator(TestSortedMapGenerator<K, V> delegate) {
          super(delegate);
        }
    
        @Override
        public NavigableMap<K, V> create(Object... entries) {
          NavigableMap<K, V> map = (NavigableMap<K, V>) delegate.create(entries);
          return map.descendingMap();
        }
    
        @Override
        public Iterable<Entry<K, V>> order(List<Entry<K, V>> insertionOrder) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/lease/Smb2LeaseKeyTest.java

            Smb2LeaseKey key = new Smb2LeaseKey();
    
            assertNotNull(key.getKey());
            assertEquals(16, key.getKey().length);
            assertFalse(key.isZero());
        }
    
        @Test
        @DisplayName("Should create lease key from byte array")
        void testLeaseKeyFromBytes() {
            byte[] testBytes = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10 };
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/create/LeaseV1CreateContextResponse.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal.smb2.create;
    
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.smb2.lease.Smb2LeaseKey;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 Lease V1 Create Context Response
     *
     * MS-SMB2 2.2.14.2.10
     */
    public class LeaseV1CreateContextResponse implements CreateContextResponse {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java

        void testReadParametersWireFormatNonAlignedOffset() throws Exception {
            ByteBuffer buffer = ByteBuffer.allocate(100);
            buffer.order(ByteOrder.LITTLE_ENDIAN);
    
            // Create notification with non-aligned nextEntryOffset
            buffer.putInt(3); // Non-aligned nextEntryOffset (not divisible by 4)
            buffer.putInt(FileNotifyInformation.FILE_ACTION_ADDED);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/DirFileEntryAdapterIteratorTest.java

            // Given
            when(mockDelegate.hasNext()).thenReturn(true, true, true, false);
            when(mockDelegate.next()).thenReturn(mockFileEntry1, mockFileEntry2, mockFileEntry3);
    
            // Create a simple test iterator that returns mocked resources
            DirFileEntryAdapterIterator iterator = new DirFileEntryAdapterIterator(mockParent, mockDelegate, null) {
                @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  7. okhttp-sse/api/okhttp-sse.api

    	public static final field Companion Lokhttp3/sse/EventSource$Factory$Companion;
    	public static fun create (Lokhttp3/Call$Factory;)Lokhttp3/sse/EventSource$Factory;
    	public abstract fun newEventSource (Lokhttp3/Request;Lokhttp3/sse/EventSourceListener;)Lokhttp3/sse/EventSource;
    }
    
    public final class okhttp3/sse/EventSource$Factory$Companion {
    	public final fun create (Lokhttp3/Call$Factory;)Lokhttp3/sse/EventSource$Factory;
    }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:47:47 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapEqualsTester.java

      public void testOrderingAffectsEqualsComparisons() {
        ListMultimap<K, V> multimap1 =
            getSubjectGenerator()
                .create(mapEntry(k0(), v0()), mapEntry(k0(), v1()), mapEntry(k0(), v0()));
        ListMultimap<K, V> multimap2 =
            getSubjectGenerator()
                .create(mapEntry(k0(), v1()), mapEntry(k0(), v0()), mapEntry(k0(), v0()));
        new EqualsTester().addEqualityGroup(multimap1).addEqualityGroup(multimap2).testEquals();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  9. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/DeferredSocketAdapter.kt

        if (this.delegate == null && socketAdapterFactory.matchesSocket(sslSocket)) {
          this.delegate = socketAdapterFactory.create(sslSocket)
        }
    
        return delegate
      }
    
      interface Factory {
        fun matchesSocket(sslSocket: SSLSocket): Boolean
    
        fun create(sslSocket: SSLSocket): SocketAdapter
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  10. tests/update_belongs_to_test.go

    import (
    	"testing"
    
    	"gorm.io/gorm"
    	. "gorm.io/gorm/utils/tests"
    )
    
    func TestUpdateBelongsTo(t *testing.T) {
    	user := *GetUser("update-belongs-to", Config{})
    
    	if err := DB.Create(&user).Error; err != nil {
    		t.Fatalf("errors happened when create: %v", err)
    	}
    
    	user.Company = Company{Name: "company-belongs-to-association"}
    	user.Manager = &User{Name: "manager-belongs-to-association"}
    	if err := DB.Save(&user).Error; err != nil {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Jul 14 06:55:54 UTC 2022
    - 1.6K bytes
    - Viewed (0)
Back to top