Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1471 - 1480 of 2,887 for asString (0.05 seconds)

  1. cmd/xl-storage_windows_test.go

    func TestUNCPaths(t *testing.T) {
    	testCases := []struct {
    		objName string
    		pass    bool
    	}{
    		{"/abcdef", true},
    		{"/a/b/c/d/e/f/g", true},
    		{string(bytes.Repeat([]byte("界"), 85)), true},
    		// Each path component must be <= 255 bytes long.
    		{string(bytes.Repeat([]byte("界"), 280)), false},
    		{`/p/q/r/s/t`, true},
    	}
    	dir := t.TempDir()
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Nov 29 06:35:16 GMT 2023
    - 2.8K bytes
    - Click Count (0)
  2. src/bytes/bytes.go

    // are the same length and contain the same bytes.
    // A nil argument is equivalent to an empty slice.
    func Equal(a, b []byte) bool {
    	// Neither cmd/compile nor gccgo allocates for these string conversions.
    	return string(a) == string(b)
    }
    
    // Compare returns an integer comparing two byte slices lexicographically.
    // The result will be 0 if a == b, -1 if a < b, and +1 if a > b.
    // A nil argument is equivalent to an empty slice.
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Sep 16 16:42:15 GMT 2025
    - 35.5K bytes
    - Click Count (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/project/MissingRepositoryElementException.java

     */
    @Deprecated
    public class MissingRepositoryElementException extends InvalidRepositoryException {
    
        public MissingRepositoryElementException(String message, String repositoryId) {
            super(message, repositoryId);
        }
    
        public MissingRepositoryElementException(String message) {
            super(message, "-unknown-");
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.3K bytes
    - Click Count (0)
  4. cmd/batch-job-common-types_gen.go

    }
    
    // MarshalMsg implements msgp.Marshaler
    func (z BatchJobKV) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	// map header, size 2
    	// string "Key"
    	o = append(o, 0x82, 0xa3, 0x4b, 0x65, 0x79)
    	o = msgp.AppendString(o, z.Key)
    	// string "Value"
    	o = append(o, 0xa5, 0x56, 0x61, 0x6c, 0x75, 0x65)
    	o = msgp.AppendString(o, z.Value)
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 21.9K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/classrealm/ClassRealmRequest.java

         * @return imports
         */
        @Deprecated
        List<String> getImports();
    
        /**
         * Gets the packages/types to import from the parent realm.
         *
         * @return The modifiable list of packages/types to import from the parent realm, never {@code null}.
         */
        List<String> getParentImports();
    
        /**
         * Gets the packages/types to import from foreign realms.
         *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.6K bytes
    - Click Count (0)
  6. compat/maven-model/src/main/java/org/apache/maven/model/io/xpp3/MavenXpp3ReaderEx.java

             * @param fieldName a description of the field being interpolated. The implementation may use this to
             *                  log stuff
             * @return the interpolated value
             */
            String transform(String source, String fieldName);
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.8K bytes
    - Click Count (0)
  7. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/io/DefaultSettingsWriter.java

     */
    @Named
    @Singleton
    @Deprecated(since = "4.0.0")
    public class DefaultSettingsWriter implements SettingsWriter {
    
        @Override
        public void write(File output, Map<String, Object> options, Settings settings) throws IOException {
            Objects.requireNonNull(output, "output cannot be null");
            Objects.requireNonNull(settings, "settings cannot be null");
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.8K bytes
    - Click Count (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/SystemPropertyProfileActivator.java

                }
    
                if (name.startsWith("!")) {
                    reverseName = true;
                    name = name.substring(1);
                }
    
                String sysValue = properties.getProperty(name);
    
                String propValue = property.getValue();
                if (propValue != null && !propValue.isEmpty()) {
                    boolean reverseValue = false;
                    if (propValue.startsWith("!")) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  9. internal/lock/lock_windows_test.go

    	// function we're testing, and it's not actually being used to
    	// do a system call)
    	veryLong := "l" + strings.Repeat("o", 248) + "ng"
    	for _, test := range []struct{ in, want string }{
    		// Short; unchanged:
    		{`C:\short.txt`, `C:\short.txt`},
    		{`C:\`, `C:\`},
    		{`C:`, `C:`},
    		// The "long" substring is replaced by a looooooong
    		// string which triggers the rewriting. Except in the
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Oct 18 18:08:15 GMT 2023
    - 2.2K bytes
    - Click Count (0)
  10. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/PropertyContributor.java

         *
         * @param protoSession The proto session, never {@code null}.
         * @return The user properties with contributions.
         */
        default Map<String, String> contribute(ProtoSession protoSession) {
            HashMap<String, String> userProperties = new HashMap<>(protoSession.getUserProperties());
            contribute(userProperties);
            return userProperties;
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Nov 20 19:58:27 GMT 2024
    - 2.3K bytes
    - Click Count (0)
Back to Top