Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 92 for setDate (0.23 seconds)

  1. impl/maven-core/src/test/java/org/apache/maven/configuration/internal/CompositeBeanHelperPerformanceTest.java

            private List<String> items = new ArrayList<>();
            private boolean enabled;
    
            public String getName() {
                return name;
            }
    
            public void setName(String name) {
                this.name = name;
            }
    
            public String getDescription() {
                return description;
            }
    
            public void setDescription(String description) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jul 17 07:40:49 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  2. tests/test_dependency_contextmanager.py

        finally:
            state["context_a"] = "finished a"
    
    
    async def context_b(state: dict = Depends(context_a)):
        state["context_b"] = "started b"
        try:
            yield state
        finally:
            state["context_b"] = f"finished b with a: {state['context_a']}"
    
    
    @app.get("/async")
    async def get_async(state: str = Depends(asyncgen_state)):
        return state
    
    
    @app.get("/sync")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  3. cmd/erasure.go

    		state = madmin.DriveStatePermission
    	case errors.Is(err, errFaultyDisk):
    		state = madmin.DriveStateFaulty
    	case errors.Is(err, errDriveIsRoot):
    		state = madmin.DriveStateRootMount
    	case err == nil:
    		state = madmin.DriveStateOk
    	default:
    		state = fmt.Sprintf("%s (cause: %s)", madmin.DriveStateUnknown, err)
    	}
    
    	return state
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 16.1K bytes
    - Click Count (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/SourceMetaDataVisitor.java

            return typeMetaData;
        }
    
        private void extractElementTypeName(Type elementType, TypeMetaData typeMetaData) {
            elementType.ifVoidType(voidType -> typeMetaData.setName("void"));
            elementType.ifPrimitiveType(primitiveType -> typeMetaData.setName(primitiveType.asString()));
            elementType.ifWildcardType(wildcardType -> {
                if (!wildcardType.getExtendedType().isPresent() && !wildcardType.getSuperType().isPresent()) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Aug 19 15:07:24 GMT 2024
    - 11.8K bytes
    - Click Count (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringVisitorModelInterpolator.java

                    }
                    // Name
                    String orgName = model.getName();
                    String intName = interpolate(orgName);
                    if (orgName != intName) {
                        model.setName(intName);
                    }
                    // Description
                    String orgDescription = model.getDescription();
                    String intDescription = interpolate(orgDescription);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 43.1K bytes
    - Click Count (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenProperties.java

                    switch (state) {
                        case 0:
                            if (c == '\\') {
                                state = 1;
                            } else if (contains(WHITE_SPACE, c)) {
                                // switch to the separator crossing state
                                state = 2;
                            } else if (contains(SEPARATORS, c)) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 09:03:48 GMT 2025
    - 38.5K bytes
    - Click Count (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

                    switch (state) {
                        case 0:
                            if (c == '\\') {
                                state = 1;
                            } else if (contains(WHITE_SPACE, c)) {
                                // switch to the separator crossing state
                                state = 2;
                            } else if (contains(SEPARATORS, c)) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 38.4K bytes
    - Click Count (0)
  8. internal/grid/connection.go

    }
    
    // State is a connection state.
    type State uint32
    
    // MANUAL go:generate stringer -type=State -output=state_string.go -trimprefix=State $GOFILE
    
    const (
    	// StateUnconnected is the initial state of a connection.
    	// When the first message is sent it will attempt to connect.
    	StateUnconnected = iota
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 46.9K bytes
    - Click Count (0)
  9. internal/bucket/object/lock/lock.go

    	// must be present in ISO 8601 format, in reality they allow
    	// users to provide RFC 3339 compliant dates.
    	retDate, err := amztime.ISO8601Parse(dateStr)
    	if err != nil {
    		return ErrInvalidRetentionDate
    	}
    
    	*rDate = RetentionDate{retDate}
    	return nil
    }
    
    // MarshalXML encodes expiration date if it is non-zero and encodes
    // empty string otherwise
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 17.9K bytes
    - Click Count (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/merge/MavenModelMerger.java

            String src = source.getName();
            if (src != null) {
                if (sourceDominant) {
                    target.setName(src);
                    target.setLocation("name", source.getLocation("name"));
                }
            }
        }
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 21.7K bytes
    - Click Count (0)
Back to Top