Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,019 for data_ (0.06 sec)

  1. cmd/kubeadm/app/util/template_test.go

    )
    
    func TestParseTemplate(t *testing.T) {
    	var tmplTests = []struct {
    		name        string
    		template    string
    		data        interface{}
    		output      string
    		errExpected bool
    	}{
    		{
    			name:     "should parse a valid template and set the right values",
    			template: validTmpl,
    			data: struct{ ImageRepository, Arch string }{
    				ImageRepository: "registry.k8s.io",
    				Arch:            "amd64",
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 24 07:02:51 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. pkg/probe/exec/exec.go

    	e.SetStdout(writer)
    	err := e.Start()
    	if err == nil {
    		err = e.Wait()
    	}
    	data := dataBuffer.Bytes()
    
    	klog.V(4).Infof("Exec probe response: %q", string(data))
    	if err != nil {
    		exit, ok := err.(exec.ExitError)
    		if ok {
    			if exit.ExitStatus() == 0 {
    				return probe.Success, string(data), nil
    			}
    			return probe.Failure, string(data), nil
    		}
    
    		if errors.Is(err, remote.ErrCommandTimedOut) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 08:58:18 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. docs/site-replication/run-ssec-object-replication.sh

    ./mc ready minio1 --insecure
    ./mc ready minio2 --insecure
    
    # Prepare data for tests
    echo -n "Preparing test data ..."
    mkdir -p /tmp/data
    echo "Hello world" >/tmp/data/plainfile
    echo "Hello from encrypted world" >/tmp/data/encrypted
    touch /tmp/data/defpartsize
    shred -s 500M /tmp/data/defpartsize
    touch /tmp/data/custpartsize
    shred -s 500M /tmp/data/custpartsize
    echo "done"
    
    # Add replication site
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat May 18 18:19:01 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/upgrade/AdminUpgradeAction.java

                    saveInfo(messages -> messages.addSuccessStartedDataUpdate(GLOBAL));
    
                    systemHelper.reloadConfiguration();
                } catch (final Exception e) {
                    logger.warn("Failed to upgrade data.", e);
                    saveError(messages -> messages.addErrorsFailedToUpgradeFrom(GLOBAL, VERSION_13_0, e.getLocalizedMessage()));
                }
            } else if (VERSION_13_1.equals(form.targetVersion)) {
                try {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Sun May 26 05:52:29 UTC 2024
    - 48.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/cbor_test.go

    			tc.assertOnError(t, err)
    			assertOnWriter(t)
    		})
    	}
    }
    
    func TestDecode(t *testing.T) {
    	for _, tc := range []struct {
    		name          string
    		options       []Option
    		data          []byte
    		gvk           *schema.GroupVersionKind
    		metaFactory   metaFactory
    		typer         runtime.ObjectTyper
    		creater       runtime.ObjectCreater
    		into          runtime.Object
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 13 14:57:12 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  6. src/math/rand/v2/chacha8.go

    func (c *ChaCha8) UnmarshalBinary(data []byte) error {
    	data, ok := cutPrefix(data, []byte("readbuf:"))
    	if ok {
    		var buf []byte
    		buf, data, ok = readUint8LengthPrefixed(data)
    		if !ok {
    			return errors.New("invalid ChaCha8 Read buffer encoding")
    		}
    		c.readLen = copy(c.readBuf[len(c.readBuf)-len(buf):], buf)
    	}
    	return chacha8rand.Unmarshal(&c.state, data)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:09:08 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  7. cmd/config-migrate.go

    )
    
    // Save config file to corresponding backend
    func Save(configFile string, data interface{}) error {
    	return quick.SaveConfig(data, configFile, globalEtcdClient)
    }
    
    // Load config from backend
    func Load(configFile string, data interface{}) (quick.Config, error) {
    	return quick.LoadConfig(configFile, globalEtcdClient, data)
    }
    
    func readConfigWithoutMigrate(ctx context.Context, objAPI ObjectLayer) (config.Config, error) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/dataclasses.md

    And of course, it supports the same:
    
    * data validation
    * data serialization
    * data documentation, etc.
    
    This works the same way as with Pydantic models. And it is actually achieved in the same way underneath, using Pydantic.
    
    !!! info
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/sparsity/sparsify_model_test.cc

      // Extract output metadata
      std::map<std::string, std::string> output_metadata;
      for (const auto& metadata : output_model.metadata) {
        const auto& data = output_model.buffers[metadata->buffer]->data;
        output_metadata[metadata->name] = std::string(data.begin(), data.end());
      }
    
      EXPECT_THAT(output_metadata,
                  testing::Contains(testing::Pair(expected_key, expected_value)));
    }
    
    }  // namespace
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 10 20:16:40 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/telemetry/internal/telemetry/dir.go

    	}
    
    	data := []byte(mode + " " + asof)
    	return os.WriteFile(d.modefile, data, 0666)
    }
    
    // Mode returns the current telemetry mode, as well as the time that the mode
    // was effective.
    //
    // If there is no effective time, the second result is the zero time.
    //
    // If Mode is "off", no data should be written to the telemetry directory, and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:13:09 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top