Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 581 - 590 of 1,336 for io (0.01 seconds)

  1. misc/go_android_exec/main.go

    	code, err := adbRun(cmd)
    	signal.Reset(syscall.SIGQUIT)
    	close(quit)
    	return code, err
    }
    
    type exitCodeFilter struct {
    	w      io.Writer // Pass through to w
    	exitRe *regexp.Regexp
    	buf    bytes.Buffer
    }
    
    func newExitCodeFilter(w io.Writer) (*exitCodeFilter, string) {
    	const exitStr = "exitcode="
    
    	// Build a regexp that matches any prefix of the exit string at the end of
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Click Count (0)
  2. callbacks/interfaces.go

    package callbacks
    
    import "gorm.io/gorm"
    
    type BeforeCreateInterface interface {
    	BeforeCreate(*gorm.DB) error
    }
    
    type AfterCreateInterface interface {
    	AfterCreate(*gorm.DB) error
    }
    
    type BeforeUpdateInterface interface {
    	BeforeUpdate(*gorm.DB) error
    }
    
    type AfterUpdateInterface interface {
    	AfterUpdate(*gorm.DB) error
    }
    
    type BeforeSaveInterface interface {
    	BeforeSave(*gorm.DB) error
    }
    
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Thu Aug 27 07:03:57 GMT 2020
    - 667 bytes
    - Click Count (0)
  3. clause/delete_test.go

    package clause_test
    
    import (
    	"fmt"
    	"testing"
    
    	"gorm.io/gorm/clause"
    )
    
    func TestDelete(t *testing.T) {
    	results := []struct {
    		Clauses []clause.Interface
    		Result  string
    		Vars    []interface{}
    	}{
    		{
    			[]clause.Interface{clause.Delete{}, clause.From{}},
    			"DELETE FROM `users`", nil,
    		},
    		{
    			[]clause.Interface{clause.Delete{Modifier: "LOW_PRIORITY"}, clause.From{}},
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Tue Jun 02 01:18:01 GMT 2020
    - 608 bytes
    - Click Count (0)
  4. .teamcity/.mvn/wrapper/maven-wrapper.properties

    distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.3/apache-maven-3.6.3-bin.zip
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Feb 26 01:48:39 GMT 2020
    - 218 bytes
    - Click Count (0)
  5. docs/en/docs/alternatives.md

    /// check | Inspired **FastAPI** to
    
    Be a micro-framework. Making it easy to mix and match the tools and parts needed.
    
    Have a simple and easy to use routing system.
    
    ///
    
    ### <a href="https://requests.readthedocs.io" class="external-link" target="_blank">Requests</a> { #requests }
    
    **FastAPI** is not actually an alternative to **Requests**. Their scope is very different.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 23.6K bytes
    - Click Count (0)
  6. clause/locking_test.go

    package clause_test
    
    import (
    	"fmt"
    	"testing"
    
    	"gorm.io/gorm/clause"
    )
    
    func TestLocking(t *testing.T) {
    	results := []struct {
    		Clauses []clause.Interface
    		Result  string
    		Vars    []interface{}
    	}{
    		{
    			[]clause.Interface{clause.Select{}, clause.From{}, clause.Locking{Strength: clause.LockingStrengthUpdate}},
    			"SELECT * FROM `users` FOR UPDATE", nil,
    		},
    		{
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Fri Dec 15 08:32:56 GMT 2023
    - 1.2K bytes
    - Click Count (0)
  7. compat/maven-settings/pom.xml

            <artifactId>japicmp-maven-plugin</artifactId>
            <configuration>
              <parameter>
                <excludes>
                  <exclude>org.apache.maven.settings.io.xpp3.SettingsXpp3Reader#contentTransformer</exclude>
                  <exclude>org.apache.maven.settings.io.xpp3.SettingsXpp3Reader#read(org.codehaus.plexus.util.xml.pull.XmlPullParser,boolean):METHOD_REMOVED</exclude>
                </excludes>
              </parameter>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Jun 29 22:37:39 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  8. docs/uk/docs/alternatives.md

    Бути мікрофреймоворком. Зробити легким комбінування та поєднання необхідних інструментів та частин.
    
     Мати просту та легку у використанні систему маршрутизації.
    
    ///
    
    ### <a href="https://requests.readthedocs.io" class="external-link" target="_blank">Requests</a>
    
    **FastAPI** насправді не є альтернативою **Requests**. Сфера їх застосування дуже різна.
    
    Насправді цілком звична річ використовувати Requests *всередині* програми FastAPI.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 38.1K bytes
    - Click Count (0)
  9. tests/submodel_test.go

    package tests_test
    
    import (
    	"testing"
    
    	"gorm.io/gorm"
    )
    
    type Man struct {
    	ID     int
    	Age    int
    	Name   string
    	Detail string
    }
    
    // Panic-safe BeforeUpdate hook that checks for Changed("age")
    func (m *Man) BeforeUpdate(tx *gorm.DB) (err error) {
    	if !tx.Statement.Changed("age") {
    		return nil
    	}
    	return nil
    }
    
    func TestSubModel(t *testing.T) {
    	man := Man{Age: 18, Name: "random-name"}
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Sep 08 09:19:22 GMT 2025
    - 947 bytes
    - Click Count (0)
  10. tests/gaussdb_test.go

    package tests_test
    
    import (
    	"testing"
    	"time"
    
    	"github.com/google/uuid"
    	"github.com/lib/pq"
    	"gorm.io/gorm"
    	"gorm.io/gorm/clause"
    	. "gorm.io/gorm/utils/tests"
    )
    
    func TestGaussDBReturningIDWhichHasStringType(t *testing.T) {
    	t.Skipf("This test case skipped, because of gaussdb not support pgcrypto extension and gen_random_uuid() function")
    	if DB.Dialector.Name() != "gaussdb" {
    		t.Skip()
    	}
    
    	type Yasuo struct {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Jul 21 02:46:58 GMT 2025
    - 6.6K bytes
    - Click Count (0)
Back to Top