Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 462 for loser (0.18 sec)

  1. src/cmd/compile/internal/ssa/lower.go

    // license that can be found in the LICENSE file.
    
    package ssa
    
    // convert to machine-dependent ops.
    func lower(f *Func) {
    	// repeat rewrites until we find no more rewrites
    	applyRewrite(f, f.Config.lowerBlock, f.Config.lowerValue, removeDeadValues)
    }
    
    // lateLower applies those rules that need to be run after the general lower rules.
    func lateLower(f *Func) {
    	// repeat rewrites until we find no more rewrites
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 16 00:16:13 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/tests/lower-static-tensor-list-default-to-single-batch.mlir

    // RUN: tf-opt "-tfl-lower-static-tensor-list=allow-tensorlist-pass-through default-to-single-batch=false" -split-input-file %s | FileCheck %s
    
    // -----
    
    func.func @tensorlistReserveConstantUnknownElementShapeDim(%arg0: tensor<i32>, %arg1: tensor<i32>) -> tensor<?x7xf32> {
      %cst = arith.constant dense<[-1, 7]> : tensor<2xi32>
      %0 = "tf.TensorListReserve"(%cst, %arg0) : (tensor<2xi32>, tensor<i32>) -> tensor<!tf_type.variant<tensor<?x7xf32>>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 14:24:59 UTC 2022
    - 766 bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tests/lower-static-tensor-list-enable-dynamic-update-slice.mlir

    // RUN: tf-opt "-tfl-lower-static-tensor-list=allow-tensorlist-pass-through default-to-single-batch enable-dynamic-update-slice" -split-input-file %s | FileCheck %s
    
    // -----
    
    // CHECK-LABEL: tensorlistSetItem
    func.func @tensorlistSetItem(%arg0: tensor<3x10xf32>, %arg1: tensor<1xi32>, %arg2: tensor<i32>, %arg3: tensor<10xf32>) -> tensor<3x10xf32> {
      %0 = "tf.TensorListFromTensor"(%arg0, %arg1) : (tensor<3x10xf32>, tensor<1xi32>) -> tensor<!tf_type.variant<tensor<10xf32>>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 14:24:59 UTC 2022
    - 2K bytes
    - Viewed (0)
  4. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/renderer/types/renderers/KtFlexibleTypeRenderer.kt

                val isTheSameType = lower is KaNonErrorClassType && upper is KaNonErrorClassType && lower.classId == upper.classId ||
                        lower is KaTypeParameterType && upper is KaTypeParameterType && lower.symbol == upper.symbol
                if (isTheSameType &&
                    lower.nullability == KaTypeNullability.NON_NULLABLE
                    && upper.nullability == KaTypeNullability.NULLABLE
                ) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 08:26:19 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. platforms/core-execution/build-cache/src/main/java/org/gradle/caching/internal/controller/service/StoreTarget.java

        @Override
        public void writeTo(OutputStream output) throws IOException {
            Closer closer = Closer.create();
            closer.register(output);
            try {
                stored = true;
                Files.asByteSource(file).copyTo(output);
            } catch (Exception e) {
                throw closer.rethrow(e);
            } finally {
                closer.close();
            }
        }
    
        public boolean isStored() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:43:12 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  8. src/errors/wrap_test.go

    var poserPathErr = &fs.PathError{Op: "poser"}
    
    func (p *poser) Error() string     { return p.msg }
    func (p *poser) Is(err error) bool { return p.f(err) }
    func (p *poser) As(err any) bool {
    	switch x := err.(type) {
    	case **poser:
    		*x = p
    	case *errorT:
    		*x = errorT{"poser"}
    	case **fs.PathError:
    		*x = poserPathErr
    	default:
    		return false
    	}
    	return true
    }
    
    func TestAs(t *testing.T) {
    	var errT errorT
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 22:49:49 UTC 2024
    - 6K bytes
    - Viewed (0)
  9. 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)
  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