Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 3,806 for implementMe (0.19 sec)

  1. src/os/stat_windows.go

    	fs.filetype = ft
    	return fs, err
    }
    
    // statNolog implements Stat for Windows.
    func statNolog(name string) (FileInfo, error) {
    	return stat("Stat", name, true)
    }
    
    // lstatNolog implements Lstat for Windows.
    func lstatNolog(name string) (FileInfo, error) {
    	followSurrogates := false
    	if name != "" && IsPathSeparator(name[len(name)-1]) {
    		// We try to implement POSIX semantics for Lstat path resolution
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:44:48 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. src/errors/wrap.go

    		panic("errors: target must be a non-nil pointer")
    	}
    	targetType := typ.Elem()
    	if targetType.Kind() != reflectlite.Interface && !targetType.Implements(errorType) {
    		panic("errors: *target must be interface or implement error")
    	}
    	return as(err, target, val, targetType)
    }
    
    func as(err error, target any, targetVal reflectlite.Value, targetType reflectlite.Type) bool {
    	for {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:04 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. src/database/sql/driver/types.go

    }
    
    // Null is a type that implements [ValueConverter] by allowing nil
    // values but otherwise delegating to another [ValueConverter].
    type Null struct {
    	Converter ValueConverter
    }
    
    func (n Null) ConvertValue(v any) (Value, error) {
    	if v == nil {
    		return nil, nil
    	}
    	return n.Converter.ConvertValue(v)
    }
    
    // NotNull is a type that implements [ValueConverter] by disallowing nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 16:30:20 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/watch/watch.go

    // an error is not warranted.
    func NewEmptyWatch() Interface {
    	ch := make(chan Event)
    	close(ch)
    	return emptyWatch(ch)
    }
    
    // Stop implements Interface
    func (w emptyWatch) Stop() {
    }
    
    // ResultChan implements Interface
    func (w emptyWatch) ResultChan() <-chan Event {
    	return chan Event(w)
    }
    
    // FakeWatcher lets you test anything that consumes a watch.Interface; threadsafe.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 20:06:22 UTC 2024
    - 8.1K bytes
    - Viewed (1)
  5. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/text/AbstractStyledTextOutput.java

    import org.gradle.internal.SystemProperties;
    
    import java.io.PrintWriter;
    import java.io.StringWriter;
    
    /**
     * Subclasses need to implement {@link #doAppend(String)}, and optionally {@link #doStyleChange(StyledTextOutput.Style)}.
     */
    public abstract class AbstractStyledTextOutput implements StyledTextOutput, StandardOutputListener {
        private Style style = Style.Normal;
    
        @Override
        public StyledTextOutput append(char c) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. testing/integ-test/src/crossVersionTest/groovy/org/gradle/integtests/PluginBinaryCompatibilityCrossVersionSpec.groovy

    /**
     * Tests that task classes compiled against earlier versions of Gradle are still compatible.
     */
    class PluginBinaryCompatibilityCrossVersionSpec extends CrossVersionIntegrationSpec {
        def "plugin implemented in Groovy can use types converted from Groovy to Java"() {
            given:
            def apiDepConf = "implementation"
            if (previous.version < GradleVersion.version("7.0-rc-1")) {
                apiDepConf = "compile"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/telemetry/counter/doc.go

    //
    // Basic counters are very cheap. Stack counters are more expensive, as they
    // require parsing the stack. (Stack counters are implemented as basic counters
    // whose names are the concatenation of the name and the stack trace. There is
    // an upper limit on the size of this name, about 4K bytes. If the name is too
    // long the stack will be truncated and "truncated" appended.)
    //
    // When counter files expire they are turned into reports by the upload
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:10:54 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. src/go/types/issues_test.go

    	}
    	if !Comparable(comparableType) {
    		t.Error("comparable is not a comparable type")
    	}
    
    	if Implements(anyType, comparableType.Underlying().(*Interface)) {
    		t.Error("any implements comparable")
    	}
    	if !Implements(comparableType, anyType.(*Interface)) {
    		t.Error("comparable does not implement any")
    	}
    
    	if AssignableTo(anyType, comparableType) {
    		t.Error("any assignable to comparable")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  9. src/crypto/tls/key_agreement.go

    package tls
    
    import (
    	"crypto"
    	"crypto/ecdh"
    	"crypto/md5"
    	"crypto/rsa"
    	"crypto/sha1"
    	"crypto/x509"
    	"errors"
    	"fmt"
    	"io"
    )
    
    // A keyAgreement implements the client and server side of a TLS 1.0–1.2 key
    // agreement protocol by generating and processing key exchange messages.
    type keyAgreement interface {
    	// On the server side, the first two methods are called in order.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 14:56:25 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/AbstractNetwork.java

    import java.util.Set;
    import javax.annotation.CheckForNull;
    
    /**
     * This class provides a skeletal implementation of {@link Network}. It is recommended to extend
     * this class rather than implement {@link Network} directly.
     *
     * <p>The methods implemented in this class should not be overridden unless the subclass admits a
     * more efficient implementation.
     *
     * @author James Sexton
     * @param <N> Node parameter type
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Mar 13 18:17:09 UTC 2024
    - 10.1K bytes
    - Viewed (0)
Back to top