Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 261 - 270 of 651 for leves (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. tests/test_additional_responses_union_duplicate_anyof.py

    """
    Regression test: Ensure app-level responses with Union models and content/examples
    don't accumulate duplicate $ref entries in anyOf arrays.
    See https://github.com/fastapi/fastapi/pull/14463
    """
    
    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    from pydantic import BaseModel
    
    
    class ModelA(BaseModel):
        a: str
    
    
    class ModelB(BaseModel):
        b: str
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/DslReference.java

    import org.gradle.api.file.ConfigurableFileCollection;
    import org.gradle.api.file.DirectoryProperty;
    import org.gradle.api.file.RegularFileProperty;
    
    /**
     * The DSL reference for this documentation.  These are higher-level than Javadoc.
     */
    public abstract class DslReference {
        /**
         * The root of the DSL documentation.  This is the source of the DSL XML currently.
         */
        public abstract DirectoryProperty getRoot();
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 1.9K bytes
    - Click Count (0)
  3. fastapi/.agents/skills/fastapi/SKILL.md

    Instead, declare a return type or response model. Pydantic will handle the data serialization on the Rust side.
    
    ## Including Routers
    
    When declaring routers, prefer to add router level parameters like prefix, tags, etc. to the router itself, instead of in `include_router()`.
    
    Do this:
    
    ```python
    from fastapi import APIRouter, FastAPI
    
    app = FastAPI()
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 10:05:57 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/role/EditForm.java

     * This form extends CreateForm to include fields necessary for updating existing role entries,
     * including tracking information for optimistic locking and audit trails.
     * Roles define permissions and access levels for users within the system.
     *
     */
    public class EditForm extends CreateForm {
    
        /**
         * Creates a new EditForm instance.
         */
        public EditForm() {
            super();
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  5. src/bufio/net_test.go

    			tot += n
    			if err == io.EOF {
    				return
    			}
    			if err != nil {
    				t.Error(err)
    				return
    			}
    		}
    	}()
    
    	clientConn, err := net.DialUnix("unixpacket", nil, addr)
    	if err != nil {
    		// Leaves the server goroutine hanging. Oh well.
    		t.Fatal(err)
    	}
    
    	defer wg.Wait()
    	defer clientConn.Close()
    
    	const data = "data"
    	r := bufio.NewReader(strings.NewReader(data))
    	n, err := io.Copy(clientConn, r)
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Feb 07 19:37:07 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  6. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/GradleDistroTestTask.java

            line.append(isWindows ? convertWindowsPath(getProject(), cacheDir) : convertLinuxPath(getProject(), cacheDir));
            line.append(" -S");
            line.append(" --parallel");
            line.append(" -D'org.gradle.logging.level'=" + getProject().getGradle().getStartParameter().getLogLevel());
            if (testClass != null) {
                line.append(" --tests=");
                line.append(testClass);
            }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 2.6K bytes
    - Click Count (0)
  7. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsBuildingResult.java

        /**
         * Gets the problems that were encountered during the settings building. Note that only problems of severity
         * {@link SettingsProblem.Severity#WARNING} and below are reported here. Problems with a higher severity level cause
         * the settings builder to fail with a {@link SettingsBuildingException}.
         *
         * @return The problems that were encountered during the settings building, can be empty but never {@code null}.
         */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/core/lang/ThreadUtil.java

            }
        }
    
        /**
         * Causes the currently executing thread to sleep (temporarily cease execution) for the specified number of milliseconds.
         * Any {@link InterruptedException} is caught and logged at debug level.
         *
         * @param millis
         *            the length of time to sleep in milliseconds
         */
        public static void sleepQuietly(final long millis) {
            if (millis < 1L) {
                return;
            }
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb1/smb1/SmbComNtTransactionResponse.java

            dataDisplacement = readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            setupCount = buffer[bufferIndex] & 0xFF;
            bufferIndex += 2;
            if ((setupCount != 0) && (LogStream.level >= 3)) {
                log.println("setupCount is not zero: " + setupCount);
            }
    
            return bufferIndex - start;
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/MapMaker.java

       * @throws IllegalStateException if a concurrency level was already set
       */
      @CanIgnoreReturnValue
      public MapMaker concurrencyLevel(int concurrencyLevel) {
        checkState(
            this.concurrencyLevel == UNSET_INT,
            "concurrency level was already set to %s",
            this.concurrencyLevel);
        checkArgument(concurrencyLevel > 0);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 12.8K bytes
    - Click Count (0)
Back to Top