Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1031 - 1040 of 1,123 for ELSE (0.01 seconds)

  1. internal/grid/handlers.go

    	if newResp == nil {
    		panic("newResp missing in NewStream")
    	}
    
    	s := newStreamHandler[Payload, Req, Resp](h)
    	if newReq != nil {
    		s.reqPool.New = func() Req {
    			return newReq()
    		}
    	} else {
    		s.InCapacity = 0
    	}
    	s.respPool.New = func() Resp {
    		return newResp()
    	}
    	s.newPayload = newPayload
    	s.WithPayload = newPayload != nil
    	return s
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 27.7K bytes
    - Click Count (0)
  2. impl/maven-core/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

                        }
                        projects.add(projectBuilder.build(modulePom, configuration).getProject());
                    }
                }
            } else {
                MavenProject project = createStubMavenProject();
                project.setRemoteArtifactRepositories(request.getRemoteRepositories());
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 20:01:00 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  3. cmd/net_test.go

    				t.Errorf("should succeed but failed with %v", err)
    			}
    			if err == nil {
    				if sameAddr != testCase.sameAddr {
    					t.Errorf("expected: %v, found: %v", testCase.sameAddr, sameAddr)
    				}
    			} else {
    				if err.Error() != testCase.expectedErr.Error() {
    					t.Errorf("failed with different error, expected: '%v', found:'%v'.",
    						testCase.expectedErr, err)
    				}
    			}
    		})
    	}
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 10 18:57:03 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  4. internal/event/target/webhook.go

    	if err != nil {
    		return err
    	}
    	xhttp.DrainBody(resp.Body)
    
    	if resp.StatusCode >= 200 && resp.StatusCode <= 299 {
    		// accepted HTTP status codes.
    		return nil
    	} else if resp.StatusCode == http.StatusForbidden {
    		return fmt.Errorf("%s returned '%s', please check if your auth token is correctly set", target.args.Endpoint, resp.Status)
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Sep 06 23:06:30 GMT 2024
    - 8.8K bytes
    - Click Count (0)
  5. cmd/iam-object-store.go

    func (iamOS *IAMObjectStore) loadMappedPolicies(ctx context.Context, userType IAMUserType, isGroup bool, m *xsync.MapOf[string, MappedPolicy]) error {
    	var basePath string
    	if isGroup {
    		basePath = iamConfigPolicyDBGroupsPrefix
    	} else {
    		switch userType {
    		case svcUser:
    			basePath = iamConfigPolicyDBServiceAccountsPrefix
    		case stsUser:
    			basePath = iamConfigPolicyDBSTSUsersPrefix
    		default:
    			basePath = iamConfigPolicyDBUsersPrefix
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 26.6K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

                this.topLevelProject = projects.stream()
                        .filter(project -> project.isExecutionRoot())
                        .findFirst()
                        .orElse(first);
            } else {
                this.currentProject = new ThreadLocal<>();
                this.topLevelProject = null;
            }
            this.projects = projects;
        }
    
        public ArtifactRepository getLocalRepository() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 16.7K bytes
    - Click Count (0)
  7. cmd/sftp-server-driver.go

    }
    
    func (w *writerAt) WriteAt(b []byte, offset int64) (n int, err error) {
    	w.m.Lock()
    	defer w.m.Unlock()
    
    	if w.nextOffset == offset {
    		n, err = w.w.Write(b)
    		w.nextOffset += int64(n)
    	} else {
    		if offset > w.nextOffset+ftpMaxWriteOffset {
    			return 0, fmt.Errorf("write offset %d is too far ahead of next offset %d", offset, w.nextOffset)
    		}
    		w.buffer[offset] = make([]byte, len(b))
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Feb 10 16:35:49 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  8. impl/maven-cli/src/test/java/org/apache/maven/cling/transfer/FileSizeFormatTest.java

            FileSizeFormat format = new FileSizeFormat();
            if (unit == null) {
                assertEquals(expected, format.format(input));
            } else {
                assertEquals(expected, format.format(input, unit));
            }
        }
    
        @Test
        void testNegativeProgressedSize() {
            FileSizeFormat format = new FileSizeFormat();
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 14.9K bytes
    - Click Count (0)
  9. docs/en/docs/tutorial/dependencies/index.md

    You never call those functions directly. They are called by your framework (in this case, **FastAPI**).
    
    With the Dependency Injection system, you can also tell **FastAPI** that your *path operation function* also "depends" on something else that should be executed before your *path operation function*, and **FastAPI** will take care of executing it and "injecting" the results.
    
    Other common terms for this same idea of "dependency injection" are:
    
    * resources
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProblemCollector.java

                int limit = Integer.parseInt(protoSession.getUserProperties().get(Constants.MAVEN_BUILDER_MAX_PROBLEMS));
                return create(limit, p -> true);
            } else {
                return create(100);
            }
        }
    
        /**
         * Creates new instance of problem collector with the specified maximum problem count limit,
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jul 18 17:30:19 GMT 2025
    - 11.4K bytes
    - Click Count (0)
Back to Top