Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 143 for hasPath (0.11 sec)

  1. src/internal/trace/testdata/cmd/gotraceeventstats/main.go

    func encodedSize(e *raw.Event) int {
    	size := 1
    	var buf [binary.MaxVarintLen64]byte
    	for _, arg := range e.Args {
    		size += binary.PutUvarint(buf[:], arg)
    	}
    	spec := e.Version.Specs()[e.Ev]
    	if spec.HasData {
    		size += binary.PutUvarint(buf[:], uint64(len(e.Data)))
    		size += len(e.Data)
    	}
    	return size
    }
    
    type countingReader struct {
    	io.Reader
    	bytesRead int
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:31:29 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. src/internal/trace/raw/reader.go

    			frame, err := r.readArgs(4)
    			if err != nil {
    				return Event{}, err
    			}
    			args = append(args, frame...)
    		}
    	}
    	var data []byte
    	if spec.HasData {
    		data, err = r.readData()
    		if err != nil {
    			return Event{}, err
    		}
    	}
    	return Event{
    		Version: r.v,
    		Ev:      ev,
    		Args:    args,
    		Data:    data,
    	}, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/files/fileCollections/groovy/build.gradle

            }
    
            // Convert the collection to various types
            Set set = collection.files
            Set set2 = collection as Set
            List list = collection as List
            String path = collection.asPath
            File file = collection.singleFile
    
            // Add and subtract collections
            def union = collection + projectLayout.files('src/file2.txt')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 15 13:55:00 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/ConfigurationDeprecatedExtensions.kt

        get().contains(element)
    
    
    /**
     * See [Configuration.getAsPath].
     */
    @Deprecated(deprecationMessage, replaceWith = ReplaceWith("get().asPath"), level = DeprecationLevel.HIDDEN)
    val <T : Configuration> NamedDomainObjectProvider<T>.asPath: String
        get() = get().asPath
    
    
    /**
     * See [Configuration.plus].
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 18:18:46 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  5. src/internal/trace/raw/doc.go

    within. Note: an explicit argument for the length is elided, because it's
    just the length of the unquoted string.
    
    For example:
    
    	String id=5
    		data="hello world\x00"
    
    These events are identified in their spec by the HasData flag.
    
    The second special case consists of stack events. These events are identified
    by the IsStack flag. These events also have a trailing unsigned integer argument
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. platforms/core-runtime/base-services/src/test/groovy/org/gradle/util/internal/GUtilTest.groovy

     */
    package org.gradle.util.internal
    
    import spock.lang.Specification
    
    import java.nio.CharBuffer
    
    import static org.gradle.util.internal.GUtil.addToCollection
    import static org.gradle.util.internal.GUtil.asPath
    import static org.gradle.util.internal.GUtil.collectionize
    import static org.gradle.util.internal.GUtil.endsWith
    import static org.gradle.util.internal.GUtil.flatten
    import static org.gradle.util.internal.GUtil.flattenElements
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/service/impl/DataServiceImpl.java

         * org.codelibs.fess.crawler.service.DataService#getAccessResultList(java.lang.String
         * , boolean)
         */
        @Override
        public List<AccessResultImpl<Long>> getAccessResultList(final String url, final boolean hasData) {
            return dataHelper.getAccessResultList(url);
        }
    
        /*
         * (non-Javadoc)
         *
         * @see org.codelibs.fess.crawler.service.DataService#iterate(java.lang.String,
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  8. platforms/native/language-native/src/testFixtures/groovy/org/gradle/language/VariantContext.groovy

                String getName() {
                    return normalizedDimensionValue
                }
            }
    
            static class MissingVariantDimension extends VariantDimension {
                final String asPath = ""
                final String asPublishingName = ""
                final String asVariantName = ""
                final String name = ""
    
                private MissingVariantDimension(String dimensionName) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  9. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileIntegrationTest.groovy

                plugins {
                    id 'java'
                }
    
                compileJava {
                    options.compilerArgs = ['--module-source-path', files('src/main/java', 'src/main/moreJava').asPath]
                }
            '''
            file("src/main/java/example/module-info.java") << '''
            module example {
                exports io.example;
                requires another;
            }
            '''
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 20:20:39 UTC 2024
    - 39.6K bytes
    - Viewed (0)
  10. cmd/data-scanner.go

    			}
    		}
    
    		// Transfer existing
    		if !into.Compacted {
    			for _, folder := range existingFolders {
    				h := hashPath(folder.name)
    				f.updateCache.copyWithChildren(&f.oldCache, h, folder.parent)
    			}
    		}
    		// Scan new...
    		for _, folder := range newFolders {
    			h := hashPath(folder.name)
    			// Add new folders to the update tree so totals update for these.
    			if !into.Compacted {
    				var foundAny bool
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:43:17 UTC 2024
    - 47.6K bytes
    - Viewed (0)
Back to top