Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 6,271 for _return (0.06 sec)

  1. internal/s3select/sql/value.go

    		return "BYTES"
    	case []Value:
    		return "ARRAY"
    	case Missing:
    		return "MISSING"
    	}
    	return "--"
    }
    
    // Repr returns a string representation of value.
    func (v Value) Repr() string {
    	switch x := v.value.(type) {
    	case nil:
    		return ":NULL"
    	case bool, int64, float64:
    		return fmt.Sprintf("%v:%s", v.value, v.GetTypeString())
    	case time.Time:
    		return fmt.Sprintf("%s:TIMESTAMP", x)
    	case string:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Feb 25 20:31:19 UTC 2022
    - 20.2K bytes
    - Viewed (0)
  2. tests/test_infer_param_optionality.py

    @user_router.get("/")
    def get_users():
        return [{"user_id": "u1"}, {"user_id": "u2"}]
    
    
    @user_router.get("/{user_id}")
    def get_user(user_id: str):
        return {"user_id": user_id}
    
    
    @item_router.get("/")
    def get_items(user_id: Optional[str] = None):
        if user_id is None:
            return [{"item_id": "i1", "user_id": "u1"}, {"item_id": "i2", "user_id": "u2"}]
        else:
            return [{"item_id": "i2", "user_id": user_id}]
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  3. cmd/endpoint.go

    		return endpoint.Path
    	}
    
    	return endpoint.URL.String()
    }
    
    // Type - returns type of endpoint.
    func (endpoint Endpoint) Type() EndpointType {
    	if endpoint.Host == "" {
    		return PathEndpointType
    	}
    
    	return URLEndpointType
    }
    
    // HTTPS - returns true if secure for URLEndpointType.
    func (endpoint Endpoint) HTTPS() bool {
    	return endpoint.Scheme == "https"
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 22:22:24 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableMultimap.java

          return containsKey(object);
        }
    
        @Override
        public int count(@CheckForNull Object element) {
          Collection<V> values = map.get(element);
          return (values == null) ? 0 : values.size();
        }
    
        @Override
        public ImmutableSet<K> elementSet() {
          return keySet();
        }
    
        @Override
        public int size() {
          return ImmutableMultimap.this.size();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/Project.java

    @Experimental
    public interface Project {
    
        /**
         * Returns the project groupId.
         */
        @Nonnull
        String getGroupId();
    
        /**
         * Returns the project artifactId.
         */
        @Nonnull
        String getArtifactId();
    
        /**
         * Returns the project version.
         */
        @Nonnull
        String getVersion();
    
        /**
         * Returns the project packaging.
         * <p>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/DummyProxy.java

            return false;
          }
        }
    
        private DummyProxy identity() {
          return DummyProxy.this;
        }
    
        @Override
        public String toString() {
          return "Dummy proxy for " + interfaceType;
        }
    
        // Since type variables aren't serializable, reduce the type down to raw type before
        // serialization.
        private Object writeReplace() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 08 17:31:55 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableMap.java

        return new UnmodifiableIterator<K>() {
          @Override
          public boolean hasNext() {
            return entryIterator.hasNext();
          }
    
          @Override
          public K next() {
            return entryIterator.next().getKey();
          }
        };
      }
    
      Spliterator<K> keySpliterator() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 44.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/TimeLimiter.java

       * exception is propagated to the caller exactly as-is. If, on the other hand, the time limit is
       * reached, the proxy will attempt to abort the call to the target, and will throw an {@link
       * UncheckedTimeoutException} to the caller.
       *
       * <p>It is important to note that the primary purpose of the proxy object is to return control to
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/ntlmssp/NtlmMessage.java

                System.arraycopy(src, 0, dest, pos, src.length);
                return src.length;
            }
            return 0;
        }
    
    
        static String getOEMEncoding () {
            return OEM_ENCODING;
        }
    
    
        /**
         * Returns the raw byte representation of this message.
         *
         * @return A <code>byte[]</code> containing the raw message material.
         * @throws IOException
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.1K bytes
    - Viewed (0)
  10. internal/s3select/jstream/errors.go

    		s += "\nreader error: " + e.readerErr.Error()
    	}
    	return s
    }
    
    // quoteChar formats c as a quoted character literal
    func quoteChar(c byte) string {
    	// special cases - different from quoted strings
    	if c == '\'' {
    		return `'\''`
    	}
    	if c == '"' {
    		return `'"'`
    	}
    
    	// use quoted string with different quotation marks
    	s := strconv.Quote(string(c))
    	return "'" + s[1:len(s)-1] + "'"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 1.3K bytes
    - Viewed (0)
Back to top