Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,272 for creading (0.15 sec)

  1. staging/src/k8s.io/apiserver/pkg/util/proxy/streamtranslator_test.go

    	if err != nil {
    		t.Errorf("unexpected error creating websocket executor: %v", err)
    	}
    	// Generate random data, and set it up to stream on STDIN. The data will be
    	// returned on the STDOUT buffer.
    	randomSize := 1024 * 1024
    	randomData := make([]byte, randomSize)
    	if _, err := rand.Read(randomData); err != nil {
    		t.Errorf("unexpected error reading random data: %v", err)
    	}
    	var stdout bytes.Buffer
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 27 23:21:55 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  2. pkg/volume/util/subpath/subpath_linux.go

    		return false, "", fmt.Errorf("error creating directory %s: %s", bindParent, err)
    	}
    
    	t, err := os.Lstat(subpath.Path)
    	if err != nil {
    		return false, "", fmt.Errorf("lstat %s failed: %s", subpath.Path, err)
    	}
    
    	if t.Mode()&os.ModeDir > 0 {
    		if err = os.Mkdir(bindPathTarget, 0750); err != nil && !os.IsExist(err) {
    			return false, "", fmt.Errorf("error creating directory %s: %s", bindPathTarget, err)
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 12 14:09:11 UTC 2022
    - 21.4K bytes
    - Viewed (0)
  3. security/pkg/nodeagent/cache/secretcache_test.go

    	if err != nil {
    		t.Fatalf("Error reading the cert chain file: %v", err)
    	}
    	privateKey, err := os.ReadFile(sc.existingCertificateFile.PrivateKeyPath)
    	if err != nil {
    		t.Fatalf("Error reading the private key file: %v", err)
    	}
    	rootCert, err := os.ReadFile(sc.existingCertificateFile.CaCertificatePath)
    	if err != nil {
    		t.Fatalf("Error reading the root cert file: %v", err)
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java

                }
                if (item2.getReadings().length > i) {
                    for (final String reading : item2.getReadings()[i]) {
                        if (!list.contains(reading)) {
                            list.add(reading);
                        }
                    }
                }
                mergedItem.readings[i] = list.toArray(new String[list.size()]);
            }
    
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  5. pkg/volume/volume_linux_test.go

    			if err != nil {
    				t.Fatalf("error creating temp dir: %v", err)
    			}
    
    			defer os.RemoveAll(tmpDir)
    
    			info, err := os.Lstat(tmpDir)
    			if err != nil {
    				t.Fatalf("error reading permission of tmpdir: %v", err)
    			}
    
    			stat, ok := info.Sys().(*syscall.Stat_t)
    			if !ok || stat == nil {
    				t.Fatalf("error reading permission stats for tmpdir: %s", tmpDir)
    			}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 03 19:34:37 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

            final Map<String, Object> secondLine = new HashMap<>();
    
            secondLine.put("text", item.getText());
    
            // reading
            final String[][] readings = item.getReadings();
            for (int i = 0; i < readings.length; i++) {
                secondLine.put("reading_" + i, readings[i]);
            }
    
            secondLine.put("fields", item.getFields());
            secondLine.put("queryFreq", item.getQueryFreq());
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/settings.md

    ```Python hl_lines="9-10  13  21"
    {!../../../docs_src/settings/app02/test_main.py!}
    ```
    
    In the dependency override we set a new value for the `admin_email` when creating the new `Settings` object, and then we return that new object.
    
    Then we can test that it is used.
    
    ## Reading a `.env` file
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/sql-databases.md

    ### Create Pydantic *models* / schemas for reading / returning
    
    Now create Pydantic *models* (schemas) that will be used when reading data, when returning it from the API.
    
    For example, before creating an item, we don't know what will be the ID assigned to it, but when reading it (when returning it from the API) we will already know its ID.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  9. pilot/pkg/serviceregistry/kube/controller/multicluster.go

    type Multicluster struct {
    	// serverID of this pilot instance used for leader election
    	serverID string
    
    	// options to use when creating kube controllers
    	opts Options
    
    	// client for reading remote-secrets to initialize multicluster registries
    	client kubernetes.Interface
    	s      server.Instance
    
    	serviceEntryController *serviceentry.Controller
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  10. pkg/test/framework/testcontext.go

    		// is more readable.
    		workDir = path.Join(s.settings.RunDir(), id, "_test_context")
    	}
    	if err := os.MkdirAll(workDir, os.ModePerm); err != nil {
    		goTest.Fatalf("Error creating work dir %q: %v", workDir, err)
    	}
    
    	scopes.Framework.Debugf("Creating new testContext: %q", id)
    
    	if parentScope == nil {
    		parentScope = s.globalScope
    	}
    
    	scopeID := fmt.Sprintf("[%s]", id)
    	ctx := &testContext{
    		id:         id,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 11.4K bytes
    - Viewed (0)
Back to top