- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for readNames (0.04 sec)
-
cmd/metacache-stream_test.go
defer r.Close() names, err := r.readNames(-1) if err != io.EOF { t.Fatal(err) } want := loadMetacacheSampleNames if !reflect.DeepEqual(names, want) { t.Errorf("got unexpected result: %#v", names) } } func Test_metacacheReader_skip(t *testing.T) { r := loadMetacacheSample(t) defer r.Close() names, err := r.readNames(5) if err != nil { t.Fatal(err) }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Apr 09 14:28:39 UTC 2025 - 15K bytes - Viewed (0) -
cmd/metacache-stream.go
} r.err = err return err } // Send it! if !fn(meta) { return nil } } } // readNames will return all the requested number of names in order // or all if n < 0. // Will return io.EOF if end of stream is reached. func (r *metacacheReader) readNames(n int) ([]string, error) { r.checkInit() if r.err != nil { return nil, r.err } if n == 0 { return nil, nil }Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed May 07 15:37:12 UTC 2025 - 19.5K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleUserManualPlugin.java
attributes.put("snippetsPath", "snippets"); // Make sure the 'raw' location of the samples is available in all AsciidoctorTasks to access files with expected outputs in the 'tests' folder for inclusion in READMEs attributes.put("samplesPath", extension.getUserManual().getStagingRoot().dir("raw/samples").get().getAsFile()); task.attributes(attributes); });
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Thu Dec 04 14:26:28 UTC 2025 - 19.3K bytes - Viewed (0) -
CONTRIBUTING.md
- Auto-generated files (e.g., by code generators). - Minor configuration files (e.g., `.gitignore`). - Documentation samples and code snippets (e.g., `.java`, `.kt`, `.groovy`, `.kts`). - Release notes (e.g., `.md`). - READMEs (e.g., `.md`). #### Copyright Header for Source Files: ``` /* * Copyright [YEAR OF FILE CREATION] Gradle and contributors. * * Licensed under the Apache License, Version 2.0 (the "License");
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Tue Nov 25 06:57:22 UTC 2025 - 19K bytes - Viewed (0)