Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 232 for prepareFS (0.23 sec)

  1. cmd/prepare-storage.go

    	if len(endpoints) == 0 || setCount == 0 || setDriveCount == 0 {
    		return nil, nil, errInvalidArgument
    	}
    
    	// prepare getElapsedTime() to calculate elapsed time since we started trying formatting disks.
    	// All times are rounded to avoid showing milli, micro and nano seconds
    	formatStartTime := time.Now().Round(time.Second)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 11.1K bytes
    - Viewed (1)
  2. prepare_stmt.go

    // - maxSize: The maximum number of prepared statements that can be stored in the statement store.
    // - ttl: The time-to-live duration for each prepared statement in the store. Statements older than this duration will be automatically removed.
    //
    // Returns:
    // - A pointer to a PreparedStmtDB instance, which manages prepared statements using the provided connection pool and configuration.
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Apr 25 08:22:26 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/CommonServerMessageBlockResponse.java

        /**
         *
         * @return the next response
         */
        @Override
        CommonServerMessageBlockResponse getNextResponse();
    
        /**
         * Prepares this response for the next request.
         *
         * @param next the next request to prepare for
         */
        void prepare(CommonServerMessageBlockRequest next);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java

            // prepare should propagate session id when received
            CIFSContext mockCtx = mock(CIFSContext.class);
            when(mockCtx.getConfig()).thenReturn(mock(Configuration.class));
            Smb2SessionSetupRequest nextReq = new Smb2SessionSetupRequest(mockCtx, 0, 0, 0L, null);
            assertEquals(0L, nextReq.getSessionId());
            resp.prepare(nextReq);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  5. internal/stmt_store/stmt_store.go

    	// The prepared channel is used to synchronize the statement preparation state.
    	cacheStmt := &Stmt{
    		Transaction: isTransaction,
    		prepared:    make(chan struct{}),
    	}
    	// Cache the Stmt object with the associated key.
    	s.Set(key, cacheStmt)
    	// Unlock after completing initialization to prevent deadlocks.
    	locker.Unlock()
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun Apr 27 06:05:16 UTC 2025
    - 6K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

        carrier.cancel()
      }
    
      /**
       * Prepares the HTTP headers and sends them to the server.
       *
       * For streaming requests with a body, headers must be prepared **before** the output stream has
       * been written to. Otherwise the body would need to be buffered!
       *
       * For non-streaming requests with a body, headers must be prepared **after** the output stream
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 17.5K bytes
    - Viewed (7)
  7. tests/prepared_stmt_test.go

    	}
    
    	pdb.Mux.Lock()
    	if len(pdb.Stmts.Keys()) == 0 {
    		pdb.Mux.Unlock()
    		t.Fatalf("prepared stmt can not be empty")
    	}
    	pdb.Mux.Unlock()
    
    	pdb.Close()
    	pdb.Mux.Lock()
    	defer pdb.Mux.Unlock()
    	if len(pdb.Stmts.Keys()) != 0 {
    		t.Fatalf("prepared stmt should be empty")
    	}
    }
    
    func isUsingClosedConnError(err error) bool {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Apr 25 08:22:26 UTC 2025
    - 8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java

            doNothing().when(response).prepare(any());
    
            // When
            response.prepare(regularRequest);
            response.prepare(asyncRequest);
            response.prepare(null);
    
            // Then
            verify(response).prepare(regularRequest);
            verify(response).prepare(asyncRequest);
            verify(response).prepare(null);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java

        }
    
        /**
         * Prepares the constructors.
         */
        protected void setupConstructorDescs() {
            for (final Constructor<?> constructor : beanClass.getConstructors()) {
                constructorDescs.add(new ConstructorDescImpl(this, constructor));
            }
        }
    
        /**
         * Prepares the methods.
         */
        protected void setupMethodDescs() {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 25.8K bytes
    - Viewed (1)
  10. src/test/java/jcifs/internal/fscc/FileStandardInfoTest.java

            assertEquals(0L, fileStandardInfo.getLastAccessTime());
        }
    
        @Test
        @DisplayName("Test getSize returns endOfFile value")
        void testGetSize() throws SMBProtocolDecodingException {
            // Prepare test data
            byte[] buffer = new byte[22];
            long expectedAllocationSize = 1024L;
            long expectedEndOfFile = 512L;
            int expectedNumberOfLinks = 3;
            boolean expectedDeletePending = true;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
Back to top