Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for fixpoint (1.13 sec)

  1. src/cmd/compile/internal/inline/interleaved/interleaved.go

    			}
    			return nil
    		}
    
    		fixpoint(fn, match, edit)
    	})
    }
    
    // fixpoint repeatedly edits a function until it stabilizes.
    //
    // First, fixpoint applies match to every node n within fn. Then it
    // iteratively applies edit to each node satisfying match(n).
    //
    // If edit(n) returns nil, no change is made. Otherwise, the result
    // replaces n in fn's body, and fixpoint iterates at least once more.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:42:52 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/executor_island_coarsening.cc

    // recursively mutate the IR (resulting in quadratic behavior when moving
    // operations). A rough sketch of the coarsening algorithm is shown below:
    //
    // // The algorithm iterates until a fixpoint is reached, i.e. when no more
    // // islands can be merged.
    // while (changed) {
    //   // In the first phase we try to merge islands with their nearest consumer
    //   // iff the consumer is another island.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

      }
      if (i >= kMaxIterationCount) {
        LOG(WARNING) << "Graph shapes did not converge to a fixpoint within "
                     << kMaxIterationCount
                     << " iterations. Graph shapes may be conservative.";
      }
      VLOG(1) << "Graph shapes were inferred with " << (i - 1)
              << " extra rounds of analysis to reach a fixpoint.";
      return absl::OkStatus();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
  4. src/slices/sort_benchmark_test.go

    		b.Run(fmt.Sprintf("Size%d", size), func(b *testing.B) {
    			floats := make([]float64, size)
    			for i := range floats {
    				floats[i] = float64(i)
    			}
    			midpoint := len(floats) / 2
    			needle := (floats[midpoint] + floats[midpoint+1]) / 2
    			b.ResetTimer()
    			for i := 0; i < b.N; i++ {
    				slices.BinarySearch(floats, needle)
    			}
    		})
    	}
    }
    
    type myStruct struct {
    	a, b, c, d string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 23:39:07 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/api/internal/component/SoftwareComponentContainerInternal.java

     */
    public interface SoftwareComponentContainerInternal extends SoftwareComponentContainer {
        /**
         * Get the main component of a project.
         * <p>
         * This method will remain internal until we pinpoint what a "main" component truly is,
         * and if it is conceptually necessary.
         */
        Property<SoftwareComponent> getMainComponent();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 10 15:02:08 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  6. src/os/file_plan9.go

    // It returns the number of bytes read and an error, if any.
    func (f *File) read(b []byte) (n int, err error) {
    	if err := f.readLock(); err != nil {
    		return 0, err
    	}
    	defer f.readUnlock()
    	n, e := fixCount(syscall.Read(f.fd, b))
    	if n == 0 && len(b) > 0 && e == nil {
    		return 0, io.EOF
    	}
    	return n, e
    }
    
    // pread reads len(b) bytes from the File starting at byte offset off.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 30 15:35:30 UTC 2024
    - 16K bytes
    - Viewed (0)
  7. src/runtime/runtime1.go

    // Notable members of the hall of shame include:
    //   - gitee.com/quant1x/gox
    //   - github.com/goccy/json
    //   - github.com/modern-go/reflect2
    //   - github.com/vmware/govmomi
    //   - github.com/pinpoint-apm/pinpoint-go-agent
    //   - github.com/timandy/routine
    //   - github.com/v2pro/plz
    //
    // Do not remove or change the type signature.
    // See go.dev/issue/67401.
    //
    //go:linkname reflect_typelinks reflect.typelinks
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  8. src/os/file.go

    func Readlink(name string) (string, error) {
    	return readlink(name)
    }
    
    // Many functions in package syscall return a count of -1 instead of 0.
    // Using fixCount(call()) instead of call() corrects the count.
    func fixCount(n int, err error) (int, error) {
    	if n < 0 {
    		n = 0
    	}
    	return n, err
    }
    
    // checkWrapErr is the test hook to enable checking unexpected wrapped errors of poll.ErrFileClosing.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 23:07:37 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  9. src/os/file_unix.go

    	}
    	return nil
    }
    
    func readlink(name string) (string, error) {
    	for len := 128; ; len *= 2 {
    		b := make([]byte, len)
    		var (
    			n int
    			e error
    		)
    		for {
    			n, e = fixCount(syscall.Readlink(name, b))
    			if e != syscall.EINTR {
    				break
    			}
    		}
    		// buffer too small
    		if (runtime.GOOS == "aix" || runtime.GOOS == "wasip1") && e == syscall.ERANGE {
    			continue
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:52:34 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/fingerprint/ConfigurationCacheFingerprintWriter.kt

                    // Writing with explicit trace helps to avoid attributing these failures to "Gradle runtime".
                    // TODO(mlopatkin): can we do even better and pinpoint the exact stacktrace in case of failure?
                    val trace = locationFor(null)
                    sink().write(ValueSource(obtainedValue.uncheckedCast()), trace)
                    reportUniqueValueSourceInput(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 32.8K bytes
    - Viewed (0)
Back to top