Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 90 for clobber (0.12 sec)

  1. src/mime/multipart/formdata.go

    type File interface {
    	io.Reader
    	io.ReaderAt
    	io.Seeker
    	io.Closer
    }
    
    // helper types to turn a []byte into a File
    
    type sectionReadCloser struct {
    	*io.SectionReader
    	io.Closer
    }
    
    func (rc sectionReadCloser) Close() error {
    	if rc.Closer != nil {
    		return rc.Closer.Close()
    	}
    	return nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 16:12:35 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  2. cmd/bitrot_test.go

    		t.Fatal(err)
    	}
    	_, err = writer.Write([]byte("aaaaaaaaaa"))
    	if err != nil {
    		t.Fatal(err)
    	}
    	_, err = writer.Write([]byte("aaaaa"))
    	if err != nil {
    		t.Fatal(err)
    	}
    	if bw, ok := writer.(io.Closer); ok {
    		bw.Close()
    	}
    
    	reader := newBitrotReader(disk, nil, volume, filePath, 35, bitrotAlgo, bitrotWriterSum(writer), 10)
    	b := make([]byte, 10)
    	if _, err = reader.ReadAt(b, 0); err != nil {
    		t.Fatal(err)
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java

        }
    
        protected static File getFileForClasspathResource(String resource)
                throws FileNotFoundException, URISyntaxException {
            ClassLoader cloader = Thread.currentThread().getContextClassLoader();
    
            URL resourceUrl = cloader.getResource(resource);
    
            if (resourceUrl == null) {
                throw new FileNotFoundException("Unable to find: " + resource);
            }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. src/runtime/sys_windows_arm.s

    	MOVM.DB.W [R4-R11, R14], (R13)	// push {r4-r11, lr} (SP-=40)
    	SUB	$(16), R13		// reserve space for parameters/retval to go call
    
    	MOVW	R0, R6			// Save param0
    	MOVW	R1, R7			// Save param1
    	BL	runtime·load_g(SB)	// Clobbers R0
    
    	MOVW	$0, R4
    	MOVW	R4, 0(R13)	// No saved link register.
    	MOVW	R6, 4(R13)	// Move arg0 into position
    	MOVW	R7, 8(R13)	// Move arg1 into position
    	BL	runtime·sigtrampgo(SB)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 21 15:56:43 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/math/ToDoubleRounder.java

              X deltaToCeiling = minus(roundCeiling, x);
              int diff = deltaToFloor.compareTo(deltaToCeiling);
              if (diff < 0) { // closer to floor
                return roundFloorAsDouble;
              } else if (diff > 0) { // closer to ceiling
                return roundCeilingAsDouble;
              }
              // halfway between the representable values; do the half-whatever logic
              switch (mode) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/math/ToDoubleRounder.java

              X deltaToCeiling = minus(roundCeiling, x);
              int diff = deltaToFloor.compareTo(deltaToCeiling);
              if (diff < 0) { // closer to floor
                return roundFloorAsDouble;
              } else if (diff > 0) { // closer to ceiling
                return roundCeilingAsDouble;
              }
              // halfway between the representable values; do the half-whatever logic
              switch (mode) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. src/runtime/sys_windows_amd64.s

    	MOVQ	AX, g_stackguard0(DX)
    	MOVQ	AX, g_stackguard1(DX)
    
    	// Set up tls.
    	LEAQ	m_tls(CX), DI
    	MOVQ	CX, g_m(DX)
    	MOVQ	DX, g(DI)
    	CALL	runtime·settls(SB) // clobbers CX
    
    	CALL	runtime·stackcheck(SB)	// clobbers AX,CX
    	CALL	runtime·mstart(SB)
    
    	POP_REGS_HOST_TO_ABI0()
    
    	XORL	AX, AX			// return 0 == success
    	RET
    
    // set tls base to DI
    TEXT runtime·settls(SB),NOSPLIT,$0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 19 07:24:08 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/_gen/PPC64latelower.rules

    (CMPconst <t> [0] (Select0 z:((ADDCCconst|ANDCCconst|NEGCC|CNTLZDCC|RLDICLCC) y))) => (Select1 <t> z)
    
    // After trying to convert ANDconst to ANDCCconst above, if the CC result is not needed, try to avoid using
    // ANDconst which clobbers CC.
    (ANDconst [m] x) && isPPC64ValidShiftMask(m) => (RLDICL [encodePPC64RotateMask(0,m,64)] x)
    
    // Likewise, trying converting RLDICLCC back to ANDCCconst as it is faster.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. pkg/test/framework/components/gcemetadata/kube.go

    	"istio.io/istio/pkg/test/framework/resource"
    	testKube "istio.io/istio/pkg/test/kube"
    	"istio.io/istio/pkg/test/scopes"
    )
    
    const (
    	ns = "gce-metadata"
    )
    
    var (
    	_ Instance  = &kubeComponent{}
    	_ io.Closer = &kubeComponent{}
    )
    
    type kubeComponent struct {
    	id        resource.ID
    	ns        namespace.Instance
    	cluster   cluster.Cluster
    	address   string
    	addressVM string
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Dec 04 22:47:52 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  10. src/runtime/testdata/testprog/crash.go

    func (p P) String() string {
    	// Try to free the "YYY" string header when the "XXX"
    	// panic is stringified.
    	runtime.GC()
    	runtime.GC()
    	runtime.GC()
    	return string(p)
    }
    
    // Test that panic message is not clobbered.
    // See issue 30150.
    func DoublePanic() {
    	defer func() {
    		panic(P("YYY"))
    	}()
    	panic(P("XXX"))
    }
    
    // Test that panic while panicking discards error message
    // See issue 52257
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:10:41 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top