Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 158 for unlink (0.05 seconds)

  1. tests/association_generics_test.go

    		t.Fatalf("expected company updated, got %+v", u1.Company)
    	}
    
    	// Unlink company association via OpUnlink (instead of OpDelete which would try to delete the company record)
    	unlink := clause.Association{Association: "Company", Type: clause.OpUnlink}
    	if _, err := gorm.G[User](DB).Where("id = ?", user.ID).Set(unlink).Update(ctx); err != nil {
    		t.Fatalf("OpUnlink belongs-to failed: %v", err)
    	}
    
    	var u2 User
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Fri Sep 12 05:42:26 GMT 2025
    - 37.9K bytes
    - Click Count (0)
  2. clause/association.go

    package clause
    
    // AssociationOpType represents association operation types
    type AssociationOpType int
    
    const (
    	OpUnlink AssociationOpType = iota // Unlink association
    	OpDelete                          // Delete association records
    	OpUpdate                          // Update association records
    	OpCreate                          // Create association records with assignments
    )
    
    // Association represents an association operation
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Fri Sep 12 05:42:26 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  3. tests/test_tutorial/test_static_files/test_tutorial001.py

        sample_file.write_text("This is a sample static file.")
        from docs_src.static_files.tutorial001_py39 import app
    
        with TestClient(app) as client:
            yield client
        sample_file.unlink()
        static_dir.rmdir()
    
    
    def test_static_files(client: TestClient):
        response = client.get("/static/sample.txt")
        assert response.status_code == 200, response.text
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 1.1K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb/SmbFileInputStream.java

            this(new SmbFile(url, tc), 0, SmbConstants.O_RDONLY, SmbConstants.DEFAULT_SHARING, true);
        }
    
        /**
         * Creates an {@link java.io.InputStream} for reading bytes from a file on
         * an SMB server represented by the {@link jcifs.smb.SmbFile} parameter. See
         * {@link jcifs.smb.SmbFile} for a detailed description and examples of
         * the smb URL syntax.
         *
         * @param file
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  5. scripts/translate.py

        for path in removable_paths:
            path.unlink()
            print(f"Removed: {path}")
        print("Done removing all removable paths")
    
    
    @app.command()
    def remove_all_removable() -> None:
        all_removable = list_all_removable()
        for removable_path in all_removable:
            removable_path.unlink()
            print(f"Removed: {removable_path}")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 19:05:53 GMT 2025
    - 34.1K bytes
    - Click Count (0)
  6. scripts/docs.py

        if error_paths:
            print("Non-translated pages found, removing them:")
            for error_path in error_paths:
                print(error_path)
                if error_path.is_file():
                    error_path.unlink()
                else:
                    shutil.rmtree(error_path)
            raise typer.Exit(1)
        print("No non-translated pages found ✅")
    
    
    @app.command()
    def langs_json():
        langs = []
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Dec 21 17:40:17 GMT 2025
    - 16.9K bytes
    - Click Count (0)
  7. guava/src/com/google/common/cache/LocalCache.java

          } finally {
            unlock();
            postWriteCleanup();
          }
        }
    
        // reference queues, for garbage collection cleanup
    
        /** Cleanup collected entries when the lock is available. */
        void tryDrainReferenceQueues() {
          if (tryLock()) {
            try {
              drainReferenceQueues();
            } finally {
              unlock();
            }
          }
        }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 11 19:35:11 GMT 2025
    - 148.9K bytes
    - Click Count (0)
  8. cmd/site-replication.go

    			if v2.LastOnline.After(v.LastOnline) || v2.LastOnline.IsZero() {
    				v2.Endpoint = v.Endpoint
    				v2.LastOnline = v.LastOnline
    				v2.Latency = v.Latency
    				v2.Online = v.Online
    				v2.TotalDowntime = v.TotalDowntime
    				v2.DeploymentID = v.DeploymentID
    			}
    			v2.ReplicatedCount += v.ReplicatedCount
    			v2.ReplicatedSize += v.ReplicatedSize
    			v2.Failed = v2.Failed.Add(v.Failed)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 184.8K bytes
    - Click Count (1)
  9. cmd/xl-storage-meta-inline.go

    	"fmt"
    	"slices"
    
    	"github.com/tinylib/msgp/msgp"
    )
    
    // xlMetaInlineData is serialized data in [string][]byte pairs.
    type xlMetaInlineData []byte
    
    // xlMetaInlineDataVer indicates the version of the inline data structure.
    const xlMetaInlineDataVer = 1
    
    // versionOK returns whether the version is ok.
    func (x xlMetaInlineData) versionOK() bool {
    	if len(x) == 0 {
    		return true
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  10. src/main/resources/fess_config.properties

    # Online help key for log.
    online.help.name.log=log
    # Online help key for general settings.
    online.help.name.general=general
    # Online help key for role.
    online.help.name.role=role
    # Online help key for job log.
    online.help.name.joblog=joblog
    # Online help key for keymatch.
    online.help.name.keymatch=keymatch
    # Online help key for related query.
    online.help.name.relatedquery=relatedquery
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Dec 11 09:47:03 GMT 2025
    - 54.8K bytes
    - Click Count (0)
Back to Top