Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 1,580 for SIMPLE (0.12 sec)

  1. pkg/bootstrap/option/convert_test.go

    	}{
    		{
    			desc:         "no-tls",
    			tls:          &networkingAPI.ClientTLSSettings{},
    			sni:          "",
    			meta:         &model.BootstrapNodeMetadata{},
    			expectTLSCtx: "null",
    		},
    		{
    			desc: "tls-simple-no-cert",
    			tls: &networkingAPI.ClientTLSSettings{
    				Mode: networkingAPI.ClientTLSSettings_SIMPLE,
    			},
    			sni:          "",
    			meta:         &model.BootstrapNodeMetadata{},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 20:38:02 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/conversion/helper_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package conversion
    
    import "testing"
    
    func TestInvalidPtrValueKind(t *testing.T) {
    	var simple interface{}
    	switch obj := simple.(type) {
    	default:
    		_, err := EnforcePtr(obj)
    		if err == nil {
    			t.Errorf("Expected error on invalid kind")
    		}
    	}
    }
    
    func TestEnforceNilPtr(t *testing.T) {
    	var nilPtr *struct{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 11 14:09:48 UTC 2017
    - 978 bytes
    - Viewed (0)
  3. maven-embedder/src/main/java/org/slf4j/simple/MavenSlf4jSimpleFriend.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.slf4j.simple;
    
    import org.slf4j.ILoggerFactory;
    import org.slf4j.LoggerFactory;
    
    /**
     * Utility for Maven to access Slf4j-Simple internals through package access.
     * Use with precaution, since this is not normally intended for production use.
     */
    public class MavenSlf4jSimpleFriend {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jan 09 06:36:58 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  4. src/hash/crc32/crc32_generic.go

    // and don't use hardware acceleration.
    //
    // The simple (and slow) CRC32 implementation only uses a 256*4 bytes table.
    //
    // The slicing-by-8 algorithm is a faster implementation that uses a bigger
    // table (8*256*4 bytes).
    
    package crc32
    
    import "internal/byteorder"
    
    // simpleMakeTable allocates and constructs a Table for the specified
    // polynomial. The table is suitable for use with the simple algorithm
    // (simpleUpdate).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 22:36:41 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/api/internal/catalog/parser/TomlCatalogFileParserTest.groovy

            parse 'dependency-notations'
    
            then:
            hasDependency('simple') {
                withGAV('foo', 'bar', '1.0')
            }
            hasDependency('simple-with-rich1') {
                withGroup 'foo'
                withName 'bar'
                withVersion {
                    prefer '1.0'
                }
            }
            hasDependency('simple-with-rich2') {
                withGroup 'foo'
                withName 'bar'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 05:41:21 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  6. src/go/types/errors_test.go

    	}
    
    	want = "foo 42"
    	err.addf(noposn, "foo %d", 42)
    	if got := err.msg(); got != want {
    		t.Errorf("simple error: got %q, want %q", got, want)
    	}
    
    	want = "foo 42\n\tbar 43"
    	err.addf(noposn, "bar %d", 43)
    	if got := err.msg(); got != want {
    		t.Errorf("simple error: got %q, want %q", got, want)
    	}
    }
    
    func TestStripAnnotations(t *testing.T) {
    	for _, test := range []struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  7. maven-embedder/src/main/java/org/apache/maven/cli/logging/impl/Slf4jSimpleConfiguration.java

     * under the License.
     */
    package org.apache.maven.cli.logging.impl;
    
    import org.apache.maven.cli.logging.BaseSlf4jConfiguration;
    import org.slf4j.simple.MavenSlf4jSimpleFriend;
    
    /**
     * Configuration for slf4j-simple.
     *
     * @since 3.1.0
     */
    public class Slf4jSimpleConfiguration extends BaseSlf4jConfiguration {
        @Override
        public void setRootLoggerLevel(Level level) {
            String value;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jan 09 06:36:58 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. tensorflow/cc/experimental/libtf/tests/generate_testdata.py

    Example:
    <build-cmd> run //third_party/tensorflow/cc/experimental/libtf:generate_testdata
     -- \
     --path`pwd`/third_party/tensorflow/cc/experimental/libtf/tests/testdata/ \
     --model_name=simple-model
    """
    import os
    
    from absl import app
    from absl import flags
    
    from tensorflow.python.compat import v2_compat
    from tensorflow.python.eager import def_function
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 15 16:58:38 UTC 2021
    - 3.3K bytes
    - Viewed (0)
  9. src/net/http/triv.go

    // hello world, the web server
    var helloRequests = expvar.NewInt("hello-requests")
    
    func HelloServer(w http.ResponseWriter, req *http.Request) {
    	helloRequests.Add(1)
    	io.WriteString(w, "hello, world!\n")
    }
    
    // Simple counter server. POSTing to it will set the value.
    type Counter struct {
    	mu sync.Mutex // protects n
    	n  int
    }
    
    // This makes Counter satisfy the [expvar.Var] interface, so we can export
    // it directly.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. src/encoding/gob/example_encdec_test.go

    	x, y, z int
    }
    
    func (v Vector) MarshalBinary() ([]byte, error) {
    	// A simple encoding: plain text.
    	var b bytes.Buffer
    	fmt.Fprintln(&b, v.x, v.y, v.z)
    	return b.Bytes(), nil
    }
    
    // UnmarshalBinary modifies the receiver so it must take a pointer receiver.
    func (v *Vector) UnmarshalBinary(data []byte) error {
    	// A simple encoding: plain text.
    	b := bytes.NewBuffer(data)
    	_, err := fmt.Fscanln(b, &v.x, &v.y, &v.z)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 1.5K bytes
    - Viewed (0)
Back to top