Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for dropCR (0.03 sec)

  1. src/test/java/jcifs/smb/SmbSessionImplTest.java

        }
    
        @Test
        @DisplayName("close/release manage usage and transport lifecycle")
        void testReleaseLifecycle() {
            SmbSessionImpl session = newSession();
    
            // First release drops usage to zero and releases transport
            session.release();
            verify(transport, times(1)).release();
            assertFalse(session.isInUse());
    
            // Next release goes below zero and throws
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SIDTest.java

                // Assert
                assertEquals("S-1-5-21-200-300", combined.toString());
            }
    
            @Test
            @DisplayName("Constructor from sid_t with decrementAuthority drops last subauthority")
            void testConstructorFromSidTWithDecrement() {
                // Arrange
                byte[] ident = new byte[] { 0, 0, 0, 0, 0, 5 };
                rpc.sid_t st = buildSidT((byte) 1, ident, 10, 20, 30);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/dataclasses.md

    In that case, you can simply swap the standard `dataclasses` with `pydantic.dataclasses`, which is a drop-in replacement:
    
    {* ../../docs_src/dataclasses/tutorial003.py hl[1,5,8:11,14:17,23:25,28] *}
    
    1. We still import `field` from standard `dataclasses`.
    
    2. `pydantic.dataclasses` is a drop-in replacement for `dataclasses`.
    
    3. The `Author` dataclass includes a list of `Item` dataclasses.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  4. tests/migrate_test.go

    		t.Fatalf("Failed to drop view, got %v", err)
    	}
    
    	query = DB.Model(&User{}).Where("age > ?", 20)
    	if err := DB.Migrator().CreateView("users_view", gorm.ViewOption{Query: query}); err != nil {
    		t.Fatalf("Failed to crate view, got %v", err)
    	}
    	if err := DB.Migrator().DropView("users_view"); err != nil {
    		t.Fatalf("Failed to drop view, got %v", err)
    	}
    }
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Aug 20 04:51:17 UTC 2025
    - 65.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java

            // Arrange
            CIFSContext ctx = mock(CIFSContext.class);
            SmbTreeConnectionTrace trace = new SmbTreeConnectionTrace(ctx);
    
            // Act & Assert: calling release without prior acquire drops usage below zero
            RuntimeException ex = assertThrows(RuntimeException.class, trace::release);
            assertTrue(ex.getMessage() != null && ex.getMessage().contains("Usage count dropped below zero"));
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  6. src/bufio/bufio.go

    	}
    
    	if len(line) == 0 {
    		if err != nil {
    			line = nil
    		}
    		return
    	}
    	err = nil
    
    	if line[len(line)-1] == '\n' {
    		drop := 1
    		if len(line) > 1 && line[len(line)-2] == '\r' {
    			drop = 2
    		}
    		line = line[:len(line)-drop]
    	}
    	return
    }
    
    // collectFragments reads until the first occurrence of delim in the input. It
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Sep 03 14:04:47 UTC 2025
    - 22K bytes
    - Viewed (0)
  7. docs/en/docs/deployment/manually.md

    </div>
    
    A similar process would apply to any other ASGI server program.
    
    /// tip
    
    By adding the `standard`, Uvicorn will install and use some recommended extra dependencies.
    
    That including `uvloop`, the high-performance drop-in replacement for `asyncio`, that provides the big concurrency performance boost.
    
    When you install FastAPI with something like `pip install "fastapi[standard]"` you already get `uvicorn[standard]` as well.
    
    ///
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  8. docs/de/docs/tutorial/path-params.md

    {* ../../docs_src/path_params/tutorial005.py hl[16] *}
    
    ### Testen Sie es in der API-Dokumentation
    
    Weil die erlaubten Werte für den *Pfad-Parameter* nun vordefiniert sind, kann die interaktive Dokumentation sie als Auswahl-Drop-Down anzeigen:
    
    <img src="/img/tutorial/path-params/image03.png">
    
    ### Mit Python-*<abbr title="Enumeration – Aufzählung">Enums</abbr>* arbeiten
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:29:01 UTC 2025
    - 10K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbTreeHandleImplTest.java

        @DisplayName("acquire after release reacquires underlying tree connection")
        void acquireAfterReleaseReacquires() {
            // After dropping to zero, acquire() should reacquire the underlying connection
            // Drop usage to zero
            handle.release();
            verify(treeConnection, times(1)).release();
    
            // Acquire from 0 -> 1 should acquire underlying
            when(treeConnection.acquire()).thenReturn(treeConnection);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbTreeConnection.java

         * Use a exclusive connection for this tree
         *
         * If an exclusive connection is used the caller must make sure that the tree handle is kept alive,
         * otherwise the connection will be disconnected once the usage drops to zero.
         *
         * @param np
         *            whether to use an exclusive connection
         */
        void setNonPooled(final boolean np) {
            this.nonPooled = np;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (0)
Back to top