Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 383 for createfing (0.25 sec)

  1. src/internal/trace/testdata/generators/go122-create-syscall-reuse-thread-id.go

    // license that can be found in the LICENSE file.
    
    // Tests a G being created from within a syscall.
    //
    // Specifically, it tests a scenerio wherein a C
    // thread is calling into Go, creating a goroutine in
    // a syscall (in the tracer's model). The system is free
    // to reuse thread IDs, so first a thread ID is used to
    // call into Go, and then is used for a Go-created thread.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. docs/en/docs/how-to/custom-docs-ui-assets.md

    ### Disable the automatic docs
    
    The first step is to disable the automatic docs, as by default, those use the default CDN.
    
    To disable them, set their URLs to `None` when creating your `FastAPI` app:
    
    ```Python hl_lines="8"
    {!../../../docs_src/custom_docs_ui/tutorial001.py!}
    ```
    
    ### Include the custom docs
    
    Now you can create the *path operations* for the custom docs.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 23 22:59:02 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. cmd/naughty-disk_test.go

    		return nil, err
    	}
    	return d.disk.ReadFileStream(ctx, volume, path, offset, length)
    }
    
    func (d *naughtyDisk) CreateFile(ctx context.Context, origvolume, volume, path string, size int64, reader io.Reader) error {
    	if err := d.calcError(); err != nil {
    		return err
    	}
    	return d.disk.CreateFile(ctx, origvolume, volume, path, size, reader)
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  4. platforms/core-configuration/declarative-dsl-provider/src/main/kotlin/org/gradle/internal/declarativedsl/evaluator/StoringInterpretationSchemaBuilder.kt

    import org.gradle.internal.declarativedsl.evaluator.schema.InterpretationSchemaBuildingResult
    import org.gradle.internal.declarativedsl.serialization.SchemaSerialization
    import java.io.File
    
    
    /**
     * In addition to creating the interpretation schema by delegating to [schemaBuilder],
     * stores the produced serialized schema in the file system (under `.gradle/declarative-schema/...` in the project).
     */
    internal
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:10 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/xla_tpu_device.cc

      static XlaDeviceOpRegistrations* registrations =
          RegisterXlaDeviceKernels(DEVICE_TPU_NODE, DEVICE_TPU_XLA_JIT);
      (void)registrations;
    
      int device_count = platform->VisibleDeviceCount();
      VLOG(1) << "Creating " << device_count << " TPU devices";
      for (int i = 0; i < device_count; ++i) {
        TF_RETURN_IF_ERROR(tpu::TpuNodeContext::Initialize(i));
    
        XlaDevice::Options options;
        options.platform = platform;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 22:53:47 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  6. platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/GFileUtils.java

                }
    
                if (!parentDirToCreate.mkdir() && !parentDirToCreate.isDirectory()) {
                    throw new UncheckedIOException(String.format("Failed to create parent directory '%s' when creating directory '%s'", parentDirToCreate, dir));
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 10:50:51 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  7. cmd/admin-handlers-users_test.go

    	if s.secure {
    		s.endpoint = strings.TrimPrefix(s.endPoint, "https://")
    	}
    
    	s.adm, err = madmin.New(s.endpoint, s.accessKey, s.secretKey, s.secure)
    	if err != nil {
    		c.Fatalf("error creating admin client: %v", err)
    	}
    	// Set transport, so that TLS is handled correctly.
    	s.adm.SetCustomTransport(s.TestSuiteCommon.client.Transport)
    
    	s.client, err = minio.New(s.endpoint, &minio.Options{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 45.7K bytes
    - Viewed (0)
  8. src/runtime/pprof/label.go

    	parentLabels := labelValue(ctx)
    	childLabels := make(labelMap, len(parentLabels))
    	// TODO(matloob): replace the map implementation with something
    	// more efficient so creating a child context WithLabels doesn't need
    	// to clone the map.
    	for k, v := range parentLabels {
    		childLabels[k] = v
    	}
    	for _, label := range labels.list {
    		childLabels[label.key] = label.value
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/phases/addons/dns/dns_test.go

    			})
    			if err != nil {
    				t.Errorf("unexpected ParseTemplate failure: %+v", err)
    			}
    
    			err = createCoreDNSAddon(nil, nil, configMapBytes, client)
    			if err != nil {
    				t.Fatalf("error creating the CoreDNS Addon: %v", err)
    			}
    			migratedConfigMap, _ := client.CoreV1().ConfigMaps(metav1.NamespaceSystem).Get(context.TODO(), kubeadmconstants.CoreDNSConfigMap, metav1.GetOptions{})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/phases/certs/renewal/readwriter_test.go

    	if !newCert.Equal(readCert) {
    		t.Errorf("read cert does not match with expected new cert")
    	}
    }
    
    // writeTestCertificate is a utility for creating a test certificate
    func writeTestCertificate(t *testing.T, dir, name string, caCert *x509.Certificate, caKey crypto.Signer, organization []string, notBefore, notAfter time.Time) *x509.Certificate {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 15:17:24 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top