Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for isMock (0.04 sec)

  1. src/test/java/jcifs/smb1/smb1/WinErrorTest.java

        @Test
        @DisplayName("Mockito mock of WinError")
        void mockInterfaceNoOps() {
            WinError mock = Mockito.mock(WinError.class);
            assertNotNull(mock);
            assertTrue(Mockito.mockingDetails(mock).isMock(), "Object should be a Mockito mock");
            Mockito.verifyNoInteractions(mock);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  2. cmd/namespace-lock.go

    	nsMutex := nsLockMap{
    		isDistErasure: isDistErasure,
    	}
    	if isDistErasure {
    		return &nsMutex
    	}
    	nsMutex.lockMap = make(map[string]*nsLock)
    	return &nsMutex
    }
    
    // nsLock - provides primitives for locking critical namespace regions.
    type nsLock struct {
    	ref int32
    	*lsync.LRWMutex
    }
    
    // nsLockMap - namespace lock map, provides primitives to Lock,
    // Unlock, RLock and RUnlock.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  3. cmd/admin-handlers.go

    		return
    	}
    
    	nsLock := objectAPI.NewNSLock(minioMetaBucket, "site-net-perf")
    	lkctx, err := nsLock.GetLock(ctx, globalOperationTimeout)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(toAPIErrorCode(ctx, err)), r.URL)
    		return
    	}
    	ctx = lkctx.Context()
    	defer nsLock.Unlock(lkctx)
    
    	durationStr := r.Form.Get(peerRESTDuration)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 99.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/util/transport/Transport.java

        private volatile Thread thread;
        private volatile TransportException te;
    
        /**
         * Lock object for synchronizing input operations
         */
        protected final Object inLock = new Object();
        /**
         * Lock object for synchronizing output operations
         */
        protected final Object outLock = new Object();
    
        /**
         * Map for tracking pending responses by their key
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  5. samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/ClientAndServer.java

     * cannot do TLS over domain sockets.
     */
    public class ClientAndServer {
      public void run() throws Exception {
        File socketFile = new File("/tmp/ClientAndServer.sock");
        socketFile.delete(); // Clean up from previous runs.
    
        MockWebServer server = new MockWebServer();
        server.setServerSocketFactory(new UnixDomainServerSocketFactory(socketFile));
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Dec 24 03:46:30 UTC 2018
    - 2.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbTransportImpl.java

             * the Transport thread is not setup until doConnect()
             * returns and we want to suppress all communication
             * until we have properly negotiated.
             */
            synchronized (this.inLock) {
                if (prt == 139) {
                    ssn139();
                } else {
                    if (prt == 0) {
                        prt = DEFAULT_PORT; // 445
                    }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  7. tests/migrate_test.go

    	type MigrateNullableColumn struct {
    		ID    uint
    		Bonus float64 `gorm:"not null"`
    		Stock float64
    	}
    
    	DB.Migrator().DropTable(&MigrateNullableColumn{})
    
    	DB.AutoMigrate(&MigrateNullableColumn{})
    
    	type MigrateNullableColumn2 struct {
    		ID    uint
    		Bonus float64
    		Stock float64 `gorm:"not null"`
    	}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Aug 20 04:51:17 UTC 2025
    - 65.2K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat

    my.id
    net.id
    or.id
    ponpes.id
    sch.id
    web.id
    
    // ie : https://www.iana.org/domains/root/db/ie.html
    ie
    gov.ie
    
    // il :         http://www.isoc.org.il/domains/
    // see also:    https://en.isoc.org.il/il-cctld/registration-rules
    // ISOC-IL      (operated by .il Registry)
    il
    ac.il
    co.il
    gov.il
    idf.il
    k12.il
    muni.il
    net.il
    org.il
    // xn--4dbrk0ce ("Israel", Hebrew) : IL
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 309.7K bytes
    - Viewed (0)
  9. okhttp/src/jvmMain/resources/okhttp3/internal/publicsuffix/PublicSuffixDatabase.list

    soy
    sp.gov.br
    sp.it
    sp.leg.br
    spa
    space
    space-to-rent.com
    spacekit.io
    spb.ru
    spb.su
    spdns.de
    spdns.eu
    spdns.org
    sphinx.mythic-beasts.com
    spjelkavik.no
    spock.replit.dev
    sport
    sport.hu
    spot
    spydeberg.no
    square7.ch
    square7.de
    square7.net
    squares.net
    sr
    sr.gov.pl
    sr.it
    srht.site
    srl
    srv.br
    srv.us
    ss
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 22:00:49 UTC 2025
    - 129.6K bytes
    - Viewed (3)
  10. android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    it signifies much,' she said to herself; `I should think it
    would be QUITE as much use in the trial one way up as the other.'
    
      As soon as the jury had a little recovered from the shock of
    being upset, and their slates and pencils had been found and
    handed back to them, they set to work very diligently to write
    out a history of the accident, all except the Lizard, who seemed
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Apr 21 02:27:51 UTC 2017
    - 145.2K bytes
    - Viewed (0)
Back to top