Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 475 for allDone (0.16 sec)

  1. src/internal/types/testdata/fixedbugs/issue26390.go

    // Copyright 2018 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // stand-alone test to ensure case is triggered
    
    package issue26390
    
    type A = T
    
    func (t *T) m() *A { return t }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 02 02:58:32 UTC 2022
    - 290 bytes
    - Viewed (0)
  2. src/net/tcpsockopt_windows.go

    	switch {
    	case idle < 0 && interval >= 0:
    		// Given that we can't set KeepAliveInterval alone, and this code path
    		// is new, it doesn't exist before, so we just return an error.
    		return syscall.WSAENOPROTOOPT
    	case idle >= 0 && interval < 0:
    		// Although we can't set KeepAliveTime alone either, this existing code
    		// path had been backing up [SetKeepAlivePeriod] which used to be set both
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:35 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. src/internal/types/testdata/fixedbugs/issue39680.go

    // Copyright 2020 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package p
    
    // Embedding stand-alone type parameters is not permitted for now. Disabled.
    
    /*
    import "fmt"
    
    // Minimal test case.
    func _[T interface{~T}](x T) T{
    	return x
    }
    
    // Test case from issue.
    type constr[T any] interface {
    	~T
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 02 02:58:32 UTC 2022
    - 533 bytes
    - Viewed (0)
  4. test/fixedbugs/bug092.go

    // Copyright 2009 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    func main() {
    	var a [1000] int64;  // this alone works
    	var b [10000] int64;  // this causes a runtime crash
    	_, _ = a, b;
    }
    
    /*
    uetli:~/Source/go1/test/bugs gri$ 6g bug092.go && 6l bug092.6 && 6.out
    Illegal instruction
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 04:49:30 UTC 2012
    - 474 bytes
    - Viewed (0)
  5. test/typeparam/typelist.go

    	return p["test"]
    }
    
    // Testing partial and full type inference, including the case where the types can
    // be inferred without needing the types of the function arguments.
    
    // Cannot embed stand-alone type parameters. Disabled for now.
    /*
    func f0[A any, B interface{type C}, C interface{type D}, D interface{type A}](A, B, C, D)
    func f0x() {
            f := f0[string]
            f("a", "b", "c", "d")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 09:04:48 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. releasenotes/notes/no_extension_lookup_by_name.yaml

    upgradeNotes:
      - title: EnvoyFilter must specify the type URL for an Envoy extension injection.
        content: |
          Previously, Istio permitted a lookup of the extension in `EnvoyFilter` by its internal Envoy name alone. To see if you are affected,
          run `istioctl analyze` and check for a deprecation warning `using deprecated types by name without typed_config`. Additionally, make
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 26 21:20:37 UTC 2023
    - 712 bytes
    - Viewed (0)
  7. src/internal/profile/profile.go

    	if len(p.SampleType) != len(ratios) {
    		return fmt.Errorf("mismatched scale ratios, got %d, want %d", len(ratios), len(p.SampleType))
    	}
    	allOnes := true
    	for _, r := range ratios {
    		if r != 1 {
    			allOnes = false
    			break
    		}
    	}
    	if allOnes {
    		return nil
    	}
    	for _, s := range p.Sample {
    		for i, v := range s.Value {
    			if ratios[i] != 1 {
    				s.Value[i] = int64(float64(v) * ratios[i])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 08 17:57:40 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/internal/build/StandAloneNestedBuild.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.build;
    
    /**
     * A stand alone nested build, which is a nested build that runs as part of some containing build as a single atomic step, without participating in task execution of the containing build.
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 13 02:04:27 UTC 2022
    - 963 bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/defaulting/prunenulls.go

    	}
    	return nil
    }
    
    // PruneNonNullableNullsWithoutDefaults removes non-nullable
    // non-defaultable null values from object.
    //
    // Non-nullable nulls that have a default are left alone here and will
    // be defaulted later.
    func PruneNonNullableNullsWithoutDefaults(x interface{}, s *structuralschema.Structural) {
    	switch x := x.(type) {
    	case map[string]interface{}:
    		for k, v := range x {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 06 03:49:29 UTC 2020
    - 1.9K bytes
    - Viewed (0)
  10. internal/ioutil/discard.go

    package ioutil
    
    import (
    	"io"
    )
    
    // Discard is just like io.Discard without the io.ReaderFrom compatible
    // implementation which is buggy on NUMA systems, we have to use a simpler
    // io.Writer implementation alone avoids also unnecessary buffer copies,
    // and as such incurred latencies.
    var Discard io.Writer = discard{}
    
    // discard is /dev/null for Golang.
    type discard struct{}
    
    func (discard) Write(p []byte) (int, error) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Nov 06 22:26:08 UTC 2023
    - 1.3K bytes
    - Viewed (0)
Back to top