Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,495 for setLines (0.27 sec)

  1. src/go/internal/gcimporter/support.go

    	// TODO(mdempsky): Make use of column.
    
    	// Since we don't know the set of needed file positions, we reserve
    	// maxlines positions per file. We delay calling token.File.SetLines until
    	// all positions have been calculated (by way of fakeFileSet.setLines), so
    	// that we can avoid setting unnecessary lines. See also golang/go#46586.
    	f := s.files[file]
    	if f == nil {
    		f = &fileInfo{file: s.fset.AddFile(file, -1, maxlines)}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/google/pprof/internal/driver/settings.go

    	}
    	settings := &settings{}
    	if err := json.Unmarshal(data, settings); err != nil {
    		return nil, fmt.Errorf("could not parse settings: %w", err)
    	}
    	for i := range settings.Configs {
    		settings.Configs[i].resetTransient()
    	}
    	return settings, nil
    }
    
    // writeSettings saves settings to fname.
    func writeSettings(fname string, settings *settings) error {
    	data, err := json.MarshalIndent(settings, "", "  ")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/dependencyManagement/customizingResolution-metadataRule/groovy/settings.gradle

    rootProject.name = 'component-metadata-rules'
    
    // tag::rule-in-settings[]
    dependencyResolutionManagement {
        components {
            withModule("com.google.guava:guava", GuavaRule)
        }
    }
    // end::rule-in-settings[]
    
    // tag::prefer-settings[]
    dependencyResolutionManagement {
        rulesMode = RulesMode.PREFER_SETTINGS
    }
    // end::prefer-settings[]
    
    // tag::enforce-settings[]
    dependencyResolutionManagement {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/providers/services/groovy/settings.gradle

    rootProject.name = 'services'
    
    // tag::build-layout[]
    println "Root Directory: ${settings.getLayout().rootDirectory}"
    println "Settings Directory: ${settings.getLayout().settingsDirectory}"
    // end::build-layout[]
    
    // tag::build-layout-inject[]
    abstract class MyBuildLayoutPlugin implements Plugin<Settings> {
        private BuildLayout buildLayout
    
        @Inject //@javax.inject.Inject
        MyBuildLayoutPlugin(BuildLayout buildLayout) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 18:14:15 UTC 2024
    - 686 bytes
    - Viewed (0)
  5. maven-core/src/test/resources-settings/settings-no-pom/settings.xml

    <?xml version="1.0" encoding="UTF-8"?>
    <settings
      xmlns="http://maven.apache.org/SETTINGS/1.0.0"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
    
      <profiles>
        <profile>
          <id>local-profile</id>
          <properties>
            <local-profile-prop>local-profile-prop-value</local-profile-prop>
          </properties>
        </profile>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Dec 24 18:50:27 UTC 2020
    - 565 bytes
    - Viewed (0)
  6. maven-core/src/test/resources-settings/test-pom-and-settings-interpolation/settings.xml

    under the License.
    -->
    
    <settings>
      <profiles>
        <profile>
          <id>settings</id>
          <activation>
            <activeByDefault>true</activeByDefault>
          </activation>
          <properties>
            <settingsProfile>applied</settingsProfile>
            <pomVsSettings>settings</pomVsSettings>
          </properties>
        </profile>
      </profiles>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Mar 31 21:07:56 UTC 2009
    - 1.1K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/tutorial/gradleProperties/groovy/settings.gradle

    println gradlePropertiesProp
    println settings.gradlePropertiesProp
    
    // Using Groovy dynamic array notation on `settings`
    println settings['gradlePropertiesProp']
    // end::gradle-properties[]
    
    // tag::properties-with-dots[]
    // In Groovy scripts, both the API and dynamic array notation work
    println providers.gradleProperty('gradleProperties.with.dots').get()
    println settings['gradleProperties.with.dots']
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 642 bytes
    - Viewed (0)
  8. pkg/test/framework/resource/settings.go

    	return path.Join(s.BaseDir, n)
    }
    
    // Clone settings
    func (s *Settings) Clone() *Settings {
    	cl := *s
    	return &cl
    }
    
    // DefaultSettings returns a default settings instance.
    func DefaultSettings() *Settings {
    	return &Settings{
    		RunID:    uuid.New(),
    		MaxDumps: 10,
    	}
    }
    
    // String implements fmt.Stringer
    func (s *Settings) String() string {
    	result := ""
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 19:04:51 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/java/toolchain-management/groovy/settings.gradle

        }
    }
    // end::toolchain-management[]
    
    rootProject.name = 'toolchain-management'
    
    abstract class MadeUpPlugin implements Plugin<Settings> {
    
        @Inject
        protected abstract JavaToolchainResolverRegistry getToolchainResolverRegistry();
    
        void apply(Settings settings) {
            settings.getPlugins().apply("jvm-toolchain-management")
    
            JavaToolchainResolverRegistry registry = getToolchainResolverRegistry()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 12 16:22:45 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/http2/Settings.kt

     * limitations under the License.
     */
    package okhttp3.internal.http2
    
    /**
     * Settings describe characteristics of the sending peer, which are used by the receiving peer.
     * Settings are [connection][Http2Connection] scoped.
     */
    class Settings {
      /** Bitfield of which flags that values. */
      private var set: Int = 0
    
      /** Flag values. */
      private val values = IntArray(COUNT)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top