Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1181 - 1190 of 2,189 for else_ (0.07 sec)

  1. .github/DISCUSSION_TEMPLATE/translations.yml

          options:
            - label: I checked that this language is not already being translated in FastAPI docs.
              required: true
            - label: I searched existing discussions to ensure no one else proposed this language.
              required: true
            - label: I am a native speaker of the language I want to help translate.
              required: true
      - type: input
        id: language
        attributes:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Jul 26 11:35:42 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  2. tests/test_validate_response.py

    def get_invalid_none():
        return None
    
    
    @app.get("/items/validnone", response_model=Union[Item, None])
    def get_valid_none(send_none: bool = False):
        if send_none:
            return None
        else:
            return {"name": "invalid", "price": 3.2}
    
    
    @app.get("/items/innerinvalid", response_model=Item)
    def get_innerinvalid():
        return {"name": "double invalid", "price": "foo", "owner_ids": ["foo", "bar"]}
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequest.java

                final int len = this.inputData.encode(dst, dstIndex);
                SMBUtil.writeInt4(len, dst, inputLengthOffset);
                dstIndex += len;
            } else {
                SMBUtil.writeInt4(0, dst, inputOffsetOffset);
                SMBUtil.writeInt4(0, dst, inputLengthOffset);
            }
    
            if (this.outputData != null) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/MockHttp2Peer.kt

            var end: Long
            if (outFramesIterator.hasNext()) {
              nextOutFrame = outFramesIterator.next()
              end = nextOutFrame.start
              truncated = false
            } else {
              end = outBytes.size.toLong()
              truncated = nextOutFrame.truncated
            }
    
            // Write a frame.
            val length = (end - start).toInt()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  5. cmd/site-replication-utils_gen.go

    			if err != nil {
    				err = msgp.WrapError(err, "BucketStatuses")
    				return
    			}
    			if z.BucketStatuses == nil {
    				z.BucketStatuses = make(map[string]ResyncStatusType, zb0002)
    			} else if len(z.BucketStatuses) > 0 {
    				clear(z.BucketStatuses)
    			}
    			for zb0002 > 0 {
    				zb0002--
    				var za0001 string
    				za0001, err = dc.ReadString()
    				if err != nil {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/misc/LocaleUtil.java

            Locale locale = LocaleUtil.getDefault();
            if (localeStr != null) {
                final int index = localeStr.indexOf('_');
                if (index < 0) {
                    locale = new Locale(localeStr);
                } else {
                    final String language = localeStr.substring(0, index);
                    final String country = localeStr.substring(index + 1);
                    locale = new Locale(language, country);
                }
            }
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/Task.java

            if (this == o) {
                return true;
            }
            if (o instanceof Task task) {
                return Objects.equals(getClass(), task.getClass()) && Objects.equals(value, task.value);
            } else {
                return false;
            }
        }
    
        @Override
        public int hashCode() {
            return Objects.hash(getClass(), value);
        }
    
        @Override
        public String toString() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 08:42:00 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  8. compat/maven-model/src/main/java/org/apache/maven/model/merge/ModelMerger.java

                        if (newValue == null) {
                            remove(key);
                        } else if (newValue != oldValue) {
                            map.put(key, newValue);
                        }
                    }
                } else {
                    for (V v : vs) {
                        Object key = keyComputer.key(v);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Apr 03 11:21:39 UTC 2025
    - 99.2K bytes
    - Viewed (0)
  9. src/archive/tar/common.go

    // converted to the other form and back. The various tar formats with sparse
    // file support represent sparse files in the sparseDatas form. That is, they
    // specify the fragments in the file that has data, and treat everything else as
    // having zero bytes. As such, the encoding and decoding logic in this package
    // deals with sparseDatas.
    //
    // However, the external API uses sparseHoles instead of sparseDatas because the
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Tue Oct 07 19:46:36 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/netbios/NbtAddress.java

                        break;
                    }
                    if (i < len && data[i] == '.') {
                        dots++;
                        i++;
                    }
                }
            } else {
                switch (this.hostName.hexCode) {
                case 0x1B:
                case 0x1C:
                case 0x1D:
                    this.calledName = SMBSERVER_NAME;
                }
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.1K bytes
    - Viewed (0)
Back to top