Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 5,927 for anys (0.13 sec)

  1. operator/cmd/mesh/test-util_test.go

    func HavePathValueEqual(expected any) types.GomegaMatcher {
    	return &HavePathValueEqualMatcher{
    		expected: expected,
    	}
    }
    
    // HavePathValueEqualMatcher is a matcher type for HavePathValueEqual.
    type HavePathValueEqualMatcher struct {
    	expected any
    }
    
    // Match implements the Matcher interface.
    func (m *HavePathValueEqualMatcher) Match(actual any) (bool, error) {
    	pv := m.expected.(PathValue)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Oct 31 14:48:28 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  2. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt

          Nothing::class to UTC_TIME,
          Long::class to GENERALIZED_TIME,
          AnyValue::class to ANY_VALUE,
        )
    
      fun any(
        vararg choices: Pair<KClass<*>, DerAdapter<*>> = defaultAnyChoices.toTypedArray(),
        isOptional: Boolean = false,
        optionalValue: Any? = null,
      ): DerAdapter<Any?> {
        return object : DerAdapter<Any?> {
          override fun matches(header: DerHeader): Boolean = true
    
          override fun toDer(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 15K bytes
    - Viewed (0)
  3. fastapi/datastructures.py

            yield cls.validate
    
        @classmethod
        def validate(cls: Type["UploadFile"], v: Any) -> Any:
            if not isinstance(v, StarletteUploadFile):
                raise ValueError(f"Expected UploadFile, received: {type(v)}")
            return v
    
        @classmethod
        def _validate(cls, __input_value: Any, _: Any) -> "UploadFile":
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  4. istioctl/pkg/validate/validate.go

    				strings.Join(points, "\n\t"))
    		}
    	}
    	return w.Error()
    }
    
    func transformInterfaceArray(in []any) []any {
    	out := make([]any, len(in))
    	for i, v := range in {
    		out[i] = transformMapValue(v)
    	}
    	return out
    }
    
    func transformInterfaceMap(in map[any]any) map[string]any {
    	out := make(map[string]any, len(in))
    	for k, v := range in {
    		out[fmt.Sprintf("%v", k)] = transformMapValue(v)
    	}
    	return out
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Jan 22 17:58:52 GMT 2024
    - 15K bytes
    - Viewed (0)
  5. fastapi/exceptions.py

        """
    
    
    class ValidationException(Exception):
        def __init__(self, errors: Sequence[Any]) -> None:
            self._errors = errors
    
        def errors(self) -> Sequence[Any]:
            return self._errors
    
    
    class RequestValidationError(ValidationException):
        def __init__(self, errors: Sequence[Any], *, body: Any = None) -> None:
            super().__init__(errors)
            self.body = body
    
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

     * http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
     * 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 com.google.common.collect.testing;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/MapsCollectionTest.java

                      }
                    })
                .named("unmodifiableBiMap[HashBiMap]")
                .withFeatures(
                    CollectionSize.ANY,
                    MapFeature.ALLOWS_NULL_VALUES,
                    MapFeature.ALLOWS_NULL_KEYS,
                    MapFeature.ALLOWS_ANY_NULL_QUERIES,
                    MapFeature.REJECTS_DUPLICATES_AT_CREATION,
                    CollectionFeature.SERIALIZABLE)
                .createTestSuite());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 32.2K bytes
    - Viewed (0)
  8. cni/pkg/util/pluginutil.go

    func GetPlugins(cniConfigMap map[string]any) (plugins []any, err error) {
    	plugins, ok := cniConfigMap["plugins"].([]any)
    	if !ok {
    		err = fmt.Errorf("error reading plugin list from CNI config")
    		return
    	}
    	return
    }
    
    // Given the raw plugin interface, return the plugin asserted as a map[string]interface{}
    func GetPlugin(rawPlugin any) (plugin map[string]any, err error) {
    	plugin, ok := rawPlugin.(map[string]any)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  9. gradle/wrapper/gradle-wrapper.jar

    and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and (b) You must cause any modified files to carry prominent notices stating that You changed the files; and (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark,...
    Archive
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 24 09:00:26 GMT 2023
    - 42.4K bytes
    - Viewed (0)
  10. LICENSE

          negligent acts) or agreed to in writing, shall any Contributor be
          liable to You for damages, including any direct, indirect, special,
          incidental, or consequential damages of any character arising as a
          result of this License or out of the use or inability to use the
          Work (including but not limited to damages for loss of goodwill,
          work stoppage, computer failure or malfunction, or any and all
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Oct 31 14:48:35 GMT 2023
    - 11.1K bytes
    - Viewed (0)
Back to top