Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 54 for Same (0.03 seconds)

  1. fastapi/applications.py

                def __init__(self, name: str):
                    self.name = name
    
    
            app = FastAPI()
    
    
            @app.exception_handler(UnicornException)
            async def unicorn_exception_handler(request: Request, exc: UnicornException):
                return JSONResponse(
                    status_code=418,
                    content={"message": f"Oops! {exc.name} did something. There goes a rainbow..."},
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 176.3K bytes
    - Click Count (0)
  2. fastapi/routing.py

            endpoint: Callable[..., Any],
            *,
            name: Optional[str] = None,
            dependencies: Optional[Sequence[params.Depends]] = None,
            dependency_overrides_provider: Optional[Any] = None,
        ) -> None:
            self.path = path
            self.endpoint = endpoint
            self.name = get_name(endpoint) if name is None else name
            self.dependencies = list(dependencies or [])
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 174.6K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb1/smb1/SmbFile.java

            }
            final int last = name.length() - 1;
            if (name.charAt(last) == '/') {
                name = name.substring(0, last);
            }
            if (context.share == null) {
                this.unc = "\\";
            } else if (context.unc.equals("\\")) {
                this.unc = '\\' + name;
            } else {
                this.unc = context.unc + '\\' + name;
            }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 112.2K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

      `I do,' Alice hastily replied; `at least--at least I mean what
    I say--that's the same thing, you know.'
    
      `Not the same thing a bit!' said the Hatter.  `You might just
    as well say that "I see what I eat" is the same thing as "I eat
    what I see"!'
    
      `You might just as well say,' added the March Hare, `that "I
    like what I get" is the same thing as "I get what I like"!'
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 145.2K bytes
    - Click Count (0)
  5. cmd/object-handlers_test.go

    			accessKey:        credentials.AccessKey,
    			secretKey:        credentials.SecretKey,
    
    			expectedRespStatus: http.StatusBadRequest,
    		},
    
    		// Test case - 3.
    		// Test case with new object name is same as object to be copied.
    		// Fail with file not found.
    		{
    			bucketName:       bucketName,
    			uploadID:         uploadID,
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 163.1K bytes
    - Click Count (0)
  6. cmd/object-handlers.go

    	// Get request range.
    	var rs *HTTPRangeSpec
    	var rangeErr error
    	rangeHeader := r.Header.Get(xhttp.Range)
    	if rangeHeader != "" {
    		// Both 'Range' and 'partNumber' cannot be specified at the same time
    		if opts.PartNumber > 0 {
    			writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrInvalidRangePartNumber), r.URL)
    			return
    		}
    
    		rs, rangeErr = parseRequestRangeSpec(rangeHeader)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 120.6K bytes
    - Click Count (0)
  7. guava/src/com/google/common/cache/LocalCache.java

       * the segment.
       */
      final int segmentMask;
    
      /**
       * Shift value for indexing within segments. Helps prevent entries that end up in the same segment
       * from also ending up in the same bucket.
       */
      final int segmentShift;
    
      /** The segments, each of which is a specialized hash table. */
      final Segment<K, V>[] segments;
    
      /** The concurrency level. */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 11 19:35:11 GMT 2025
    - 148.9K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/Maps.java

        return new TreeMap<>();
      }
    
      /**
       * Creates a <i>mutable</i> {@code TreeMap} instance with the same mappings as the specified map
       * and using the same ordering as the specified map.
       *
       * <p><b>Note:</b> if mutability is not required, use {@link
       * ImmutableSortedMap#copyOfSorted(SortedMap)} instead.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 157.6K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/Maps.java

        return new TreeMap<>();
      }
    
      /**
       * Creates a <i>mutable</i> {@code TreeMap} instance with the same mappings as the specified map
       * and using the same ordering as the specified map.
       *
       * <p><b>Note:</b> if mutability is not required, use {@link
       * ImmutableSortedMap#copyOfSorted(SortedMap)} instead.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 163.5K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        entry.setValueReference(oldValueRef);
    
        // no entry
        assertThat(segment.replace(key, hash, oldValue, newValue)).isFalse();
        assertThat(segment.count).isEqualTo(0);
    
        // same value
        table.set(index, entry);
        segment.count++;
        assertThat(segment.count).isEqualTo(1);
        assertThat(segment.get(key, hash)).isSameInstanceAs(oldValue);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 12 00:25:21 GMT 2025
    - 117.5K bytes
    - Click Count (0)
Back to Top