Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,210 for cLower (0.24 sec)

  1. platforms/documentation/docs/src/snippets/workerApi/md5ProcessIsolation/kotlin/buildSrc/src/main/java/GenerateMD5.java

                InputStream stream = new FileInputStream(sourceFile);
                System.out.println("Generating MD5 for " + sourceFile.getName() + "...");
                // Artificially make this task slower.
                Thread.sleep(3000);
                FileUtils.writeStringToFile(md5File, DigestUtils.md5Hex(stream), (String) null);
            } catch (Exception e) {
                throw new RuntimeException(e);
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 923 bytes
    - Viewed (0)
  2. pkg/volume/csi/csi_client_test.go

    		t.Logf("test case: %s", tc.name)
    
    		fakeCloser := fake.NewCloser(t)
    		client := &csiDriverClient{
    			driverName: "Fake Driver Name",
    			nodeV1ClientCreator: func(addr csiAddr, m *MetricsManager) (csipbv1.NodeClient, io.Closer, error) {
    				nodeClient := fake.NewNodeClient(false /* stagingCapable */)
    				nodeClient.SetNextError(tc.err)
    				nodeClient.SetNodeGetInfoResp(&csipbv1.NodeGetInfoResponse{
    					NodeId:            tc.expectedNodeID,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  3. pkg/test/framework/integration/component.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package integration
    
    import (
    	"io"
    
    	"istio.io/istio/pkg/test/framework/resource"
    )
    
    var _ io.Closer = &component{}
    
    type component struct {
    	name        string
    	id          resource.ID
    	handleClose func(*component)
    }
    
    func (c *component) ID() resource.ID {
    	return c.id
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 29 20:42:01 UTC 2020
    - 1.1K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/compile.go

    	{"schedule", "regalloc"},
    	// the rules in late lower run after the general rules.
    	{"lower", "late lower"},
    	// late lower may generate some values that need to be CSEed.
    	{"late lower", "lowered cse"},
    	// checkLower must run after lowering & subsequent dead code elim
    	{"lower", "checkLower"},
    	{"lowered deadcode", "checkLower"},
    	{"late lower", "checkLower"},
    	// late nilcheck needs instructions to be scheduled.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:55:18 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/math/BigIntegerMath.java

     *
     * @author Louis Wasserman
     * @since 11.0
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public final class BigIntegerMath {
      /**
       * Returns the smallest power of two greater than or equal to {@code x}. This is equivalent to
       * {@code BigInteger.valueOf(2).pow(log2(x, CEILING))}.
       *
       * @throws IllegalArgumentException if {@code x <= 0}
       * @since 20.0
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  6. 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)
  7. src/cmd/go/testdata/script/cover_build_simple.txt

    # This test checks basic "go build -cover" functionality.
    
    [short] skip
    
    # Hard-wire new coverage for this test.
    env GOEXPERIMENT=coverageredesign
    
    # Build for coverage.
    go build -gcflags=-m -o example.exe -cover example/main &
    [race] go build -o examplewithrace.exe -race -cover example/main &
    wait
    
    # First execute without GOCOVERDIR set...
    env GOCOVERDIR=
    exec ./example.exe normal
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 28 11:50:58 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  8. src/internal/xcoff/file.go

    	StringTable  []byte
    	LibraryPaths []string
    
    	closer io.Closer
    }
    
    // Open opens the named file using os.Open and prepares it for use as an XCOFF binary.
    func Open(name string) (*File, error) {
    	f, err := os.Open(name)
    	if err != nil {
    		return nil, err
    	}
    	ff, err := NewFile(f)
    	if err != nil {
    		f.Close()
    		return nil, err
    	}
    	ff.closer = f
    	return ff, nil
    }
    
    // Close closes the File.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 12 14:42:29 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  9. src/testing/newcover.go

    var cover2 struct {
    	mode        string
    	tearDown    func(coverprofile string, gocoverdir string) (string, error)
    	snapshotcov func() float64
    }
    
    // registerCover2 is invoked during "go test -cover" runs.
    // It is used to record a 'tear down' function
    // (to be called when the test is complete) and the coverage mode.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:58:07 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. 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)
Back to top