Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for update_config (1.88 sec)

  1. tensorflow/compiler/mlir/lite/quantization/stablehlo/quantization.cc

            static_range_ptq_component.Run(module_op, updated_config);
      } else if (HasQuantizationMethod(updated_config.specs(),
                                       Method::MethodCase::kWeightOnlyPtq)) {
        WeightOnlyPtqComponent weight_only_ptq_component(module_op.getContext());
        quantized_module_op =
            weight_only_ptq_component.Run(module_op, updated_config);
      } else {
        return absl::InvalidArgumentError(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 10:49:12 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/api/admin/general/ApiAdminGeneralAction.java

            final EditBody newBody = new EditBody();
            AdminGeneralAction.updateForm(fessConfig, newBody);
            BeanUtil.copyBeanToBean(body, newBody, CopyOptions::excludeNull);
            AdminGeneralAction.updateConfig(fessConfig, newBody);
            return asJson(new ApiResponse().status(Status.OK).result());
        }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. pilot/pkg/config/monitor/monitor.go

    			newIndex++
    		} else {
    			// version may change without content changing
    			oldConfig.Meta.ResourceVersion = newConfig.Meta.ResourceVersion
    			if !reflect.DeepEqual(oldConfig, newConfig) {
    				m.updateConfig(newConfig)
    			}
    			oldIndex++
    			newIndex++
    		}
    	}
    
    	// Detect remaining deletions
    	for ; oldIndex < oldLen; oldIndex++ {
    		m.deleteConfig(m.configs[oldIndex])
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 12 17:36:33 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  4. pkg/envoy/agent.go

    	// Run command with an abort channel
    	Run(<-chan error) error
    
    	// Drains the envoy process.
    	Drain(skipExit bool) error
    
    	// Cleanup command for cleans up the proxy.
    	Cleanup()
    
    	// UpdateConfig writes a new config file
    	UpdateConfig(config []byte) error
    }
    
    type Agent struct {
    	// proxy commands
    	proxy Proxy
    
    	// channel for proxy exit notifications
    	statusCh chan exitStatus
    
    	abortCh chan error
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 24 16:04:22 UTC 2024
    - 9K bytes
    - Viewed (0)
  5. pkg/envoy/agent_test.go

    }
    
    func (tp TestProxy) Drain(bool) error {
    	tp.blockChannel <- "unblock"
    	return nil
    }
    
    func (tp TestProxy) Cleanup() {
    	if tp.cleanup != nil {
    		tp.cleanup()
    	}
    }
    
    func (tp TestProxy) UpdateConfig(_ []byte) error {
    	return nil
    }
    
    // TestStartExit starts a proxy and ensures the agent exits once the proxy exits
    func TestStartExit(t *testing.T) {
    	ctx := context.Background()
    	done := make(chan struct{})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Oct 19 20:22:09 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  6. pkg/envoy/proxy.go

    	err := DrainListeners(adminPort, e.Sidecar, skipExit)
    	if err != nil {
    		log.Infof("failed draining listeners for Envoy on port %d: %v", adminPort, err)
    	}
    	return err
    }
    
    func (e *envoy) UpdateConfig(config []byte) error {
    	return os.WriteFile(e.ConfigPath, config, 0o666)
    }
    
    func (e *envoy) args(fname string, overrideFname string) []string {
    	proxyLocalAddressType := "v4"
    	if network.AllIPv6(e.NodeIPs) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 10:02:56 UTC 2024
    - 6.9K bytes
    - Viewed (0)
Back to top