Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 143 for newRat (0.67 sec)

  1. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/plugins/PluginBuildsIntegrationTest.groovy

                }
                dependencies {
                    implementation("${build.group}:${build.buildName}")
                }
            """
            file("src/main/java/Foo.java") << """
                class Foo { Bar newBar() { return new Bar(); }}
            """
    
            then:
            succeeds("build")
            executed(":${build.buildName}:compileJava")
            executed(":compileJava")
            build.assertProjectPluginApplied()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 06 08:15:28 UTC 2023
    - 18.4K bytes
    - Viewed (0)
  2. src/crypto/internal/nistec/generate.go

    			log.Fatal(err)
    		}
    
    		// If p = 3 mod 4, implement modular square root by exponentiation.
    		mod4 := new(big.Int).Mod(c.Params.P, big.NewInt(4))
    		if mod4.Cmp(big.NewInt(3)) != 0 {
    			continue
    		}
    
    		exp := new(big.Int).Add(c.Params.P, big.NewInt(1))
    		exp.Div(exp, big.NewInt(4))
    
    		tmp, err := os.CreateTemp("", "addchain-"+p)
    		if err != nil {
    			log.Fatal(err)
    		}
    		defer os.Remove(tmp.Name())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  3. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/platform/JUnitPlatformIntegrationTest.groovy

        @Requires(IntegTestPreconditions.NotEmbeddedExecutor)
        // JUnitCoverage is quite limited and doesn't test older versions or the newest version.
        // Future work is planned to improve junit test rewriting, and at the same time should verify
        // greater ranges of junit platform testing. This is only reproducible with the newest version
        // of junit, so test that version explicitly here.
        @Issue("https://github.com/gradle/gradle/issues/24429")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 17.2K bytes
    - Viewed (0)
  4. pkg/registry/core/service/ipallocator/ipallocator.go

    // but using netip.Addr instead of net.IP
    func addOffsetAddress(address netip.Addr, offset uint64) (netip.Addr, error) {
    	addressBytes := address.AsSlice()
    	addressBig := big.NewInt(0).SetBytes(addressBytes)
    	r := big.NewInt(0).Add(addressBig, big.NewInt(int64(offset))).Bytes()
    	// r must be 4 or 16 bytes depending of the ip family
    	// bigInt conversion to bytes will not take this into consideration
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:04 UTC 2023
    - 17K bytes
    - Viewed (0)
  5. platforms/software/resources/src/main/java/org/gradle/internal/resource/ExternalResourceName.java

            } else {
                leadingSlash = this.path.startsWith("/");
                append(this.path, parts);
            }
            append(path, parts);
            String newPath = join(leadingSlash, trailingSlash, parts);
            return new ExternalResourceName(encodedRoot, newPath);
        }
    
        /**
         * Appends the given text to the end of this path.
         */
        public ExternalResourceName append(String path) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 10K bytes
    - Viewed (0)
  6. pkg/registry/core/service/ipallocator/bitmap.go

    		// Allocate() it - we don't ever want to be able to release it.
    		max--
    	}
    
    	// Don't use the network's ".0" address, but don't just Allocate() it - we
    	// don't ever want to be able to release it.
    	base.Add(base, big.NewInt(1))
    	max--
    
    	// cidr with whole mask can be negative
    	if max < 0 {
    		max = 0
    	}
    
    	r := Range{
    		net:     cidr,
    		base:    base,
    		max:     maximum(0, int(max)),
    		family:  family,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 25 20:32:40 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/walk/convert.go

    		n = soleComponent(init, n)
    		// byteindex widens n so that the multiplication doesn't overflow.
    		index := ir.NewBinaryExpr(base.Pos, ir.OLSH, byteindex(n), ir.NewInt(base.Pos, 3))
    		if ssagen.Arch.LinkArch.ByteOrder == binary.BigEndian {
    			index = ir.NewBinaryExpr(base.Pos, ir.OADD, index, ir.NewInt(base.Pos, 7))
    		}
    		// The actual type is [256]uint64, but we use [256*8]uint8 so we can address
    		// individual bytes.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 09 17:28:22 UTC 2023
    - 18.2K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/go/ast/astutil/imports.go

    func RewriteImport(fset *token.FileSet, f *ast.File, oldPath, newPath string) (rewrote bool) {
    	for _, imp := range f.Imports {
    		if importPath(imp) == oldPath {
    			rewrote = true
    			// record old End, because the default is to compute
    			// it using the length of imp.Path.Value.
    			imp.EndPos = imp.End()
    			imp.Path.Value = strconv.Quote(newPath)
    		}
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 10 21:56:21 UTC 2022
    - 13.4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/storage/etcd3/store.go

    		return err
    	}
    	span.AddEvent("Encode succeeded", attribute.Int("len", len(data)))
    
    	opts, err := s.ttlOpts(ctx, int64(ttl))
    	if err != nil {
    		return err
    	}
    
    	newData, err := s.transformer.TransformToStorage(ctx, data, authenticatedDataString(preparedKey))
    	if err != nil {
    		span.AddEvent("TransformToStorage failed", attribute.String("err", err.Error()))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 11:56:42 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/phases/upgrade/staticpods.go

    }
    
    // MoveFile should move a file from oldPath to newPath
    func (spm *KubeStaticPodPathManager) MoveFile(oldPath, newPath string) error {
    	return kubeadmutil.MoveFile(oldPath, newPath)
    }
    
    // KubernetesDir should point to the directory Kubernetes owns for storing various configuration files
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 10:07:41 UTC 2024
    - 30.7K bytes
    - Viewed (0)
Back to top