Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 331 for fdct (0.19 sec)

  1. src/image/jpeg/dct_test.go

    			got[j] = got[j]/8 + 128
    		}
    		if differ(&got, &want) {
    			t.Errorf("i=%d: IDCT(FDCT)\nsrc\n%s\ngot\n%s\nwant\n%s\n", i, &b, &got, &want)
    		}
    	}
    
    	// Check that the optimized and slow FDCT implementations agree.
    	// The fdct function already does a scale and level shift.
    	for i, b := range blocks {
    		got, want := b, b
    		fdct(&got)
    		for j := range want {
    			want[j] = (want[j] - 128) * 8
    		}
    		slowFDCT(&want)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 06 15:49:30 UTC 2022
    - 8.6K bytes
    - Viewed (0)
  2. src/image/jpeg/writer.go

    	}
    }
    
    // writeBlock writes a block of pixel data using the given quantization table,
    // returning the post-quantized DC value of the DCT-transformed block. b is in
    // natural (not zig-zag) order.
    func (e *encoder) writeBlock(b *block, q quantIndex, prevDC int32) int32 {
    	fdct(b)
    	// Emit the DC delta.
    	dc := div(b[0], 8*int32(e.quant[q][0]))
    	e.emitHuffRLE(huffIndex(2*q+0), 0, dc-prevDC)
    	// Emit the AC components.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 17.1K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/internal/facts/facts.go

    					// TODO(adonovan): audit for other possibilities.
    					logf("no object for path: %v; discarding %s", err, f.Fact)
    					continue
    				}
    				key.obj = obj
    				logf("read %T fact %s for %v", f.Fact, f.Fact, key.obj)
    			} else {
    				// package fact
    				logf("read %T fact %s for %v", f.Fact, f.Fact, factPkg)
    			}
    			m[key] = f.Fact
    		}
    	}
    
    	return &Set{pkg: d.pkg, m: m}, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/go/analysis/analysis.go

    	ImportPackageFact func(pkg *types.Package, fact Fact) bool
    
    	// ExportObjectFact associates a fact of type *T with the obj,
    	// replacing any previous fact of that type.
    	//
    	// ExportObjectFact panics if it is called after the pass is
    	// complete, or if obj does not belong to the package being analyzed.
    	// ExportObjectFact is not concurrency-safe.
    	ExportObjectFact func(obj types.Object, fact Fact)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/go/analysis/validate.go

    // that the Doc is not empty;
    // that the Run is non-nil;
    // that the Requires graph is acyclic;
    // that analyzer fact types are unique;
    // that each fact type is a pointer.
    //
    // Analyzer names need not be unique, though this may be confusing.
    func Validate(analyzers []*Analyzer) error {
    	// Map each fact type to its sole generating analyzer.
    	factTypes := make(map[reflect.Type]*Analyzer)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 21:52:54 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/go/analysis/doc.go

    associated either with an object or with a package:
    
    	type Pass struct {
    		...
    		ExportObjectFact func(types.Object, Fact)
    		ImportObjectFact func(types.Object, Fact) bool
    
    		ExportPackageFact func(fact Fact)
    		ImportPackageFact func(*types.Package, Fact) bool
    	}
    
    An Analyzer may only export facts associated with the current package or
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/toolchain/DefaultToolchainManagerPrivate.java

                throws MisconfiguredToolchainException {
            List<ToolchainPrivate> toRet = new ArrayList<>();
    
            ToolchainFactory fact = factories.get(type);
            if (fact == null) {
                logger.error("Missing toolchain factory for type: " + type + ". Possibly caused by misconfigured project.");
            } else {
                List<ToolchainModel> availableToolchains =
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  8. analysis/analysis-api-impl-base/src/org/jetbrains/kotlin/analysis/api/impl/base/substitutorMarkers.kt

    /**
     * A [KaSubstitutor] which substitution logic can be represented as a [Map] from a [KaTypeParameterSymbol] to corresponding [KaType]
     * This is an implementation details and Analysis API clients should not depend on the fact if some [KaSubstitutor] is [KaMapBackedSubstitutor] or not.
     */
    @KaAnalysisApiInternals
    interface KaMapBackedSubstitutor : KaSubstitutor {
        /**
         * Substitution rules in a form of a `Map<KaTypeParameterSymbol, KaType>`
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/toolchain/DefaultToolchainManager.java

            List<Toolchain> toolchains = new ArrayList<>();
    
            if (models != null) {
                ToolchainFactory fact = factories.get(type);
    
                if (fact == null) {
                    logger.error(
                            "Missing toolchain factory for type: " + type + ". Possibly caused by misconfigured project.");
                } else {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/native-binaries/prebuilt/groovy/3rd-party-lib/util/README.txt

    To demonstrate the integration with prebuilt libraries available on the file system, this 'util' library must first be
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 195 bytes
    - Viewed (0)
Back to top