Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 143 for intializer (0.2 sec)

  1. cmd/iam.go

    	} else {
    		sys.store = &IAMStoreSys{newIAMEtcdStore(etcdClient, sys.usersSysType), &singleflight.Group{}}
    	}
    }
    
    // Initialized checks if IAM is initialized
    func (sys *IAMSys) Initialized() bool {
    	if sys == nil {
    		return false
    	}
    	sys.Lock()
    	defer sys.Unlock()
    	return sys.store != nil
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test_base.py

          tags: Collection[str],
          signature_def_key: str,
      ) -> Tuple[Mapping[str, core.Tensor], Mapping[str, core.Tensor]]:
        """Creates and saves a model that uses a file-initialized table.
    
        The asset file "vocab_file.txt" is used to initialize a hash table.
    
        Args:
          output_path: Path to the directory to save the created model.
          tags: Set of strings that identifies the saved meta graph.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 21 08:51:46 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  3. cmd/test-utils_test.go

    	return objLayer, formattedDisks, nil
    }
    
    // removeRoots - Cleans up initialized directories during tests.
    func removeRoots(roots []string) {
    	for _, root := range roots {
    		os.RemoveAll(root)
    	}
    }
    
    // creates a bucket for the tests and returns the bucket name.
    // initializes the specified API endpoints for the tests.
    // initializes the root and returns its path.
    // return credentials.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 76.9K bytes
    - Viewed (0)
  4. src/cmd/go/internal/modload/init.go

    	// WriteGoMod explicitly.
    	ExplicitWriteGoMod bool
    )
    
    // Variables set in Init.
    var (
    	initialized bool
    
    	// These are primarily used to initialize the MainModules, and should be
    	// eventually superseded by them but are still used in cases where the module
    	// roots are required but MainModules hasn't been initialized yet. Set to
    	// the modRoots of the main modules.
    	// modRoots != nil implies len(modRoots) > 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 69.8K bytes
    - Viewed (0)
  5. src/runtime/mheap.go

    		}
    	}
    	return s
    }
    
    // initSpan initializes a blank span s which will represent the range
    // [base, base+npages*pageSize). typ is the type of span being allocated.
    func (h *mheap) initSpan(s *mspan, typ spanAllocType, spanclass spanClass, base, npages uintptr) {
    	// At this point, both s != nil and base != 0, and the heap
    	// lock is no longer held. Initialize the span.
    	s.init(base, npages)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 78K bytes
    - Viewed (0)
  6. cmd/kubelet/app/server.go

    				}
    			}
    
    			// Config and flags parsed, now we can initialize logging.
    			logs.InitLogs()
    			if err := logsapi.ValidateAndApplyAsField(&kubeletConfig.Logging, utilfeature.DefaultFeatureGate, field.NewPath("logging")); err != nil {
    				return fmt.Errorf("initialize logging: %v", err)
    			}
    			cliflag.PrintFlags(cleanFlagSet)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:34 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  7. cmd/xl-storage_test.go

    			t.Fatalf("Unable to change permission to temporary directory %v. %v", permDeniedDir, err)
    		}
    
    		// Initialize xlStorage storage layer for permission denied error.
    		_, err = newLocalXLStorage(permDeniedDir)
    		if err != nil && err != errDiskAccessDenied {
    			t.Fatalf("Unable to initialize xlStorage, %s", err)
    		}
    
    		if err = os.Chmod(permDeniedDir, 0o755); err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 11 17:45:28 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  8. pkg/kubelet/kuberuntime/kuberuntime_container.go

    }
    
    // computeInitContainerActions sets the actions on the given changes that need
    // to be taken for the init containers. This includes actions to initialize the
    // init containers and actions to keep restartable init containers running.
    // computeInitContainerActions returns true if pod has been initialized.
    //
    // The actions include:
    // - Start the first init container that has not been started.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 54.7K bytes
    - Viewed (0)
  9. cmd/erasure-server-pool.go

    		}
    		globalLocalDrivesMu.Unlock()
    	}
    
    	z.decommissionCancelers = make([]context.CancelFunc, len(z.serverPools))
    
    	// Initialize the pool meta, but set it to not save.
    	// When z.Init below has loaded the poolmeta will be initialized,
    	// and allowed to save.
    	z.poolMeta = newPoolMeta(z, poolMeta{})
    	z.poolMeta.dontSave = true
    
    	bootstrapTrace("newSharedLock", func() {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 82.5K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/filesystem/filesystem_interface.h

    ///
    /// Plugins will never receive a `TF_*` pointer that is `nullptr`. Core
    /// TensorFlow will never touch the `void*` wrapped by these structures, except
    /// to initialize it as `nullptr`.
    
    typedef struct TF_RandomAccessFile {
      void* plugin_file;
    } TF_RandomAccessFile;
    
    typedef struct TF_WritableFile {
      void* plugin_file;
    } TF_WritableFile;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 27 17:36:54 UTC 2022
    - 53.1K bytes
    - Viewed (0)
Back to top