Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1241 - 1250 of 6,918 for RETURN (0.08 sec)

  1. tests/test_dependency_duplicates.py

    
    def duplicate_dependency(item: Item):
        return item
    
    
    def dependency(item2: Item):
        return item2
    
    
    def sub_duplicate_dependency(
        item: Item, sub_item: Item = Depends(duplicate_dependency)
    ):
        return [item, sub_item]
    
    
    @app.post("/with-duplicates")
    async def with_duplicates(item: Item, item2: Item = Depends(duplicate_dependency)):
        return [item, item2]
    
    
    @app.post("/no-duplicates")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/util/KuromojiCSVUtil.java

                }
    
                sb.append(c);
            }
    
            result.add(sb.toString());
    
            // Validate
            if (quoteCount % 2 != 0) {
                return new String[0];
            }
    
            return result.toArray(new String[result.size()]);
        }
    
        private static String unQuoteUnEscape(final String original) {
            String result = original;
    
            // Unquote
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/impl/MimeTypeHelperImpl.java

                    final MediaType mediaTypeFromFilename = mimeTypes.detect(null, metadata);
                    return mediaTypeFromFilename.getType() + "/" + mediaTypeFromFilename.getSubtype();
                }
                return mediaType.getType() + "/" + mediaType.getSubtype();
            } catch (final IOException e) {
                throw new MimeTypeException("Could not detect a content type.", e);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. tests/main.py

        return item_id
    
    
    @app.get("/path/int/{item_id}")
    def get_int_id(item_id: int):
        return item_id
    
    
    @app.get("/path/float/{item_id}")
    def get_float_id(item_id: float):
        return item_id
    
    
    @app.get("/path/bool/{item_id}")
    def get_bool_id(item_id: bool):
        return item_id
    
    
    @app.get("/path/param/{item_id}")
    def get_path_param_id(item_id: Optional[str] = Path()):
        return item_id
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 21:56:59 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. cmd/local-locker_gen.go

    			err = msgp.WrapError(err)
    			return
    		}
    		err = en.WriteArrayHeader(uint32(len(zb0007)))
    		if err != nil {
    			err = msgp.WrapError(err, zb0006)
    			return
    		}
    		for zb0008 := range zb0007 {
    			err = zb0007[zb0008].EncodeMsg(en)
    			if err != nil {
    				err = msgp.WrapError(err, zb0006, zb0008)
    				return
    			}
    		}
    	}
    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponse.java

        private byte[] data;
    
    
        /**
         * @return the chunkBytesWritten
         */
        public int getNamedPipeState () {
            return this.namedPipeState;
        }
    
    
        /**
         * @return the chunksWritten
         */
        public int getReadDataAvailable () {
            return this.readDataAvailable;
        }
    
    
        /**
         * @return the totalBytesWritten
         */
        public int getNumberOfMessages () {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 2.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

                        return true;
                    }
                }
            }
            return false;
        }
    
    
    /**
     * Return the upcased username hash code.
     */
        public int hashCode() {
            return getName().toUpperCase().hashCode();
        }
    /**
     * Return the domain and username in the format:
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 22.5K bytes
    - Viewed (0)
  8. cmd/erasure-healing.go

    			if err != nil {
    				return err
    			}
    			if len(entries) > 0 {
    				return errVolumeNotEmpty
    			}
    			return nil
    		}, index)
    	}
    
    	return g.Wait()
    }
    
    func isAllVolumeNotFound(errs []error) bool {
    	return countErrs(errs, errVolumeNotFound) == len(errs)
    }
    
    // isAllNotFound will return if any element of the error slice is not
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 02 17:50:41 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/Handshake.kt

        result = 31 * result + peerCertificates.hashCode()
        result = 31 * result + localCertificates.hashCode()
        return result
      }
    
      override fun toString(): String {
        val peerCertificatesString = peerCertificates.map { it.name }.toString()
        return "Handshake{" +
          "tlsVersion=$tlsVersion " +
          "cipherSuite=$cipherSuite " +
          "peerCertificates=$peerCertificatesString " +
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  10. okhttp-testing-support/src/main/kotlin/okhttp3/RecordingConnectionListener.kt

          assertThat(e).isInstanceOf(ConnectionEvent.ConnectStart::class.java)
        } else {
          eventSequence.forEach loop@{
            when (e.closes(it)) {
              null -> return // no open event
              true -> return // found open event
              false -> return@loop // this is not the open event so continue
            }
          }
          Assertions.fail<Any>("event $e without matching start event")
        }
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top