Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 66 for dedupes (0.14 sec)

  1. pilot/pkg/trustbundle/trustbundle_test.go

    		t.Errorf("Basic trustbundle update test failed. Callback value is %v", cbCounter)
    	}
    
    	// Add Second Cert update
    	// ensure intermediate CA certs accepted, it replaces the first completely, and lib dedupes duplicate cert
    	err = tb.UpdateTrustAnchor(&TrustAnchorUpdate{
    		TrustAnchorConfig: TrustAnchorConfig{Certs: []string{intermediateCACert, intermediateCACert}},
    		Source:            SourceMeshConfig,
    	})
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/rest_test.go

    					UID:        "1",
    				},
    			},
    		},
    	}
    	for _, tc := range testCases {
    		t.Run(tc.name, func(t *testing.T) {
    			deduped, _ := dedupOwnerReferences(tc.ownerReferences)
    			if !apiequality.Semantic.DeepEqual(deduped, tc.expected) {
    				t.Errorf("diff: %v", cmp.Diff(deduped, tc.expected))
    			}
    		})
    	}
    }
    
    func TestParseYAMLWarnings(t *testing.T) {
    	yamlNoErrs := `---
    apiVersion: foo
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  3. src/go/ast/import.go

    	})
    
    	// Dedup. Thanks to our sorting, we can just consider
    	// adjacent pairs of imports.
    	deduped := specs[:0]
    	for i, s := range specs {
    		if i == len(specs)-1 || !collapse(s, specs[i+1]) {
    			deduped = append(deduped, s)
    		} else {
    			p := s.Pos()
    			fset.File(p).MergeLine(lineAt(fset, p))
    		}
    	}
    	specs = deduped
    
    	// Fix up comment positions
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  4. cmd/veeam-sos-api.go

    //     Optional value, default 1000, range: 1-unlimited (S3 standard maximum is 1000 and should not be set higher)
    //
    //   - <StorageConcurrentTasksLimit>
    //     Setting reduces the parallel Repository Task slots that offload or write data to object storage. The same user interface
    //     setting overwrites the storage-defined setting.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 20 18:54:52 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  5. doc/next/6-stdlib/99-minor/text/template/57646.md

    Templates now support the new "else with" action, which reduces template complexity in some use cases....
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 20:49:22 UTC 2024
    - 103 bytes
    - Viewed (0)
  6. doc/next/5-toolchain.md

    <!-- https://go.dev/issue/62737 , https://golang.org/cl/576681,  https://golang.org/cl/577615 -->
    The compiler in Go 1.23 can now overlap the stack frame slots of local variables
    accessed in disjoint regions of a function, which reduces stack usage
    for Go applications.
    
    <!-- https://go.dev/cl/577935 -->
    For 386 and amd64, the compiler will use information from PGO to align certain
    hot blocks in loops.  This improves performance an additional 1-1.5% at
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:18:10 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. pkg/test/framework/components/cluster/clusters.go

    func (c Clusters) Contains(cc Cluster) bool {
    	return c.GetByName(cc.Name()) != nil
    }
    
    // Names returns the deduped list of names of the clusters.
    func (c Clusters) Names() []string {
    	dedup := sets.String{}
    	for _, cc := range c {
    		dedup.Insert(cc.Name())
    	}
    	return dedup.UnsortedList()
    }
    
    type ClustersByNetwork map[string]Clusters
    
    func (c ClustersByNetwork) Networks() []string {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  8. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtSubtypingComponent.kt

         *     such as `Int = UnresolvedClass`.
         *  2. It forces the user to handle error types explicitly, which reduces the risk of false positives.
         *  3. It is consistent with most of the behavior of the Kotlin compiler.
         */
        STRICT,
    
        /**
         * Error types are equal to and subtypes of all types.
         *
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. src/math/rand/v2/pcg.go

    	// Numpy's PCG multiplies by the 64-bit value cheapMul
    	// instead of the 128-bit value used here and in the official PCG code.
    	// This does not seem worthwhile, at least for Go: not having any high
    	// bits in the multiplier reduces the effect of low bits on the highest bits,
    	// and it only saves 1 multiply out of 3.
    	// (On 32-bit systems, it saves 1 out of 6, since Mul64 is doing 4.)
    	const (
    		mulHi = 2549297995355413924
    		mulLo = 4865540595714422341
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:31:58 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. src/os/exec/exec.go

    					env = append(env, "PWD="+pwd)
    				} else if err == nil {
    					err = absErr
    				}
    			}
    		}
    	}
    
    	env, dedupErr := dedupEnv(env)
    	if err == nil {
    		err = dedupErr
    	}
    	return addCriticalEnv(env), err
    }
    
    // Environ returns a copy of the environment in which the command would be run
    // as it is currently configured.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 41.4K bytes
    - Viewed (0)
Back to top