Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 778 for Bitter (0.26 sec)

  1. tests/test_filter_pydantic_sub_model_pv2.py

            return {"name": name, "description": "model-a-desc", "foo": model_c}
    
        client = TestClient(app)
        return client
    
    
    @needs_pydanticv2
    def test_filter_sub_model(client: TestClient):
        response = client.get("/model/modelA")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "name": "modelA",
            "description": "model-a-desc",
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Multimaps.java

       * static final ListMultimap<Character, String> FIRST_LETTER_MULTIMAP;
       *
       * static {
       *     FIRST_LETTER_MULTIMAP = MultimapBuilder.treeKeys().arrayListValues().build();
       *     FIRST_LETTER_MULTIMAP.put('b', "anana");
       *     FIRST_LETTER_MULTIMAP.put('a', "pple");
       *     FIRST_LETTER_MULTIMAP.put('a', "sparagus");
       *     FIRST_LETTER_MULTIMAP.put('c', "arrot");
       *     FIRST_LETTER_MULTIMAP.put('c', "herry");
       * }
       * }</pre>
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
  3. cmd/metacache-set.go

    		// Sanity check, should not happen.
    		o.FilterPrefix = ""
    	}
    }
    
    // filter will apply the options and return the number of objects requested by the limit.
    // Will return io.EOF if there are no more entries with the same filter.
    // The last entry can be used as a marker to resume the listing.
    func (r *metacacheReader) filter(o listPathOptions) (entries metaCacheEntriesSorted, err error) {
    	// Forward to prefix, if any
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 19:52:52 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Sets.java

       * java.util.stream.Stream#filter}. This method is not being deprecated, but we gently encourage
       * you to migrate to streams.
       */
      // TODO(kevinb): how to omit that last sentence when building GWT javadoc?
      public static <E extends @Nullable Object> Set<E> filter(
          Set<E> unfiltered, Predicate<? super E> predicate) {
        if (unfiltered instanceof SortedSet) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  5. istioctl/pkg/writer/ztunnel/configdump/connections.go

    			return r
    		}
    		return cmp.Compare(a.Info.Namespace, b.Info.Namespace)
    	})
    	for _, wl := range workloads {
    		if filter.Namespace != "" && filter.Namespace != wl.Info.Namespace {
    			continue
    		}
    		name := fmt.Sprintf("%s.%s", wl.Info.Name, wl.Info.Namespace)
    		if filter.Direction != "outbound" {
    			for _, c := range wl.Connections.Inbound {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Apr 22 15:39:28 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  6. istioctl/pkg/writer/ztunnel/configdump/policies.go

    	return w.Flush()
    }
    
    // PrintPolicyDump prints the relevant services in the config dump to the ConfigWriter stdout
    func (c *ConfigWriter) PrintPolicyDump(filter PolicyFilter, outputFormat string) error {
    	zDump := c.ztunnelDump
    	policies := slices.Filter(maps.Values(zDump.Policies), filter.Verify)
    	slices.SortFunc(policies, func(a, b *ZtunnelPolicy) int {
    		if r := cmp.Compare(a.Namespace, b.Namespace); r != 0 {
    			return r
    		}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 23 21:30:30 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  7. istioctl/pkg/writer/ztunnel/configdump/services.go

    	w := c.tabwriter()
    	zDump := c.ztunnelDump
    
    	svcs := slices.Filter(maps.Values(zDump.Services), filter.Verify)
    	slices.SortFunc(svcs, func(a, b *ZtunnelService) int {
    		if r := cmp.Compare(a.Namespace, b.Namespace); r != 0 {
    			return r
    		}
    		if r := cmp.Compare(a.Name, b.Name); r != 0 {
    			return r
    		}
    		return cmp.Compare(a.Hostname, b.Hostname)
    	})
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 23 21:30:30 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/JdkVersionProfileActivator.java

     */
    @Named("jdk-version")
    @Singleton
    public class JdkVersionProfileActivator implements ProfileActivator {
    
        private static final Pattern FILTER_1 = Pattern.compile("[^\\d._-]");
        private static final Pattern FILTER_2 = Pattern.compile("[._-]");
        private static final Pattern FILTER_3 = Pattern.compile("\\."); // used for split now
    
        @Override
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  9. istioctl/pkg/writer/ztunnel/configdump/workload.go

    // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package configdump
    
    import (
    	"encoding/json"
    	"fmt"
    	"sort"
    	"strings"
    
    	"sigs.k8s.io/yaml"
    )
    
    // WorkloadFilter is used to pass filter information into workload based config writer print functions
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 23 21:30:30 GMT 2024
    - 4K bytes
    - Viewed (0)
  10. istioctl/pkg/writer/envoy/configdump/endpoint.go

    		}
    	}
    	return "unknown"
    }
    
    func (c *ConfigWriter) PrintEndpoints(filter EndpointFilter, outputFormat string) error {
    	if c.configDump == nil {
    		return fmt.Errorf("config writer has not been primed")
    	}
    	dump, err := c.retrieveSortedEndpointsSlice(filter)
    	if err != nil {
    		return err
    	}
    	marshaller := make(proto.MessageSlice, 0, len(dump))
    	for _, eds := range dump {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sun Apr 21 17:42:54 GMT 2024
    - 5.6K bytes
    - Viewed (0)
Back to top