Search Options

Results per page
Sort
Preferred Languages
Advance

Results 501 - 510 of 2,426 for Call (0.02 sec)

  1. src/main/java/jcifs/context/SingletonContext.java

         * specified through this <code>jcifs.properties</code> system property.
         *
         * @return a global context, initialized on first call
         */
        public static synchronized final SingletonContext getInstance() {
            if (INSTANCE == null) {
                try {
                    log.debug("Initializing singleton context");
                    init(null);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SMBSignatureValidationExceptionTest.java

            assertEquals(NtStatus.NT_STATUS_UNSUCCESSFUL, ex.getNtStatus(), "Status should default to unsuccessful for message+cause ctor");
        }
    
        // Interaction: passing a mocked cause should not trigger interactions (nothing to call)
        @Test
        @DisplayName("Mocked cause: no interactions occur when stored as cause")
        void mockedCause_isStored_withoutInteraction() {
            // Arrange
            Throwable mocked = mock(Throwable.class);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  3. tests/scopes_test.go

    	db := DB.Scopes(func(tx *gorm.DB) *gorm.DB {
    		return tx.Table("custom_table")
    	}).Session(&gorm.Session{})
    
    	db.AutoMigrate(&User{})
    	if db.Find(&User{}).Statement.Table != "custom_table" {
    		t.Errorf("failed to call Scopes")
    	}
    
    	result := DB.Scopes(NameIn1And2, func(tx *gorm.DB) *gorm.DB {
    		return tx.Session(&gorm.Session{})
    	}).Find(&users1)
    
    	if result.RowsAffected != 2 {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Jan 12 08:42:21 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TemporaryFileInputStream.java

            try {
                fileInputStream.close();
            } finally {
                FileUtil.deleteInBackground(tempFile);
            }
        }
    
        /**
         * Marks the current position in this input stream. A subsequent call to the reset method repositions this stream at the last marked position so that subsequent reads re-read the same bytes.
         * This method delegates to {@link FileInputStream#mark(int)}.
         *
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  5. src/arena/arena.go

    // NewArena allocates a new arena.
    func NewArena() *Arena {
    	return &Arena{a: runtime_arena_newArena()}
    }
    
    // Free frees the arena (and all objects allocated from the arena) so that
    // memory backing the arena can be reused fairly quickly without garbage
    // collection overhead. Applications must not call any method on this
    // arena after it has been freed.
    func (a *Arena) Free() {
    	runtime_arena_arena_Free(a.a)
    	a.a = nil
    }
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Oct 12 20:23:36 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/dcerpc/ndr/NdrHyperTest.java

            assertThrows(NullPointerException.class, () -> hyper.decode(null));
        }
    
        /**
         * Verify that the encode method forwards the value to NdrBuffer.
         */
        @Test
        @DisplayName("Encode should call NdrBuffer.enc_ndr_hyper with correct value")
        public void testEncodeInteraction() throws NdrException {
            NdrBuffer buf = mock(NdrBuffer.class);
            NdrHyper hyper = new NdrHyper(12345L);
            hyper.encode(buf);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  7. cmd/os_unix.go

    // The permission bits perm (before umask) are used for all
    // directories that MkdirAll creates.
    // If path is already a directory, MkdirAll does nothing
    // and returns nil.
    func osMkdirAll(dirPath string, perm os.FileMode, baseDir string) error {
    	if baseDir != "" {
    		if strings.HasPrefix(baseDir, dirPath) {
    			return nil
    		}
    	}
    
    	// Slow path: make sure parent exists and then call Mkdir for path.
    	i := len(dirPath)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionReuseTest.kt

            body = "/a has moved!",
          ),
        )
        server.enqueue(
          MockResponse(body = "/b is here"),
        )
        val request = Request(server.url("/"))
        val call = client.newCall(request)
        call.execute().use { response ->
          assertThat(
            response.body.string(),
          ).isEqualTo("unrelated response body!")
        }
        assertThat(server.takeRequest().exchangeIndex).isEqualTo(0)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java

            assertSame(mockFileEntry2, retrievedEntries[1]);
        }
    
        @Test
        @DisplayName("Test nextElement method")
        void testNextElement() {
            // First call returns self
            SmbComTransactionResponse result = response.nextElement();
            assertSame(response, result);
        }
    
        @Test
        @DisplayName("Test hasMoreElements method")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/extra-models.md

    ```Python
    user_in = UserIn(username="john", password="secret", email="******@****.***")
    ```
    
    and then we call:
    
    ```Python
    user_dict = user_in.dict()
    ```
    
    we now have a `dict` with the data in the variable `user_dict` (it's a `dict` instead of a Pydantic model object).
    
    And if we call:
    
    ```Python
    print(user_dict)
    ```
    
    we would get a Python `dict` with:
    
    ```Python
    {
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.2K bytes
    - Viewed (0)
Back to top