Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 122 for clobber (0.21 sec)

  1. src/cmd/compile/internal/types2/infer.go

    	for _, arg := range args {
    		if arg.mode == invalid {
    			return nil
    		}
    	}
    
    	// Make sure we have a "full" list of type arguments, some of which may
    	// be nil (unknown). Make a copy so as to not clobber the incoming slice.
    	if len(targs) < n {
    		targs2 := make([]Type, n)
    		copy(targs2, targs)
    		targs = targs2
    	}
    	// len(targs) == n
    
    	// Continue with the type arguments we have. Avoid matching generic
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 13:54:20 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  2. src/runtime/syscall_windows_test.go

    }
    
    // This test forces a GC. The idea is to have enough arguments
    // that insufficient spill slots allocated (according to the ABI)
    // may cause compiler-generated spills to clobber the return PC.
    // Then, the GC stack scanning will catch that.
    //
    //go:registerparams
    func sum9andGC(i1, i2, i3, i4, i5, i6, i7, i8, i9 uint32) uintptr {
    	runtime.GC()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 31 16:31:35 UTC 2023
    - 32.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/Closer.java

     *
     * <pre>{@code
     * Closer closer = Closer.create();
     * try {
     *   InputStream in = closer.register(openInputStream());
     *   OutputStream out = closer.register(openOutputStream());
     *   // do stuff
     * } catch (Throwable e) {
     *   // ensure that any checked exception types other than IOException that could be thrown are
     *   // provided here, e.g. throw closer.rethrow(e, CheckedException.class);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/Closer.java

     *
     * <pre>{@code
     * Closer closer = Closer.create();
     * try {
     *   InputStream in = closer.register(openInputStream());
     *   OutputStream out = closer.register(openOutputStream());
     *   // do stuff
     * } catch (Throwable e) {
     *   // ensure that any checked exception types other than IOException that could be thrown are
     *   // provided here, e.g. throw closer.rethrow(e, CheckedException.class);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/ppc64/obj9.go

    					// during the execution of the function prologue, the traceback
    					// code will not see a half-updated stack frame.
    					// This sequence is not async preemptible, as if we open a frame
    					// at the current SP, it will clobber the saved LR.
    					q = obj.Appendp(q, c.newprog)
    					q.As = AMOVD
    					q.Pos = p.Pos
    					q.From.Type = obj.TYPE_REG
    					q.From.Reg = REG_LR
    					q.To.Type = obj.TYPE_REG
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 40.8K bytes
    - Viewed (0)
  6. src/encoding/gob/gobencdec_test.go

    	}
    	if x.G.a != 'A' {
    		t.Errorf("expected 'A' got %c", x.G.a)
    	}
    	// Now a field that's not a structure.
    	b.Reset()
    	gobber := Gobber(23)
    	bgobber := BinaryGobber(24)
    	tgobber := TextGobber(25)
    	err = enc.Encode(GobTest3{17, &gobber, &bgobber, &tgobber})
    	if err != nil {
    		t.Fatal("encode error:", err)
    	}
    	y := new(GobTest3)
    	err = dec.Decode(y)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 01 14:26:13 UTC 2023
    - 19.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/CloserTest.java

        Closer closer = new Closer(suppressor);
    
        TestCloseable c1 = closer.register(TestCloseable.normal());
        TestCloseable c2 = closer.register(TestCloseable.normal());
    
        IOException exception = new IOException();
    
        try {
          try {
            throw exception;
          } catch (Throwable e) {
            throw closer.rethrow(e);
          } finally {
            closer.close();
          }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/op.go

    	// from the register set (most constrained first).
    	// Inputs which do not need registers are not listed.
    	inputs []inputInfo
    	// clobbers encodes the set of registers that are overwritten by
    	// the instruction (other than the output registers).
    	clobbers regMask
    	// outputs is the same as inputs, but for the outputs of the instruction.
    	outputs []outputInfo
    }
    
    func (r *regInfo) String() string {
    	s := ""
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 15:29:10 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  9. internal/ioutil/ioutil.go

    	w.hasWritten = true
    	return w.Writer.Write(p)
    }
    
    // Close closes the WriteOnCloser. It behaves like io.Closer.
    func (w *WriteOnCloser) Close() error {
    	if !w.hasWritten {
    		_, err := w.Write(nil)
    		if err != nil {
    			return err
    		}
    	}
    	if closer, ok := w.Writer.(io.Closer); ok {
    		return closer.Close()
    	}
    	return nil
    }
    
    // HasWritten returns true if at least one write operation was performed.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  10. platforms/core-execution/build-cache/src/main/java/org/gradle/caching/internal/controller/DefaultBuildCacheController.java

            });
        }
    
        @Override
        public void close() throws IOException {
            if (!closed) {
                closed = true;
                Closer closer = Closer.create();
                closer.register(local);
                closer.register(remote);
                closer.close();
            }
        }
    
        @VisibleForTesting
        static class PackOperationExecutor {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 08 08:29:47 UTC 2024
    - 14K bytes
    - Viewed (0)
Back to top