Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for fileTests (0.19 sec)

  1. src/debug/macho/file_test.go

    package macho
    
    import (
    	"bytes"
    	"internal/obscuretestdata"
    	"io"
    	"reflect"
    	"testing"
    )
    
    type fileTest struct {
    	file        string
    	hdr         FileHeader
    	loads       []any
    	sections    []*SectionHeader
    	relocations map[string][]Reloc
    }
    
    var fileTests = []fileTest{
    	{
    		"testdata/gcc-386-darwin-exec.base64",
    		FileHeader{0xfeedface, Cpu386, 0x3, 0x2, 0xc, 0x3c0, 0x85},
    		[]any{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 12.4K bytes
    - Viewed (0)
  2. src/debug/pe/file_test.go

    	"path/filepath"
    	"reflect"
    	"regexp"
    	"runtime"
    	"strconv"
    	"testing"
    	"text/template"
    )
    
    type fileTest struct {
    	file           string
    	hdr            FileHeader
    	opthdr         any
    	sections       []*SectionHeader
    	symbols        []*Symbol
    	hasNoDwarfInfo bool
    }
    
    var fileTests = []fileTest{
    	{
    		file: "testdata/gcc-386-mingw-obj",
    		hdr:  FileHeader{0x014c, 0x000c, 0x0, 0x64a, 0x1e, 0x0, 0x104},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 01 02:25:16 UTC 2023
    - 22.3K bytes
    - Viewed (0)
  3. security/pkg/nodeagent/cache/secretcache.go

    		return err
    	}
    	key := FileCert{
    		ResourceName: resourceName,
    		Filename:     file,
    	}
    	if _, alreadyWatching := sc.fileCerts[key]; alreadyWatching {
    		cacheLog.Debugf("already watching file for %s", file)
    		// Already watching, no need to do anything
    		return nil
    	}
    	sc.fileCerts[key] = struct{}{}
    	// File is not being watched, start watching now and trigger key push.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 04 08:29:46 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  4. apache-maven/pom.xml

                    <configuration>
                      <excludeDefaultDirectories>true</excludeDefaultDirectories>
                      <filesets>
                        <fileset>
                          <directory>${distributionTargetDir}</directory>
                        </fileset>
                      </filesets>
                    </configuration>
                  </execution>
                </executions>
              </plugin>
              <plugin>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed May 22 14:07:09 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  5. platforms/jvm/testing-jvm/src/test/groovy/org/gradle/api/tasks/testing/TestTest.groovy

        private Test test
    
        def setup() {
            classesDir = temporaryFolder.createDir("classes")
            File classfile = new File(classesDir, "FileTest.class")
            FileUtils.touch(classfile)
            resultsDir = temporaryFolder.createDir("testResults")
            binResultsDir = temporaryFolder.createDir("binResults")
            reportDir = temporaryFolder.createDir("report")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/releases/migrating/migrating_from_ant.adoc

    You can see several examples of Gradle's file API and learn more about it in the <<working_with_files#working_with_files,Working with Files>> chapter.
    
    .On paths and filesets
    --
    Ant makes use of the concepts of path-like structures and filesets to enable users to work with collections of files and directories.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Mar 23 22:37:03 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  7. pkg/kubelet/kubeletconfig/util/files/files_test.go

    			return nil
    		},
    	}
    	c.run(t, &utilfs.DefaultFs{})
    }
    
    func TestReplaceDir(t *testing.T) {
    	fn := func(fs utilfs.Filesystem, dir string, c *test) []error {
    		errs := []error{}
    
    		// compute filesets from expected files and call ReplaceDir for each
    		// we don't nest dirs in test cases, order of ReplaceDir call is not guaranteed
    		dirs := map[string]map[string]string{}
    
    		// allocate dirs
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Dec 07 11:36:13 UTC 2022
    - 11.7K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/releases/migrating/migrating_from_maven.adoc

    .Invoking Ant tasks
    ====
    include::sample[dir="snippets/mavenMigration/ant/kotlin",files="build.gradle.kts"]
    include::sample[dir="snippets/mavenMigration/ant/groovy",files="build.gradle"]
    ====
    
    Even Ant properties and filesets are supported natively.
    To learn more, see <<ant#ant,Using Ant from Gradle>>.
    
    [TIP]
    ====
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Mar 23 22:37:03 UTC 2024
    - 40.6K bytes
    - Viewed (0)
Back to top