Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 661 - 670 of 975 for rock (0.03 seconds)

  1. cmd/xl-storage.go

    		return nil, errCorruptedBackend
    	}
    	return fi, nil
    }
    
    // GetDiskID - returns the cached disk uuid
    func (s *xlStorage) GetDiskID() (string, error) {
    	s.RLock()
    	diskID := s.diskID
    	fileInfo := s.formatFileInfo
    	lastCheck := s.formatLastCheck
    
    	// check if we have a valid disk ID that is less than 1 seconds old.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 91.7K bytes
    - Click Count (0)
  2. src/test/java/jcifs/netbios/NameQueryResponseTest.java

    import org.junit.jupiter.api.extension.ExtendWith;
    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.Configuration;
    
    @ExtendWith(MockitoExtension.class)
    class NameQueryResponseTest {
    
        @Mock
        private Configuration mockConfig;
    
        private NameQueryResponse nameQueryResponse;
    
        @BeforeEach
        void setUp() {
            // Mock the OEM encoding configuration with lenient stubbing
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  3. cmd/signals.go

    func handleSignals() {
    	// Custom exit function
    	exit := func(success bool) {
    		if globalLoggerOutput != nil {
    			globalLoggerOutput.Close()
    		}
    
    		// If global profiler is set stop before we exit.
    		globalProfilerMu.Lock()
    		defer globalProfilerMu.Unlock()
    		for _, p := range globalProfiler {
    			p.Stop()
    		}
    
    		if success {
    			os.Exit(0)
    		}
    
    		os.Exit(1)
    	}
    
    	stopProcess := func() bool {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Sep 04 17:02:39 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/WagonMock.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.repository.legacy;
    
    import org.apache.maven.wagon.providers.file.FileWagon;
    
    /**
     * Mock of a Wagon for testing
     *
     */
    public class WagonMock extends FileWagon {
    
        /**
         * A field that can be configured in the Wagon
         *
         * @component.configuration default="configurableField"
         */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  5. docs/de/docs/tutorial/query-params-str-validations.md

    ```Python
    q: Annotated[str, Query(default="rick")] = "morty"
    ```
    
    ... denn es ist nicht klar, ob der Defaultwert `"rick"` oder `"morty"` sein soll.
    
    Sie würden also (bevorzugt) schreiben:
    
    ```Python
    q: Annotated[str, Query()] = "rick"
    ```
    
    ... oder in älteren Codebasen finden Sie:
    
    ```Python
    q: str = Query(default="rick")
    ```
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 24 10:28:19 GMT 2025
    - 19.1K bytes
    - Click Count (0)
  6. docs/pt/docs/tutorial/query-params-str-validations.md

    ```Python
    q: Annotated[str, Query(default="rick")] = "morty"
    ```
    
    ...porque não está claro se o valor padrão deveria ser `"rick"` ou `"morty"`.
    
    Então, você usaria (preferencialmente):
    
    ```Python
    q: Annotated[str, Query()] = "rick"
    ```
    
    ...ou em bases de código mais antigas você encontrará:
    
    ```Python
    q: str = Query(default="rick")
    ```
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 18.2K bytes
    - Click Count (0)
  7. cmd/bucket-replication-handlers.go

    			return
    		}
    		if lockEnabled {
    			lock, _, _, _, err := clnt.GetObjectLockConfig(ctx, clnt.Bucket)
    			if err != nil {
    				writeErrorResponse(ctx, w, errorCodes.ToAPIErrWithErr(ErrReplicationValidationError, err), r.URL)
    				return
    			}
    			if lock != objectlock.Enabled {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Aug 15 12:04:40 GMT 2024
    - 23.3K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java

    import jcifs.internal.util.SMBUtil;
    
    /**
     * Test class for Smb2WriteRequest functionality
     */
    @DisplayName("Smb2WriteRequest Tests")
    class Smb2WriteRequestTest {
    
        @Mock
        private Configuration mockConfig;
    
        @Mock
        private CIFSContext mockContext;
    
        private byte[] testFileId;
        private Smb2WriteRequest request;
    
        @BeforeEach
        void setUp() {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 22.4K bytes
    - Click Count (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerContextTest.java

         * Test activeThreadCountLock getter
         */
        public void test_activeThreadCountLock() {
            Object lock = crawlerContext.getActiveThreadCountLock();
            assertNotNull(lock);
    
            // Should return same instance
            Object sameLock = crawlerContext.getActiveThreadCountLock();
            assertSame(lock, sameLock);
        }
    
        /**
         * Test numOfThread getter and setter
         */
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sat Sep 06 04:15:37 GMT 2025
    - 25.6K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponseTest.java

    import org.junit.jupiter.params.provider.ValueSource;
    import org.mockito.Mock;
    import org.mockito.MockitoAnnotations;
    
    import jcifs.Configuration;
    import jcifs.internal.SMBProtocolDecodingException;
    
    /**
     * Test class for TransCallNamedPipeResponse
     */
    class TransCallNamedPipeResponseTest {
    
        @Mock
        private Configuration mockConfig;
    
        private TransCallNamedPipeResponse response;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.8K bytes
    - Click Count (0)
Back to Top