Search Options

Results per page
Sort
Preferred Languages
Advance

Results 371 - 380 of 772 for CSession (0.04 sec)

  1. tests/preload_test.go

    func TestPreloadGoroutine(t *testing.T) {
    	var wg sync.WaitGroup
    
    	wg.Add(10)
    	for i := 0; i < 10; i++ {
    		go func() {
    			defer wg.Done()
    			var user2 []User
    			tx := DB.Where("id = ?", 1).Session(&gorm.Session{})
    
    			if err := tx.Preload("Team").Find(&user2).Error; err != nil {
    				t.Error(err)
    			}
    		}()
    	}
    	wg.Wait()
    }
    
    func TestPreloadWithDiffModel(t *testing.T) {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Wed Jun 12 10:00:47 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/ntlmssp/NtlmFlags.java

        */
        int NTLMSSP_NEGOTIATE_SEAL = 0x00000020;
    
        /**
        * Indicates datagram authentication.
        */
        int NTLMSSP_NEGOTIATE_DATAGRAM_STYLE = 0x00000040;
    
        /**
        * Indicates that the LAN Manager session key should be used for
        * signing and sealing authenticated communication.
        */
        int NTLMSSP_NEGOTIATE_LM_KEY = 0x00000080;
    
        /**
         * Indicates support for NetWare authentication.
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTransportInternal.java

         */
        byte[] getServerEncryptionKey();
    
        /**
         * Gets or creates an SMB session for the given context.
         *
         * @param ctx the CIFS context
         * @return session
         */
        SmbSession getSmbSession(CIFSContext ctx);
    
        /**
         * Gets or creates an SMB session for the specified target.
         *
         * @param tf the CIFS context
         * @param targetHost the target host name
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  4. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/LifecycleTaskSegmentCalculatorStub.java

        public static final String INSTALL = "install";
    
        public LifecycleTaskSegmentCalculatorStub() {
            super(null, null);
        }
    
        @Override
        public List<TaskSegment> calculateTaskSegments(MavenSession session, List<String> tasks)
                throws PluginNotFoundException, PluginResolutionException, PluginDescriptorParsingException,
                        MojoNotFoundException, NoPluginFoundForPrefixException, InvalidPluginDescriptorException,
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  5. impl/maven-core/src/test/java/org/apache/maven/DefaultMavenTest.java

            private final AtomicReference<Class<?>> wsrClassRef = new AtomicReference<>(null);
    
            @Override
            public void afterProjectsRead(MavenSession session) throws MavenExecutionException {
                wsrClassRef.set(session.getRepositorySession().getWorkspaceReader().getClass());
            }
        }
    
        @Inject
        private Maven maven;
    
        @Override
        protected String getProjectsDirectory() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  6. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/relocation/UserPropertiesArtifactRelocationSource.java

        @Override
        public Artifact relocatedTarget(
                RepositorySystemSession session, ArtifactDescriptorResult artifactDescriptorResult, Model model)
                throws ArtifactDescriptorException {
            Relocations relocations = (Relocations) session.getData()
                    .computeIfAbsent(getClass().getName() + ".relocations", () -> parseRelocations(session));
            if (relocations != null) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Oct 16 06:12:36 UTC 2025
    - 9K bytes
    - Viewed (0)
  7. impl/maven-core/src/test/java/org/apache/maven/graph/DefaultGraphBuilderTest.java

            projectParent.setCollectedProjects(singletonList(projectModuleD));
    
            // Set up needed mocks
            when(session.getRequest()).thenReturn(mavenExecutionRequest);
            when(session.getProjects()).thenReturn(null); // needed, otherwise it will be an empty list by default
            when(mavenExecutionRequest.getProjectBuildingRequest()).thenReturn(mock(ProjectBuildingRequest.class));
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 09 20:39:03 UTC 2025
    - 28K bytes
    - Viewed (0)
  8. src/main/java/jcifs/dcerpc/DcerpcHandle.java

         * @return the transport context used
         */
        public abstract CIFSContext getTransportContext();
    
        /**
         * Gets the session key from the underlying SMB session for encryption
         * @return session key of the underlying smb session
         * @throws CIFSException if unable to retrieve the session key
         */
        public abstract byte[] getSessionKey() throws CIFSException;
    
        @Override
        public String toString() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/MavenMixedDependenciesValidator.java

        MavenMixedDependenciesValidator(PluginValidationManager pluginValidationManager) {
            super(pluginValidationManager);
        }
    
        @Override
        protected void doValidate(
                RepositorySystemSession session,
                Artifact pluginArtifact,
                ArtifactDescriptorResult artifactDescriptorResult) {
            Set<String> mavenVersions = artifactDescriptorResult.getDependencies().stream()
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. tests/hooks_test.go

    	}
    
    	DB.Model(&product).Session(&gorm.Session{SkipHooks: true}).Updates(Product3{Code: "L1216"})
    	if product.Price != 320 || product.Code != "L1216" {
    		t.Errorf("invalid data after update, got %+v", product)
    	}
    
    	var result2 Product3
    	DB.First(&result2, product.ID)
    
    	AssertEqual(t, result2, product)
    
    	product2 := Product3{Name: "Product", Price: 0}
    	DB.Session(&gorm.Session{SkipHooks: true}).Create(&product2)
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Mon Jun 17 03:59:06 UTC 2024
    - 16.7K bytes
    - Viewed (0)
Back to top