Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 49 for predict1 (1.68 sec)

  1. android/guava/src/com/google/common/base/CharMatcher.java

      /** Implementation of {@link #forPredicate(Predicate)}. */
      private static final class ForPredicate extends CharMatcher {
    
        private final Predicate<? super Character> predicate;
    
        ForPredicate(Predicate<? super Character> predicate) {
          this.predicate = checkNotNull(predicate);
        }
    
        @Override
        public boolean matches(char c) {
          return predicate.apply(c);
        }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 53.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

      public void testAny() {
        List<String> list = Lists.newArrayList();
        Predicate<String> predicate = Predicates.equalTo("pants");
    
        assertFalse(Iterators.any(list.iterator(), predicate));
        list.add("cool");
        assertFalse(Iterators.any(list.iterator(), predicate));
        list.add("pants");
        assertTrue(Iterators.any(list.iterator(), predicate));
      }
    
      public void testAll() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 03 13:01:51 UTC 2024
    - 55.7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/storage/testing/store_tests.go

    		}
    		return labels.Set(pod.Labels), nil, nil
    	}
    	predicate := storage.SelectionPredicate{
    		Label:    labels.Set{"even": "true"}.AsSelector(),
    		GetAttrs: getAttrs,
    		Limit:    4,
    	}
    
    	result1 := example.PodList{}
    	options := storage.ListOptions{
    		Predicate: predicate,
    		Recursive: true,
    	}
    	if err := store.GetList(ctx, "/pods", options, &result1); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 91.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/deadness_analysis_test.cc

      Output predicate = ops::Placeholder(root.WithOpName("predicate"), DT_BOOL);
      Output true_value = ops::Placeholder(root.WithOpName("true_value"), DT_FLOAT);
      Output false_value =
          ops::Placeholder(root.WithOpName("false_value"), DT_FLOAT);
    
      ops::Switch predicated_true(root.WithOpName("predicated_true"), true_value,
                                  predicate);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  5. src/strings/strings_test.go

    				ToValidUTF8(test.input, replacement)
    			}
    		})
    	}
    }
    
    type predicate struct {
    	f    func(rune) bool
    	name string
    }
    
    var isSpace = predicate{unicode.IsSpace, "IsSpace"}
    var isDigit = predicate{unicode.IsDigit, "IsDigit"}
    var isUpper = predicate{unicode.IsUpper, "IsUpper"}
    var isValidRune = predicate{
    	func(r rune) bool {
    		return r != utf8.RuneError
    	},
    	"IsValidRune",
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 53K bytes
    - Viewed (0)
  6. src/bytes/bytes_test.go

    			}
    		}
    	}
    }
    
    type predicate struct {
    	f    func(r rune) bool
    	name string
    }
    
    var isSpace = predicate{unicode.IsSpace, "IsSpace"}
    var isDigit = predicate{unicode.IsDigit, "IsDigit"}
    var isUpper = predicate{unicode.IsUpper, "IsUpper"}
    var isValidRune = predicate{
    	func(r rune) bool {
    		return r != utf8.RuneError
    	},
    	"IsValidRune",
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  7. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest.h

    //
    // This class is useful for two purposes:
    //   1. Defining predicate functions to be used with Boolean test assertions
    //      EXPECT_TRUE/EXPECT_FALSE and their ASSERT_ counterparts
    //   2. Defining predicate-format functions to be
    //      used with predicate assertions (ASSERT_PRED_FORMAT*, etc).
    //
    // For example, if you define IsEven predicate:
    //
    //   testing::AssertionResult IsEven(int n) {
    //     if ((n % 2) == 0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 86.4K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest.h

    //
    // This class is useful for two purposes:
    //   1. Defining predicate functions to be used with Boolean test assertions
    //      EXPECT_TRUE/EXPECT_FALSE and their ASSERT_ counterparts
    //   2. Defining predicate-format functions to be
    //      used with predicate assertions (ASSERT_PRED_FORMAT*, etc).
    //
    // For example, if you define IsEven predicate:
    //
    //   testing::AssertionResult IsEven(int n) {
    //     if ((n % 2) == 0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 86.4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go

    	namespace string
    	name      string
    }
    
    // Watch implements storage.Interface.
    func (c *Cacher) Watch(ctx context.Context, key string, opts storage.ListOptions) (watch.Interface, error) {
    	pred := opts.Predicate
    	// if the watch-list feature wasn't set and the resourceVersion is unset
    	// ensure that the rv from which the watch is being served, is the latest
    	// one. "latest" is ensured by serving the watch from
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/merge_control_flow.mlir

        tf_device.return
      }) {cluster_attr = "cluster_attr"} : () -> ()
      func.return
    }
    
    // Check that IfRegions with same predicate intermediate data dependency are not merged.
    
    // CHECK-LABEL: func @same_predicate_intermediate_dependency_no_merge
    func.func @same_predicate_intermediate_dependency_no_merge() {
      // CHECK:      tf_device.cluster
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 63.7K bytes
    - Viewed (0)
Back to top