Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 440 for CSession (0.04 sec)

  1. tensorflow/c/c_test_util.h

    // Returns a sorted vector of names contained in `grad_def`
    std::vector<string> GetFuncNames(const tensorflow::GraphDef& graph_def);
    
    class CSession {
     public:
      CSession(TF_Graph* graph, TF_Status* s, bool use_XLA = false);
      explicit CSession(TF_Session* session);
    
      ~CSession();
    
      void SetInputs(std::vector<std::pair<TF_Operation*, TF_Tensor*>> inputs);
      void SetOutputs(std::initializer_list<TF_Operation*> outputs);
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Thu Aug 09 01:06:53 UTC 2018
    - 6K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java

            MavenSession msession =
                    new MavenSession(getContainer(), session, mavenExecutionRequest, new DefaultMavenExecutionResult());
            DefaultSession iSession = new DefaultSession(
                    msession, resolverRepositorySystem, null, mavenRepositorySystem, new DefaultLookup(container), null);
            InternalSession.associate(session, iSession);
    
            SessionScope sessionScope = container.lookup(SessionScope.class);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 20:01:00 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  3. impl/maven-core/src/test/java/org/apache/maven/model/ModelBuilderTest.java

            RepositorySystemSession.CloseableSession rsession = repositorySessionFactory
                    .newRepositorySessionBuilder(mavenRequest)
                    .build();
            request.setRepositorySession(rsession);
            MavenSession msession = new MavenSession(rsession, mavenRequest, new DefaultMavenExecutionResult());
            InternalSession session = new DefaultSession(
                    msession,
                    repositorySystem,
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 16 13:41:14 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  4. .github/ci-mimir-session.properties

    #  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    #  See the License for the specific language governing permissions and
    #  limitations under the License.
    #
    
    # Mimir Session config properties
    
    # do not waste time on this; we maintain the version
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Sep 26 16:01:43 UTC 2025
    - 916 bytes
    - Viewed (0)
  5. impl/maven-core/src/test/java/org/apache/maven/internal/transformation/AbstractRepositoryTestCase.java

            DefaultRepositorySystemSession rsession = new DefaultRepositorySystemSession(h -> false);
            rsession.setScopeManager(new ScopeManagerImpl(Maven4ScopeManagerConfiguration.INSTANCE));
    
            LocalRepository localRepo = new LocalRepository("target/local-repo");
            rsession.setLocalRepositoryManager(system.newLocalRepositoryManager(rsession, localRepo));
    
            rsession.setTransferListener(Mockito.mock(TransferListener.class));
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 16 13:41:14 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SimpleMemoryManagementTest.java

            // Session starts with usage count > 0, so acquire/release cycles maintain usage
            assertTrue(session.isInUse(), "Session should be in use initially");
    
            // Test acquire/release cycles (session remains in use due to initial transport acquire)
            for (int i = 0; i < 3; i++) {
                session.acquire();
                assertTrue(session.isInUse(), "Session should be in use after acquire " + i);
    
                session.release();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  7. docs_src/sql_databases/tutorial001_py310.py

    
    def get_session():
        with Session(engine) as session:
            yield session
    
    
    app = FastAPI()
    
    
    @app.on_event("startup")
    def on_startup():
        create_db_and_tables()
    
    
    @app.post("/heroes/")
    def create_hero(hero: Hero, session: Session = Depends(get_session)) -> Hero:
        session.add(hero)
        session.commit()
        session.refresh(hero)
        return hero
    
    
    @app.get("/heroes/")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbSessionInternalTest.java

            byte[] key = new byte[] { 10, 20 };
            when(session.getSessionKey()).thenReturn(key, new byte[0], null);
    
            assertArrayEquals(key, session.getSessionKey());
            assertArrayEquals(new byte[0], session.getSessionKey());
            assertNull(session.getSessionKey());
            verify(session, times(3)).getSessionKey();
        }
    
        // Error propagation: getSessionKey throws CIFSException
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  9. docs_src/sql_databases/tutorial002_an_py39.py

        hero_db.sqlmodel_update(hero_data)
        session.add(hero_db)
        session.commit()
        session.refresh(hero_db)
        return hero_db
    
    
    @app.delete("/heroes/{hero_id}")
    def delete_hero(hero_id: int, session: SessionDep):
        hero = session.get(Hero, hero_id)
        if not hero:
            raise HTTPException(status_code=404, detail="Hero not found")
        session.delete(hero)
        session.commit()
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/ConcurrentLifecycleStarter.java

        @Override
        public void execute(MavenSession session) {
            eventCatapult.fire(ExecutionEvent.Type.SessionStarted, session, null);
    
            try {
                if (requiresProject(session) && projectIsNotPresent(session)) {
                    throw new MissingProjectException("The goal you specified requires a project to execute"
                            + " but there is no POM in this directory (" + session.getTopDirectory() + ")."
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 8.3K bytes
    - Viewed (0)
Back to top