Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 72 for appendNode (0.16 sec)

  1. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseProjectIntegrationTest.groovy

        linkedResource name: 'linkToFolderFoo', type: 'aFolderFoo', location: '/test/folders/foo'
        linkedResource name: 'linkToUriFoo', type: 'aFooUri', locationUri: 'http://test/uri/foo'
    
        file {
          withXml { it.asNode().appendNode('motto', 'Stay happy!') }
        }
      }
    
      jdt {
        sourceCompatibility = 1.4
        targetCompatibility = 1.3
      }
    }
            """
            when:
            run("eclipse")
            then:
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 01 11:07:39 UTC 2023
    - 18K bytes
    - Viewed (0)
  2. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/EclipseClasspath.java

     * }
     *
     * eclipse {
     *   classpath {
     *     file {
     *       //if you want to mess with the resulting XML in whatever way you fancy
     *       withXml {
     *         def node = it.asNode()
     *         node.appendNode('xml', 'is what I love')
     *       }
     *
     *       //closure executed after .classpath content is loaded from existing file
     *       //but before gradle build information is merged
     *       beforeMerged { classpath ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/IvyDescriptorModuleExcludeResolveIntegrationTest.groovy

            if (!excludeAttributes.containsKey("matcher")) {
                excludeAttributes.put("matcher", "exact")
            }
            module.withXml {
                asNode().dependencies[0].appendNode(EXCLUDE_ATTRIBUTE, excludeAttributes)
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 15.5K bytes
    - Viewed (0)
  4. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/EclipseProject.java

     *
     * eclipse {
     *   project {
     *
     *     file {
     *       //if you want to mess with the resulting XML in whatever way you fancy
     *       withXml {
     *         def node = it.asNode()
     *         node.appendNode('xml', 'is what I love')
     *       }
     *
     *       //closure executed after .project content is loaded from existing file
     *       //but before gradle build information is merged
     *       beforeMerged { project ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  5. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/idea/IdeaModuleIntegrationTest.groovy

            jdkName = '1.6'
    
            iml {
                generateTo = file('customImlFolder')
    
                withXml {
                    def node = it.asNode()
                    node.appendNode('someInterestingConfiguration', 'hey!')
                }
            }
        }
    }
    '''
    
            //then
            def iml = parseImlFile('customImlFolder/foo')
            ['additionalCustomSources',
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 24.4K bytes
    - Viewed (0)
  6. platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseClasspathIntegrationTest.groovy

        defaultOutputDir = file('build-eclipse')
    
        downloadSources = false
        downloadJavadoc = true
    
        file {
          withXml { it.asNode().appendNode('message', 'be cool') }
        }
      }
    }
    """
    
            //then
            def vars = classpath.vars
            assert vars.size() == 1
            vars[0].assertHasJar("fooPathVariable/foo.txt")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 36.8K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

    GCSFile::GCSFile(google::cloud::storage::Client&& gcs_client)
        : gcs_client(gcs_client), block_cache_lock() {
      const char* append_mode = std::getenv(kAppendMode);
      compose = (append_mode != nullptr) && (!strcmp(kAppendMode, append_mode));
    
      uint64_t value;
      block_size = kDefaultBlockSize;
      size_t max_bytes = kDefaultMaxCacheSize;
      uint64_t max_staleness = kDefaultMaxStaleness;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 23 06:55:53 UTC 2023
    - 46.9K bytes
    - Viewed (0)
  8. src/os/zero_copy_linux.go

    	//
    	// Visit https://man7.org/linux/man-pages/man2/copy_file_range.2.html#ERRORS and
    	// https://man7.org/linux/man-pages/man2/splice.2.html#ERRORS for details.
    	if f.appendMode {
    		return 0, false, nil
    	}
    
    	written, handled, err = f.copyFileRange(r)
    	if handled {
    		return
    	}
    	return f.spliceToFile(r)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 18:12:56 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. src/os/file_unix.go

    	dirinfo     atomic.Pointer[dirInfo] // nil unless directory being read
    	nonblock    bool                    // whether we set nonblocking mode
    	stdoutOrErr bool                    // whether this is stdout or stderr
    	appendMode  bool                    // whether file is opened for appending
    }
    
    // Fd returns the integer Unix file descriptor referencing the open file.
    // If f is closed, the file descriptor becomes invalid.
    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. src/os/file_windows.go

    // to close the wrong file descriptor.
    type file struct {
    	pfd        poll.FD
    	name       string
    	dirinfo    atomic.Pointer[dirInfo] // nil unless directory being read
    	appendMode bool                    // whether file is opened for appending
    }
    
    // Fd returns the Windows handle referencing the open file.
    // If f is closed, the file descriptor becomes invalid.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 30 15:38:38 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top