Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 112 for getPost (0.14 sec)

  1. guava/src/com/google/common/collect/Iterables.java

      public static <T extends @Nullable Object> T getLast(Iterable<T> iterable) {
        // TODO(kevinb): Support a concurrently modified collection?
        if (iterable instanceof List) {
          List<T> list = (List<T>) iterable;
          if (list.isEmpty()) {
            throw new NoSuchElementException();
          }
          return getLastInNonemptyList(list);
        }
    
        return Iterators.getLast(iterable.iterator());
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 42.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/storage/testing/watcher_tests.go

    			key := watchKey + "/foo"
    			if !recursive {
    				watchKey = key
    			}
    
    			// Get the current RV from which we can start watching.
    			out := &example.PodList{}
    			if err := store.GetList(ctx, watchKey, storage.ListOptions{ResourceVersion: "", Predicate: tt.pred, Recursive: recursive}, out); err != nil {
    				t.Fatalf("List failed: %v", err)
    			}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go

    }
    
    // GetList implements storage.Interface
    func (c *Cacher) GetList(ctx context.Context, key string, opts storage.ListOptions, listObj runtime.Object) error {
    	recursive := opts.Recursive
    	resourceVersion := opts.ResourceVersion
    	pred := opts.Predicate
    	if shouldDelegateList(opts) {
    		return c.storage.GetList(ctx, key, opts, listObj)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  4. platforms/software/resources-http/src/main/java/org/gradle/internal/resource/transport/http/HttpClientHelper.java

        }
    
    
        private static URI getLastRedirectLocation(HttpContext httpContext) {
            List<URI> redirectLocations = getRedirectLocations(httpContext);
            return redirectLocations.isEmpty() ? null : Iterables.getLast(redirectLocations);
        }
    
        @Nonnull
        private HttpClientResponse processResponse(HttpClientResponse response) {
            if (response.wasMissing()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:05 UTC 2024
    - 13K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/storage/etcd3/store.go

    			withRev = int64(parsedRV)
    		}
    	default:
    		return withRev, fmt.Errorf("unknown ResourceVersionMatch value: %v", opts.ResourceVersionMatch)
    	}
    	return withRev, nil
    }
    
    // GetList implements storage.Interface.
    func (s *store) GetList(ctx context.Context, key string, opts storage.ListOptions, listObj runtime.Object) error {
    	preparedKey, err := s.prepareKey(key)
    	if err != nil {
    		return err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 11:56:42 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/transforms/lift_tflite_flex_ops.cc

        if (!flexbuffers::VerifyBuffer(opt_data, opt_size)) {
          return emitError(loc, "invalid custom options");
        }
    
        const flexbuffers::Vector& v =
            flexbuffers::GetRoot(opt_data, opt_size).AsVector();
    
        op_name = v[0].AsString().str();
    
        if (!node_def.ParseFromString(v[1].AsString().str())) {
          return emitError(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Iterables.java

      public static <T extends @Nullable Object> T getLast(Iterable<T> iterable) {
        // TODO(kevinb): Support a concurrently modified collection?
        if (iterable instanceof List) {
          List<T> list = (List<T>) iterable;
          if (list.isEmpty()) {
            throw new NoSuchElementException();
          }
          return getLastInNonemptyList(list);
        }
    
        return Iterators.getLast(iterable.iterator());
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 42.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/net/InetAddressesTest.java

        assertEquals(server, teredo.getServer());
    
        InetAddress client = InetAddresses.forString(clientStr);
        assertEquals(client, teredo.getClient());
    
        assertEquals(port, teredo.getPort());
        assertEquals(flags, teredo.getFlags());
      }
    
      public void testTeredoAddress_nullServer() {
        InetAddresses.TeredoInfo info = new InetAddresses.TeredoInfo(null, null, 80, 1000);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 24 16:44:05 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/CrossProjectConfigurationReportingGradle.kt

            else -> gradle
        }
    
        override fun getParent(): GradleInternal? =
            delegate.parent?.let { delegateParent -> from(delegateParent, referrerProject) }
    
        override fun getRoot(): GradleInternal =
            when (val root = delegate.root) {
                delegate -> this
                else -> from(root, referrerProject)
            }
    
        override fun getRootProject(): ProjectInternal =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/flatbuffer_operator.cc

        std::string has_side_effect_key = "has_side_effect";
        bool has_side_effect_set = false;
        const flexbuffers::Map& computation_map =
            flexbuffers::GetRoot(op->custom_attributes).AsMap();
        const auto& keys = computation_map.Keys();
        for (size_t i = 0; i < keys.size(); ++i) {
          const auto key = keys[i].AsKey();
          const auto& value = computation_map[key];
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 38K bytes
    - Viewed (0)
Back to top