- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 1,759 for interface (0.06 sec)
-
internal/event/target/elasticsearch.go
return err } defer res.Body.Close() var v map[string]interface{} found := false if err := json.NewDecoder(res.Body).Decode(&v); err != nil { return fmt.Errorf("Error parsing response body: %v", err) } indices, ok := v["indices"].([]interface{}) if ok { for _, index := range indices { name := index.(map[string]interface{})["name"] if name == args.Index { found = true break
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 15K bytes - Viewed (0) -
src/cmd/api/testdata/src/pkg/p4/p4.go
// Copyright 2021 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package p4 type Pair[T1 interface{ M() }, T2 ~int] struct { f1 T1 f2 T2 } func NewPair[T1 interface{ M() }, T2 ~int](v1 T1, v2 T2) Pair[T1, T2] { return Pair[T1, T2]{f1: v1, f2: v2} } func (p Pair[X1, _]) First() X1 { return p.f1 }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Dec 02 16:29:41 UTC 2022 - 552 bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/features/Feature.java
import com.google.common.annotations.GwtCompatible; import java.util.Set; /** * Base class for enumerating the features of an interface to be tested. * * @param <T> The interface whose features are to be enumerated. * @author George van den Driessche */ @GwtCompatible public interface Feature<T> { /** Returns the set of features that are implied by this feature. */ Set<Feature<? super T>> getImpliedFeatures();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Apr 21 02:27:51 UTC 2017 - 1.1K bytes - Viewed (0) -
api/go1.5.txt
pkg go/types, method (*Interface) Complete() *Interface pkg go/types, method (*Interface) Embedded(int) *Named pkg go/types, method (*Interface) Empty() bool pkg go/types, method (*Interface) ExplicitMethod(int) *Func pkg go/types, method (*Interface) Method(int) *Func pkg go/types, method (*Interface) NumEmbeddeds() int pkg go/types, method (*Interface) NumExplicitMethods() int
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Jul 30 21:14:09 UTC 2015 - 46.6K bytes - Viewed (0) -
cmd/consolelogger.go
func (sys *HTTPConsoleLoggerSys) Init(_ context.Context) error { return nil } // Endpoint - dummy function for interface compatibility func (sys *HTTPConsoleLoggerSys) Endpoint() string { return sys.console.Endpoint() } // String - stringer function for interface compatibility func (sys *HTTPConsoleLoggerSys) String() string { return logger.ConsoleLoggerTgt }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 5.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/SortedSetMultimap.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jan 24 17:47:51 UTC 2022 - 5.3K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Predicate.java
* version of this interface will be made to <i>extend</i> {@code java.util.function.Predicate}, so * that conversion will be necessary in only one direction. At that time, this interface will be * officially discouraged. * * @author Kevin Bourrillion * @since 2.0 */ @GwtCompatible @ElementTypesAreNonnullByDefault public interface Predicate<T extends @Nullable Object> { /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 15 16:12:13 UTC 2024 - 3.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ForwardingObjectTester.java
} } /** * Ensures that all interface methods of {@code forwarderClass} are forwarded to the {@link * ForwardingObject#delegate}. {@code forwarderClass} is assumed to only implement one interface. */ static <T extends ForwardingObject> void testForwardingObject(final Class<T> forwarderClass) { @SuppressWarnings("unchecked") // super interface type of T Class<? super T> interfaceType =
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jan 05 19:41:03 UTC 2023 - 2.5K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/SuccessorsFunction.java
package com.google.common.graph; import com.google.common.annotations.Beta; import com.google.errorprone.annotations.DoNotMock; /** * A functional interface for <a * href="https://en.wikipedia.org/wiki/Graph_(discrete_mathematics)">graph</a>-structured data. * * <p>This interface is meant to be used as the type of a parameter to graph algorithms (such as
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 26 17:43:39 UTC 2021 - 4.3K bytes - Viewed (0) -
schema/callbacks_test.go
if !reflect.Indirect(reflect.ValueOf(user)).FieldByName(str).Interface().(bool) { t.Errorf("%v should be true", str) } } for _, str := range []string{"BeforeCreate", "BeforeUpdate", "AfterUpdate", "AfterSave", "BeforeDelete", "AfterDelete", "AfterFind"} { if reflect.Indirect(reflect.ValueOf(user)).FieldByName(str).Interface().(bool) { t.Errorf("%v should be false", str) } }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Jan 06 07:02:53 UTC 2022 - 939 bytes - Viewed (0)