Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 184 for clobber (0.13 sec)

  1. platforms/core-execution/build-cache-local/src/main/java/org/gradle/caching/local/internal/DirectoryBuildCache.java

            tempFileStore.withTempFile(key, file -> {
                try {
                    Closer closer = Closer.create();
                    try {
                        result.accept(closer.register(new FileOutputStream(file)));
                    } catch (Exception e) {
                        throw closer.rethrow(e);
                    } finally {
                        closer.close();
                    }
                } catch (IOException ex) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:53 UTC 2024
    - 7K bytes
    - Viewed (0)
  2. src/runtime/tls_riscv64.s

    // license that can be found in the LICENSE file.
    
    #include "go_asm.h"
    #include "go_tls.h"
    #include "funcdata.h"
    #include "textflag.h"
    
    // If !iscgo, this is a no-op.
    //
    // NOTE: mcall() assumes this clobbers only X31 (REG_TMP).
    TEXT runtime·save_g(SB),NOSPLIT|NOFRAME,$0-0
    #ifndef GOOS_openbsd
    	MOVB	runtime·iscgo(SB), X31
    	BEQZ	X31, nocgo
    #endif
    	MOV	g, runtime·tls_g(SB)
    nocgo:
    	RET
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 04 02:55:17 UTC 2023
    - 615 bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/ByteSink.java

        checkNotNull(bytes);
    
        Closer closer = Closer.create();
        try {
          OutputStream out = closer.register(openStream());
          out.write(bytes);
          out.flush(); // https://code.google.com/p/guava-libraries/issues/detail?id=1330
        } catch (Throwable e) {
          throw closer.rethrow(e);
        } finally {
          closer.close();
        }
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/io/ByteSink.java

        checkNotNull(bytes);
    
        Closer closer = Closer.create();
        try {
          OutputStream out = closer.register(openStream());
          out.write(bytes);
          out.flush(); // https://code.google.com/p/guava-libraries/issues/detail?id=1330
        } catch (Throwable e) {
          throw closer.rethrow(e);
        } finally {
          closer.close();
        }
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/io/CharSink.java

        checkNotNull(charSequence);
    
        Closer closer = Closer.create();
        try {
          Writer out = closer.register(openStream());
          out.append(charSequence);
          out.flush(); // https://code.google.com/p/guava-libraries/issues/detail?id=1330
        } catch (Throwable e) {
          throw closer.rethrow(e);
        } finally {
          closer.close();
        }
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  6. pkg/volume/csi/fake/fake_closer.go

    import (
    	"testing"
    )
    
    func NewCloser(t *testing.T) *Closer {
    	return &Closer{
    		t: t,
    	}
    }
    
    type Closer struct {
    	wasCalled bool
    	t         *testing.T
    }
    
    func (c *Closer) Close() error {
    	c.wasCalled = true
    	return nil
    }
    
    func (c *Closer) Check() *Closer {
    	c.t.Helper()
    
    	if !c.wasCalled {
    		c.t.Error("expected closer to have been called")
    	}
    
    	return c
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 15 19:55:37 UTC 2018
    - 944 bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/CharSink.java

        checkNotNull(charSequence);
    
        Closer closer = Closer.create();
        try {
          Writer out = closer.register(openStream());
          out.append(charSequence);
          out.flush(); // https://code.google.com/p/guava-libraries/issues/detail?id=1330
        } catch (Throwable e) {
          throw closer.rethrow(e);
        } finally {
          closer.close();
        }
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  8. platforms/core-execution/build-cache/src/main/java/org/gradle/caching/internal/controller/service/LoadTarget.java

            Closer closer = Closer.create();
            closer.register(input);
            try {
                if (loaded) {
                    throw new IllegalStateException("Build cache entry has already been read");
                }
                Files.asByteSink(file).writeFrom(input);
                loaded = true;
            } catch (Exception e) {
                throw closer.rethrow(e);
            } finally {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:43:12 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  9. src/runtime/tls_loong64.s

    // license that can be found in the LICENSE file.
    
    #include "go_asm.h"
    #include "go_tls.h"
    #include "funcdata.h"
    #include "textflag.h"
    
    // If !iscgo, this is a no-op.
    //
    // NOTE: mcall() assumes this clobbers only R30 (REGTMP).
    TEXT runtime·save_g(SB),NOSPLIT|NOFRAME,$0-0
    	MOVB	runtime·iscgo(SB), R30
    	BEQ	R30, nocgo
    
    	MOVV	g, runtime·tls_g(SB)
    
    nocgo:
    	RET
    
    TEXT runtime·load_g(SB),NOSPLIT|NOFRAME,$0-0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 17 20:18:25 UTC 2022
    - 589 bytes
    - Viewed (0)
  10. test/fixedbugs/issue13171.go

    // Copyright 2015 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.
    
    package main
    
    // Make sure the compiler knows that DUFFCOPY clobbers X0
    
    import "fmt"
    
    //go:noinline
    func f(x float64) float64 {
    	// y is allocated to X0
    	y := x + 5
    	// marshals z before y.  Marshaling z
    	// calls DUFFCOPY.
    	return g(z, y)
    }
    
    //go:noinline
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Nov 12 00:13:35 UTC 2016
    - 588 bytes
    - Viewed (0)
Back to top