Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1381 - 1390 of 2,145 for else_ (0.14 sec)

  1. tests/test_regex_deprecated_body.py

            @app.post("/items/")
            async def read_items(
                q: Annotated[str | None, Form(regex="^fixedquery$")] = None,
            ):
                if q:
                    return f"Hello {q}"
                else:
                    return "Hello World"
    
        client = TestClient(app)
        return client
    
    
    @needs_py310
    def test_no_query():
        client = get_client()
        response = client.post("/items/")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

                        public @Nullable Void call() {
                          holder.count++;
                          return null;
                        }
                      },
                      service);
            } else if (i % DIRECT_EXECUTIONS_PER_THREAD == DIRECT_EXECUTIONS_PER_THREAD - 1) {
              // When at max depth, record stack trace depth
              lengthChecks.add(
                  serializer.submit(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java

            int state = getState();
            switch (state) {
              case COMPLETED:
                if (exception != null) {
                  throw new ExecutionException(exception);
                } else {
                  return value;
                }
    
              case CANCELLED:
              case INTERRUPTED:
                throw cancellationExceptionWithCause("Task was cancelled.", exception);
    
              default:
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbEnumerationUtil.java

                        }
                        return new NetServerFileEntryAdapterIterator(parent, new NetServerEnumIterator(parent, th, wildcard, searchAttributes, fnf), ff);
                    }
                }
            }
            else if ( locator.getType() == SmbConstants.TYPE_WORKGROUP ) {
                try ( SmbTreeHandleImpl th = parent.ensureTreeConnected() ) {
                    if ( th.isSMB2() ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jul 20 08:41:19 UTC 2019
    - 12.5K bytes
    - Viewed (0)
  5. cni/pkg/plugin/sidecar_redirect.go

    	}
    
    	if pi.ProxyUID != nil && *pi.ProxyUID != 0 {
    		redir.noRedirectUID = fmt.Sprintf("%d", *pi.ProxyUID)
    	} else {
    		redir.noRedirectUID = defaultNoRedirectUID
    	}
    
    	if pi.ProxyGID != nil && *pi.ProxyGID != 0 {
    		redir.noRedirectGID = fmt.Sprintf("%d", *pi.ProxyGID)
    	} else {
    		redir.noRedirectGID = defaultNoRedirectGID
    	}
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/service/CrawlingInfoService.java

                        if (value == null) {
                            list.add(StringUtil.EMPTY);
                        } else if (value instanceof LocalDateTime) {
                            list.add(((LocalDateTime) value).format(formatter));
                        } else {
                            list.add(value.toString());
                        }
                    }
                });
                csvWriter.flush();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/SortedMultisetTestSuiteBuilder.java

                    } else if (from == Bound.EXCLUSIVE) {
                      multiset = multiset.tailMultiset(firstExclusive, BoundType.OPEN);
                    }
    
                    if (to == Bound.INCLUSIVE) {
                      multiset = multiset.headMultiset(lastInclusive, BoundType.CLOSED);
                    } else if (to == Bound.EXCLUSIVE) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/GeneralRange.java

        BoundType lowType = getLowerBoundType();
        if (!hasLowerBound()) {
          hasLowBound = other.hasLowerBound;
          lowEnd = other.getLowerEndpoint();
          lowType = other.getLowerBoundType();
        } else if (other.hasLowerBound()) {
          int cmp = comparator.compare(getLowerEndpoint(), other.getLowerEndpoint());
          if (cmp < 0 || (cmp == 0 && other.getLowerBoundType() == OPEN)) {
            lowEnd = other.getLowerEndpoint();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/Trans2FindFirst2.java

        Trans2FindFirst2( String filename, String wildcard, int searchAttributes ) {
            if( filename.equals( "\\" )) {
                this.path = filename;
            } else {
                this.path = filename + "\\";
            }
            this.wildcard = wildcard;
            this.searchAttributes = searchAttributes & 0x37; /* generally ignored tho */
            command = SMB_COM_TRANSACTION2;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 4.4K bytes
    - Viewed (0)
  10. callbacks/helper.go

    				}
    			}
    
    			if _, ok := result[k]; !ok {
    				if v, ok := selectColumns[k]; (ok && v) || (!ok && !restricted) {
    					result[k] = make([]interface{}, len(mapValues))
    					columns = append(columns, k)
    				} else {
    					continue
    				}
    			}
    
    			result[k][idx] = v
    		}
    	}
    
    	sort.Strings(columns)
    	values.Values = make([][]interface{}, len(mapValues))
    	values.Columns = make([]clause.Column, len(columns))
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Apr 14 12:32:57 UTC 2022
    - 3.7K bytes
    - Viewed (0)
Back to top