Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 71 for unwrapping (0.17 sec)

  1. src/crypto/tls/quic.go

    	if err == nil {
    		return nil
    	}
    	var ae AlertError
    	if errors.As(err, &ae) {
    		return err
    	}
    	var a alert
    	if !errors.As(err, &a) {
    		a = alertInternalError
    	}
    	// Return an error wrapping the original error and an AlertError.
    	// Truncate the text of the alert to 0 characters.
    	return fmt.Errorf("%w%.0w", err, AlertError(a))
    }
    
    func (c *Conn) quicReadHandshakeBytes(n int) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:23:54 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/util/net/interface.go

    	Addrs(intf *net.Interface) ([]net.Addr, error)
    	Interfaces() ([]net.Interface, error)
    }
    
    // networkInterface implements the networkInterfacer interface for production code, just
    // wrapping the underlying net library function calls.
    type networkInterface struct{}
    
    func (_ networkInterface) InterfaceByName(intfName string) (*net.Interface, error) {
    	return net.InterfaceByName(intfName)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 27 07:07:03 UTC 2022
    - 14.7K bytes
    - Viewed (0)
  3. src/strconv/atoi_test.go

    	{"`", "strconv.ParseFloat: parsing \"`\": failed"},
    	{"1\x00.2", `strconv.ParseFloat: parsing "1\x00.2": failed`},
    }
    
    func init() {
    	// The parse routines return NumErrors wrapping
    	// the error and the string. Convert the tables above.
    	for i := range parseUint64Tests {
    		test := &parseUint64Tests[i]
    		if test.err != nil {
    			test.err = &NumError{"ParseUint", test.in, test.err}
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 21 05:09:21 UTC 2023
    - 17.1K bytes
    - Viewed (0)
  4. misc/go_android_exec/main.go

    	// However, if the os.Stderr (or os.Stdout) file descriptors are
    	// passed on, the hanging adb subprocess will hold them open and
    	// go test will hang forever.
    	//
    	// Avoid that by wrapping stderr, breaking the short circuit and
    	// forcing cmd.Run to use another pipe and goroutine to pass
    	// along stderr from adb.
    	cmd.Stderr = struct{ io.Writer }{os.Stderr}
    	err := cmd.Run()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 21 17:46:57 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  5. platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/incremental/SourceParseAndResolutionTest.groovy

                #include HEADER(FUNC_NAME, (), 3)
            """
    
            expect:
            resolve() == [header]
        }
    
        def "can produce a macro function call by concatenating name and wrapping args in parens"() {
            given:
            sourceFile << """
                #define FUNC(X, Y) X
                #define HEADER_(X, Y) X ## Y
                #define HEADER(X, Y, Z) HEADER_(X, (Y, Z))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 21.5K bytes
    - Viewed (0)
  6. src/cmd/go/internal/search/search.go

    func NewMatch(pattern string) *Match {
    	return &Match{pattern: pattern}
    }
    
    // Pattern returns the pattern to be matched.
    func (m *Match) Pattern() string { return m.pattern }
    
    // AddError appends a MatchError wrapping err to m.Errs.
    func (m *Match) AddError(err error) {
    	m.Errs = append(m.Errs, &MatchError{Match: m, Err: err})
    }
    
    // IsLiteral reports whether the pattern is free of wildcards and meta-patterns.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 31 20:33:05 UTC 2023
    - 15.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/MoreExecutors.java

       * invokeAll}, and {@code invokeAny} methods, so any special handling of tasks must be implemented
       * in the delegate's {@code execute} method or by wrapping the returned {@code
       * ListeningExecutorService}.
       *
       * <p>If the delegate executor was already an instance of {@code ListeningExecutorService}, it is
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 15 10:40:05 UTC 2024
    - 43.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/update_control_dependencies.mlir

        tf_executor.island {
          "tf.NoOp"() : () -> ()
          tf_executor.yield
        }
        tf_executor.fetch
      }
      func.return
    }
    
    // -----
    
    // Test that functions' graph op must have only island ops wrapping a single op
    // and a single fetch op, otherwise, the pass will signal failure.
    
    func.func @graph_multi_op_island() {
      tf_executor.graph {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Nov 03 18:12:49 UTC 2023
    - 25.2K bytes
    - Viewed (0)
  9. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/parsing/GrammarToTree.kt

                val innerSourceData = sourceData(inner, 0)
                return UnsupportedConstruct(outerSourceData, innerSourceData, feature)
            } // TODO: hack, due to script wrapping
        }
    
        fun script(originalTree: LightTree): LanguageTreeResult {
            val tree = CachingLightTree(originalTree)
            val packageNode = packageNode(tree)
            val importNodes = importNodes(tree)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 22:06:18 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  10. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-param-util.h

        const ParamGeneratorInterface<T>* const base_;
        typename ContainerType::const_iterator iterator_;
        // A cached value of *iterator_. We keep it here to allow access by
        // pointer in the wrapping iterator's operator->().
        // value_ needs to be mutable to be accessed in Current().
        // Use of scoped_ptr helps manage cached value's lifetime,
        // which is bound by the lifespan of the iterator itself.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 23.6K bytes
    - Viewed (0)
Back to top