Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 1,530 for isInterface (0.12 sec)

  1. internal/s3select/sql/parser.go

    package sql
    
    import (
    	"strings"
    
    	"github.com/alecthomas/participle"
    	"github.com/alecthomas/participle/lexer"
    )
    
    // Types with custom Capture interface for parsing
    
    // Boolean is a type for a parsed Boolean literal
    type Boolean bool
    
    // Capture interface used by participle
    func (b *Boolean) Capture(values []string) error {
    	*b = Boolean(strings.EqualFold(values[0], "true"))
    	return nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  2. utils/utils.go

    			if vv.IsValid() && !vv.IsZero() {
    				results[idx] = fmt.Sprint(reflect.Indirect(vv).Interface())
    			}
    		}
    	}
    
    	return strings.Join(results, "_")
    }
    
    func Contains(elems []string, elem string) bool {
    	for _, e := range elems {
    		if elem == e {
    			return true
    		}
    	}
    	return false
    }
    
    func AssertEqual(x, y interface{}) bool {
    	if reflect.DeepEqual(x, y) {
    		return true
    	}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Aug 22 11:03:42 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. internal/store/store.go

    // ErrNotConnected - indicates that the target connection is not active.
    var ErrNotConnected = errors.New("not connected to target server/service")
    
    // Target - store target interface
    type Target interface {
    	Name() string
    	SendFromStore(key Key) error
    }
    
    // Store - Used to persist items.
    type Store[I any] interface {
    	Put(item I) (Key, error)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  4. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvnenc/EncryptOptions.java

    import org.apache.maven.api.cli.Options;
    
    /**
     * Defines the options specific to the Maven encryption tool.
     * This interface extends the general {@link Options} interface, adding encryption-specific configuration options.
     *
     * @since 4.0.0
     */
    @Experimental
    public interface EncryptOptions extends Options {
        /**
         * Should the operation be forced (ie overwrite existing config, if any).
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon Oct 14 19:57:22 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. src/cmd/cgo/ast_go118.go

    // license that can be found in the LICENSE file.
    
    //go:build !compiler_bootstrap
    
    package main
    
    import (
    	"go/ast"
    	"go/token"
    )
    
    func (f *File) walkUnexpected(x interface{}, context astContext, visit func(*File, interface{}, astContext)) {
    	switch n := x.(type) {
    	default:
    		error_(token.NoPos, "unexpected type %T in walk", x)
    		panic("unexpected type")
    
    	case *ast.IndexListExpr:
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Nov 30 21:45:10 UTC 2022
    - 730 bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

         * they're fairly obscure, we've invented our own interface and class.
         */
        Interface a = new Impl();
        Interface b = new Impl();
        ImmutableSortedSet<Interface> set = ImmutableSortedSet.of(a, b);
        Object[] unused1 = set.toArray();
        Object[] unused2 = set.toArray(new Object[2]);
      }
    
      interface Interface extends Comparable<Interface> {}
    
      static class Impl implements Interface {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/SinceAndIncubatingRulesKotlinTest.kt

            val baseline = """
    
                /** @since 1.0 */
                interface Foo
    
                /** @since 1.0 */
                class Bar()
    
            """
    
            checkNotBinaryCompatibleKotlin(
                v1 = baseline,
                v2 = """
    
                /** @since 1.0 */
                interface Foo : AutoCloseable {
                    fun foo()
                    override fun close()
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jul 11 06:57:51 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/ConsumerPomBuilder.java

    import org.apache.maven.project.MavenProject;
    import org.eclipse.aether.RepositorySystemSession;
    
    /**
     * This interface is not public and the purpose is to allow easy unit testing
     * of {@link DefaultConsumerPomArtifactTransformer}.
     */
    interface ConsumerPomBuilder {
    
        Model build(RepositorySystemSession session, MavenProject project, Path src)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  9. doc/go1.17_spec.html

    func(prefix string, values ...int)
    func(a, b int, z float64, opt ...interface{}) (success bool)
    func(int, int, float64) (float64, *[]int)
    func(n int) func(p *T)
    </pre>
    
    
    <h3 id="Interface_types">Interface types</h3>
    
    <p>
    An interface type specifies a <a href="#Method_sets">method set</a> called its <i>interface</i>.
    A variable of interface type can store a value of any type with a method set
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 10 18:25:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  10. docs/pt/docs/advanced/behind-a-proxy.md

    ### Verifique a interface de documentação
    
    Mas aqui está a parte divertida. ✨
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 15:28:18 UTC 2024
    - 12.2K bytes
    - Viewed (0)
Back to top