Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 1,562 for Interfaces (0.06 sec)

  1. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/PathScopeProvider.java

    /**
     * Service provider interface for registering custom {@link PathScope} implementations.
     * <p>
     * This interface allows plugins and extensions to define and register additional path scopes
     * beyond the standard ones provided by Maven. Path scopes define how dependencies are used
     * in different contexts, such as compilation, testing, or runtime.
     * <p>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  2. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/TypeProvider.java

    import org.apache.maven.api.annotations.Consumer;
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.di.Named;
    
    /**
     * Service provider interface for registering custom {@link Type} implementations.
     * <p>
     * This interface allows plugins and extensions to define and register additional artifact types
     * beyond the standard ones provided by Maven (like jar, war, pom, etc.). Types define how artifacts
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  3. clause/delete_test.go

    	"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{}},
    			"DELETE LOW_PRIORITY FROM `users`", nil,
    		},
    	}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Jun 02 01:18:01 UTC 2020
    - 608 bytes
    - Viewed (0)
  4. src/test/java/jcifs/BufferCacheTest.java

    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    import org.mockito.Mock;
    
    /**
     * Comprehensive test suite for BufferCache interface.
     * Tests the contract and behavior of BufferCache implementations.
     */
    @DisplayName("BufferCache Interface Tests")
    class BufferCacheTest extends BaseTest {
    
        @Mock
        private BufferCache mockBufferCache;
    
        private TestBufferCacheImpl testCache;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  5. soft_delete.go

    	"github.com/jinzhu/now"
    	"gorm.io/gorm/clause"
    	"gorm.io/gorm/schema"
    )
    
    type DeletedAt sql.NullTime
    
    // Scan implements the Scanner interface.
    func (n *DeletedAt) Scan(value interface{}) error {
    	return (*sql.NullTime)(n).Scan(value)
    }
    
    // Value implements the driver Valuer interface.
    func (n DeletedAt) Value() (driver.Value, error) {
    	if !n.Valid {
    		return nil, nil
    	}
    	return n.Time, nil
    }
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Feb 01 06:40:55 UTC 2023
    - 4.5K bytes
    - Viewed (1)
  6. callbacks/helper.go

    			if len(values.Values) == 0 {
    				values.Values = [][]interface{}{{}}
    			}
    
    			values.Values[0] = append(values.Values[0], value)
    		}
    	}
    	return
    }
    
    // ConvertSliceOfMapToValuesForCreate convert slice of map to values
    func ConvertSliceOfMapToValuesForCreate(stmt *gorm.Statement, mapValues []map[string]interface{}) (values clause.Values) {
    	columns := make([]string, 0, len(mapValues))
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Apr 14 12:32:57 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  7. logger/sql_test.go

    		SQL           string
    		NumericRegexp *regexp.Regexp
    		Vars          []interface{}
    		Result        string
    	}{
    		{
    			SQL:           "create table users (name, age, height, actived, bytes, create_at, update_at, deleted_at, email, role, pass) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)",
    			NumericRegexp: nil,
    			Vars:          []interface{}{"jinzhu", 1, 999.99, true, []byte("12345"), tt, &tt, nil, "w@g.\"com", myrole, pwd},
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Mar 21 08:00:02 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  8. tests/tracer_test.go

    	"time"
    
    	"gorm.io/gorm/logger"
    )
    
    type Tracer struct {
    	Logger logger.Interface
    	Test   func(ctx context.Context, begin time.Time, fc func() (sql string, rowsAffected int64), err error)
    }
    
    func (S Tracer) LogMode(level logger.LogLevel) logger.Interface {
    	return S.Logger.LogMode(level)
    }
    
    func (S Tracer) Info(ctx context.Context, s string, i ...interface{}) {
    	S.Logger.Info(ctx, s, i...)
    }
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Oct 18 09:28:06 UTC 2022
    - 830 bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java

    import jcifs.internal.smb2.lock.Smb2Lock;
    import jcifs.internal.smb2.lock.Smb2LockRequest;
    
    /**
     * Test class for RequestWithFileId interface.
     * Tests the interface contract and various implementations.
     */
    @ExtendWith(MockitoExtension.class)
    @DisplayName("RequestWithFileId Interface Tests")
    class RequestWithFileIdTest {
    
        @Mock
        private Configuration mockConfig;
    
        private byte[] testFileId;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/multichannel/Smb2ChannelCapabilities.java

        /**
         * Network interface capability flag for RSS support
         */
        public static final int NETWORK_INTERFACE_CAP_RSS = 0x00000001;
    
        /**
         * Network interface capability flag for RDMA support
         */
        public static final int NETWORK_INTERFACE_CAP_RDMA = 0x00000002;
    
        /**
         * FSCTL code for querying network interface information
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 2.4K bytes
    - Viewed (0)
Back to top