Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 122 for newcost (0.26 sec)

  1. subprojects/core/src/testFixtures/groovy/org/gradle/util/BinaryDiffUtils.groovy

                    int costInsert = cost[i] + 1;
                    int costDelete = newcost[i - 1] + 1;
    
                    // keep minimum cost
                    newcost[i] = Math.min(Math.min(costInsert, costDelete), costReplace);
                }
    
                // swap cost/newcost arrays
                int[] swap = cost; cost = newcost; newcost = swap;
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Oct 14 11:47:34 UTC 2016
    - 2.4K bytes
    - Viewed (0)
  2. cni/pkg/install/testdata/kubeconfig-newhost

    Ben Leggett <******@****.***> 1691716743 -0400
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Aug 11 01:19:03 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  3. tests/embedded_struct_test.go

    	}
    
    	if hnPost.Title != NewPost.Title {
    		t.Errorf("Should find correct value for embedded pointer type")
    	}
    
    	if hnPost.Author.Name != NewPost.Author.Name {
    		t.Errorf("Expected to get Author name %v but got: %v", NewPost.Author.Name, hnPost.Author.Name)
    	}
    
    	if !reflect.DeepEqual(NewPost.Author.Content, hnPost.Author.Content) {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  4. src/cmd/link/testdata/linkname/coro_var.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Linkname "var" to reference newcoro is not allowed.
    
    package main
    
    import "unsafe"
    
    func main() {
    	call(&newcoro)
    }
    
    //go:linkname newcoro runtime.newcoro
    var newcoro unsafe.Pointer
    
    //go:noinline
    func call(*unsafe.Pointer) {
    	// not implemented
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 17:05:33 UTC 2024
    - 411 bytes
    - Viewed (0)
  5. src/cmd/link/testdata/linkname/coro_asm/main.go

    // Copyright 2024 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.
    
    // Assembly reference of newcoro is not allowed.
    
    package main
    
    func main() {
    	newcoro()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 17:05:33 UTC 2024
    - 267 bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/configurations/DefaultConfigurationContainerTest.groovy

        )
    
        def addsNewConfigurationWhenConfiguringSelf() {
            when:
            configurationContainer.configure {
                newConf
            }
    
            then:
            configurationContainer.findByName('newConf') != null
            configurationContainer.newConf != null
        }
    
        def doesNotAddNewConfigurationWhenNotConfiguringSelf() {
            when:
            configurationContainer.getByName('unknown')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:29:40 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/phases/certs/renewal/manager_test.go

    			}
    
    			certtestutil.AssertCertificateIsSignedByCa(t, newCert, testCACert)
    			certtestutil.AssertCertificateHasClientAuthUsage(t, newCert)
    			certtestutil.AssertCertificateHasOrganizations(t, newCert, test.expectedOrganization...)
    			certtestutil.AssertCertificateHasCommonName(t, newCert, testCertCfg.CommonName)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  8. pkg/test/echo/server/forwarder/http.go

    		return func() (http.RoundTripper, func(), error) {
    			conn := newConn()
    			return conn, closeFn(conn), nil
    		}, noCloseFn
    	}
    
    	// Re-use the same transport for all requests. For HTTP3, this should result
    	// in multiplexing all requests over the same connection.
    	conn := newConn()
    	return func() (http.RoundTripper, func(), error) {
    		return conn, noCloseFn, nil
    	}, closeFn(conn)
    }
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 13:56:46 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  9. src/crypto/tls/cache_test.go

    	if p == nil {
    		t.Fatal("Failed to decode certificate")
    	}
    
    	certA, err := cc.newCert(p.Bytes)
    	if err != nil {
    		t.Fatalf("newCert failed: %s", err)
    	}
    	certB, err := cc.newCert(p.Bytes)
    	if err != nil {
    		t.Fatalf("newCert failed: %s", err)
    	}
    	if certA.cert != certB.cert {
    		t.Fatal("newCert returned a unique reference for a duplicate certificate")
    	}
    
    	if entry, ok := cc.Load(string(p.Bytes)); !ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 07 19:46:27 UTC 2022
    - 2.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/AbstractMapBasedMultiset.java

        checkNonnegative(oldCount, "oldCount");
        checkNonnegative(newCount, "newCount");
        int entryIndex = backingMap.indexOf(element);
        if (entryIndex == -1) {
          if (oldCount != 0) {
            return false;
          }
          if (newCount > 0) {
            backingMap.put(element, newCount);
            size += newCount;
          }
          return true;
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 8.2K bytes
    - Viewed (0)
Back to top