Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2141 - 2150 of 2,267 for Methods (0.05 sec)

  1. src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java

            long expectedFree = (long) free * sectPerAlloc * bytesPerSect;
            assertEquals(expectedFree, smbInfoAllocation.getFree());
        }
    
        @Test
        @DisplayName("Test toString method")
        void testToString() throws SMBProtocolDecodingException {
            // Prepare test data
            byte[] buffer = new byte[22];
            int idFileSystem = 0xABCDEF00;
            int sectPerAlloc = 4;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbTreeConnectionTest.java

        }
    
        @Test
        @DisplayName("send retries on transport errors and restores request/response state")
        void send_retries_on_transportError() throws Exception {
            // Create a spy to track method calls
            SmbTreeConnection c = spy(newConn());
    
            // Prepare a minimal locator
            SmbResourceLocatorImpl loc = new SmbResourceLocatorImpl(ctx, smbUrl("smb://srv/share/path"));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13K bytes
    - Viewed (0)
  3. cmd/peer-rest-client.go

    func (client *peerRESTClient) callWithContext(ctx context.Context, method string, values url.Values, body io.Reader, length int64) (respBody io.ReadCloser, err error) {
    	if client == nil {
    		return nil, errPeerNotReachable
    	}
    
    	if values == nil {
    		values = make(url.Values)
    	}
    
    	respBody, err = client.restClient.Call(ctx, method, values, body, length)
    	if err == nil {
    		return respBody, nil
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SIDCacheImplTest.java

                Object[] args = inv.getArguments();
                String server = (String) args[0];
                CIFSContext c = (CIFSContext) args[1];
                assertNull(server); // We will pass null; method should forward it unchanged
                assertSame(ctx, c);
                SID[] toResolve = (SID[]) args[2];
                for (int i = 0; i < toResolve.length; i++) {
                    toResolve[i].type = jcifs.SID.SID_TYPE_USER;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14K bytes
    - Viewed (0)
  5. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java

                }
            }
        }
    
        /**
         * Polls the next URL queue entry for the specified session.
         * This method manages local caches and fetches from OpenSearch when needed.
         *
         * @param sessionId The session ID.
         * @return The next URL queue entry, or null if none available.
         */
        @Override
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 17K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

                "x=foo&Server=name,server,name", "paramOnly=,paramOnly,''", "noeq&other=1,other,1" })
        void testQueryLookup(String query, String key, String expected) {
            // No context mocks needed for static method test
            assertEquals(expected, SmbResourceLocatorImpl.queryLookup(query, key));
        }
    
        @Test
        @DisplayName("resolveInContext builds relative paths with and without share")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

            InputStream in = new ByteArrayInputStream(concat(messageHeader(5), data));
            SocketInputStream sis = new SocketInputStream(in);
    
            // Read using array-only method
            byte[] buffer = new byte[3];
            assertEquals(3, sis.read(buffer));
            assertArrayEquals(new byte[] { 1, 2, 3 }, buffer);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  8. gorm.go

    // DB GORM DB definition
    type DB struct {
    	*Config
    	Error        error
    	RowsAffected int64
    	Statement    *Statement
    	clone        int
    }
    
    // Session session config when create session with Session() method
    type Session struct {
    	DryRun                   bool
    	PrepareStmt              bool
    	NewDB                    bool
    	Initialized              bool
    	SkipHooks                bool
    	SkipDefaultTransaction   bool
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Aug 26 06:24:29 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  9. docs/uk/docs/tutorial/first-steps.md

    {* ../../docs_src/first_steps/tutorial001.py hl[6] *}
    Декоратор `@app.get("/")` вказує **FastAPI**, що функція нижче, відповідає за обробку запитів, які надходять до неї:
    
    * шлях `/`
    * використовуючи <abbr title="an HTTP GET method"><code>get</code> операцію</abbr>
    
    /// info | `@decorator` Додаткова інформація
    
    Синтаксис `@something` у Python називається "декоратором".
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskRunnerTest.kt

          "FINE: Q10001 finished run in   0 µs: task two",
          "FINE: Q10002 starting              : task three",
          "FINE: Q10002 finished run in   0 µs: task three",
        )
      }
    
      /** Test the introspection method [TaskQueue.scheduledTasks]. */
      @Test fun scheduledTasks() {
        redQueue.execute("task one", 100.µs) {
          // Do nothing.
        }
    
        redQueue.execute("task two", 200.µs) {
          // Do nothing.
        }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 23K bytes
    - Viewed (0)
Back to top