Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 731 for expand1 (0.12 sec)

  1. test/fixedbugs/bug428.go

    // run
    
    // Copyright 2012 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.
    
    // Test that when the compiler expands append inline it does not
    // overwrite a value before it needs it (issue 3369).
    
    package main
    
    func main() {
    	s := make([]byte, 5, 6)
    	copy(s, "12346")
    	s = append(s[:len(s)-1], '5', s[len(s)-1])
    	if string(s) != "123456" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 447 bytes
    - Viewed (0)
  2. platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/incremental/sourceparser/ArgsMappingMacroFunction.java

            } else if (type == IncludeType.MACRO_FUNCTION) {
                // Macro expand parameter
                mapped.add(arguments.get(replaceWith).asMacroExpansion());
            } else {
                // Do not macro expand parameter
                mapped.add(arguments.get(replaceWith));
            }
            return currentMapPos;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  3. build-logic/performance-testing/src/main/groovy/gradlebuild/performance/generator/tasks/NativeProjectWithDepsGeneratorTask.groovy

                into(destDir)
                expand([
                    rootProjectName: name,
                    subprojects: subprojectNames
                ])
            }
        }
    
        void generateGradleProperties() {
            project.copy{
                from(new File(resolveTemplate("gradle-properties"), "gradle.properties"))
                into(destDir)
                expand([
                    daemonMemory: daemonMemory,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jul 07 13:12:26 UTC 2021
    - 11.2K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/cover_pattern.txt

    [compiler:gccgo] skip
    
    # If coverpkg=m/sleepy... expands by package loading
    # (as opposed to pattern matching on deps)
    # then it will try to load sleepybad, which does not compile,
    # and the test command will fail.
    ! go list m/sleepy...
    go test -c -n -coverprofile=$TMPDIR/cover.out -coverpkg=m/sleepy... -run=^$ m/sleepy1
    
    -- go.mod --
    module m
    
    go 1.16
    -- sleepy1/p_test.go --
    package p
    
    import (
    	"testing"
    	"time"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 683 bytes
    - Viewed (0)
  5. src/cmd/go/internal/vcs/vcs.go

    		return nil
    	}
    	url := &urlpkg.URL{
    		Scheme: "https",
    		Host:   "code.launchpad.net",
    		Path:   expand(match, "/{project}{series}/.bzr/branch-format"),
    	}
    	_, err := web.GetBytes(url)
    	if err != nil {
    		match["root"] = expand(match, "launchpad.net/{project}")
    		match["repo"] = expand(match, "https://{root}")
    	}
    	return nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:30:18 UTC 2024
    - 46.2K bytes
    - Viewed (0)
  6. src/crypto/tls/key_schedule.go

    		// significantly more confusing to users.
    		panic(fmt.Errorf("failed to construct HKDF label: %s", err))
    	}
    	out := make([]byte, length)
    	n, err := hkdf.Expand(c.hash.New, secret, hkdfLabelBytes).Read(out)
    	if err != nil || n != length {
    		panic("tls: HKDF-Expand-Label invocation failed unexpectedly")
    	}
    	return out
    }
    
    // deriveSecret implements Derive-Secret from RFC 8446, Section 7.1.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 14:56:25 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

      /**
       * Given a set of features, add to it all the features directly or indirectly implied by any of
       * them, and return it.
       *
       * @param features the set of features to expand
       * @return the same set of features, expanded with all implied features
       */
      @CanIgnoreReturnValue
      public static Set<Feature<?>> addImpliedFeatures(Set<Feature<?>> features) {
        Queue<Feature<?>> queue = new ArrayDeque<>(features);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 21 15:08:35 UTC 2022
    - 12.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_statistics_collector_histogram.cc

      // If lower_idx < 0, then expand the histogram to the left.
      if (lower_idx < 0) {
        hist_freq_.insert(hist_freq_.begin(), -lower_idx, 0);
        lower_bound_ -= bin_width_ * (-lower_idx);
        lower_idx = 0;
      }
    
      int32_t upper_idx = CalculateBinIndex(upper_bound, lower_bound_, bin_width_);
      // If upper_idx >= hist_freq_.size(), then expand the histogram to the right.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 05 09:09:34 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. pkg/ctrlz/assets/templates/modules/header.html

    {{ define "header" }}
    <header>
        <nav class="navbar navbar-expand-xs navbar-dark fixed-top bg-dark justify-content-between">
            <a class="navbar-brand" href="/">
                <span class="logo">
                    <svg viewBox="0 0 300 300">
                        <circle cx="150" cy="150" r="150" stroke-width="2" />
                        <polygon points="65,240 225,240 125,270"/>
                        <polygon points="65,230 125,220 125,110"/>
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 682 bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/mavenMigration/basic/groovy/build.gradle

    // tag::pom-dependencies[]
    dependencies {
        testImplementation 'org.codehaus.groovy:groovy-all:2.5.4'
    }
    // end::pom-dependencies[]
    
    // tag::process-resources[]
    processResources {
        expand(version: version, buildNumber: currentBuildNumber)
    }
    // end::process-resources[]
    
    // tag::checkstyle[]
    checkstyle {
        config = resources.text.fromFile('checkstyle.xml', 'UTF-8')
        showViolations = true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 940 bytes
    - Viewed (0)
Back to top