Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 521 - 530 of 1,299 for else (0.02 seconds)

  1. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateAgpVersions.kt

                        validateMinimumSupported(minimumSupported, gradleMajor)
                        gradleMajor
                    }
    
                    else -> {
                        val gradlePreviousMajor = VersionNumber.version(gradleMajor.major - 1)
                        validateMinimumSupported(minimumSupported, gradlePreviousMajor)
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Oct 24 09:10:29 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  2. docs_src/additional_status_codes/tutorial001_an_py39.py

        size: Annotated[Union[int, None], Body()] = None,
    ):
        if item_id in items:
            item = items[item_id]
            item["name"] = name
            item["size"] = size
            return item
        else:
            item = {"name": name, "size": size}
            items[item_id] = item
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 705 bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformer.java

                        : Files.createTempFile(CONSUMER_POM_CLASSIFIER + "-", ".pom");
                deferDeleteFile(consumer);
    
                project.addAttachedArtifact(createConsumerPomArtifact(project, consumer, session));
            } else if (project.getModel().getDelegate().isRoot()) {
                throw new IllegalStateException(
                        "The use of the root attribute on the model requires the buildconsumer feature to be active");
            }
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Nov 06 18:32:25 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  4. .teamcity/src/main/kotlin/common/BuildScanUtils.kt

        val customValues =
            if (testCoverage != null) {
                listOf(testCoverage.asBuildScanCustomValue()) + getBuildScanCustomValues()
            } else {
                getBuildScanCustomValues()
            }
        return "-DbuildScan.PartOf=${customValues.joinToString(",")}"
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Jun 10 05:45:46 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  5. tests/main_test.go

    		t.Errorf("No user should not be deleted by invalid SQL")
    	}
    }
    
    func TestSetAndGet(t *testing.T) {
    	if value, ok := DB.Set("hello", "world").Get("hello"); !ok {
    		t.Errorf("Should be able to get setting after set")
    	} else if value.(string) != "world" {
    		t.Errorf("Set value should not be changed")
    	}
    
    	if _, ok := DB.Get("non_existing"); ok {
    		t.Errorf("Get non existing key should return error")
    	}
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Thu Mar 24 01:31:58 GMT 2022
    - 1.4K bytes
    - Click Count (0)
  6. internal/grid/connection.go

    			return newMuxStateless(ctx, m, c, *handler)
    		})
    	} else {
    		// Stream:
    		var handler *StreamHandler
    		if subID == nil {
    			if !m.Handler.valid() {
    				gridLogIf(ctx, c.queueMsg(m, muxConnectError{Error: "Invalid Handler"}))
    				return
    			}
    			handler = c.handlers.streams[m.Handler]
    		} else {
    			handler = c.handlers.subStreams[*subID]
    		}
    		if handler == nil {
    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)
  7. docs_src/additional_responses/tutorial002_py310.py

            }
        },
    )
    async def read_item(item_id: str, img: bool | None = None):
        if img:
            return FileResponse("image.png", media_type="image/png")
        else:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 10 08:55:32 GMT 2025
    - 596 bytes
    - Click Count (0)
  8. cmd/site-replication.go

    				iamLogIf(ctx, err)
    			} else if foundGroupDN == nil || !underBaseDN {
    				return wrapSRErr(errNoSuchGroup)
    			}
    			entityName = foundGroupDN.NormDN
    		} else {
    			var foundUserDN *xldap.DNSearchResult
    			if foundUserDN, err = globalIAMSys.LDAPConfig.GetValidatedDNForUsername(entityName); err != nil {
    				iamLogIf(ctx, err)
    			} else if foundUserDN == nil {
    				return wrapSRErr(errNoSuchUser)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 184.8K bytes
    - Click Count (1)
  9. impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectDependenciesResolver.java

                        continue;
                    }
                    collect.addDependency(RepositoryUtils.toDependency(dependency, stereotypes));
                }
            } else {
                Map<String, Dependency> dependencies = new HashMap<>();
                for (Dependency dependency : project.getDependencies()) {
                    String classifier = dependency.getClassifier();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 10:13:56 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  10. cmd/listen-notification-handlers.go

    	if bucketName == "" {
    		if s3Error := checkRequestAuthType(ctx, r, policy.ListenNotificationAction, bucketName, ""); s3Error != ErrNone {
    			writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL)
    			return
    		}
    	} else {
    		if s3Error := checkRequestAuthType(ctx, r, policy.ListenBucketNotificationAction, bucketName, ""); s3Error != ErrNone {
    			writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL)
    			return
    		}
    	}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 6K bytes
    - Click Count (0)
Back to Top