Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 114 for overriding (0.12 sec)

  1. guava/src/com/google/common/io/LittleEndianDataOutputStream.java

        out.write(0xFF & v);
        out.write(0xFF & (v >> 8));
      }
    
      @Override
      public void writeUTF(String str) throws IOException {
        ((DataOutputStream) out).writeUTF(str);
      }
    
      // Overriding close() because FilterOutputStream's close() method pre-JDK8 has bad behavior:
      // it silently ignores any exception thrown by flush(). Instead, just close the delegate stream.
      // It should flush itself if necessary.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  2. src/testing/benchmark_test.go

    			}
    		})
    	})
    }
    
    func TestReportMetric(t *testing.T) {
    	res := testing.Benchmark(func(b *testing.B) {
    		b.ReportMetric(12345, "ns/op")
    		b.ReportMetric(0.2, "frobs/op")
    	})
    	// Test built-in overriding.
    	if res.NsPerOp() != 12345 {
    		t.Errorf("NsPerOp: expected %v, actual %v", 12345, res.NsPerOp())
    	}
    	// Test stringing.
    	res.N = 1 // Make the output stable
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/body-updates.md

    * Put that data in a Pydantic model.
    * Generate a `dict` without default values from the input model (using `exclude_unset`).
        * This way you can update only the values actually set by the user, instead of overriding values already stored with default values in your model.
    * Create a copy of the stored model, updating it's attributes with the received partial updates (using the `update` parameter).
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/base/FessBaseAction.java

        }
    
        @Override
        public FessMessages createMessages() { // application may call
            return new FessMessages(); // overriding to change return type to concrete-class
        }
    
        // ===================================================================================
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  5. pkg/scheduler/apis/config/v1/default_plugins.go

    			// The default plugin is explicitly re-configured, update the default plugin accordingly.
    			if customPlugin, ok := enabledCustomPlugins[defaultEnabledPlugin.Name]; ok {
    				logger.Info("Default plugin is explicitly re-configured; overriding", "plugin", defaultEnabledPlugin.Name)
    				// Update the default plugin in place to preserve order.
    				defaultEnabledPlugin = customPlugin.plugin
    				replacedPluginIndex.Insert(customPlugin.index)
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 06:27:01 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/experimental/tac/hardwares/target_hardware.h

    //   static constexpr char kId[] = "MyHardware";
    // };
    class TargetHardware {
     public:
      virtual ~TargetHardware() = default;
    
      // Initializes all TargetHardwareOperation registered for this hardware.
      // Users overriding this function, should call the base class method to
      // initialize the ops.
      virtual bool Init();
    
      // Returns the cost of running 'op' on this Hardware.
      virtual double GetOpCost(mlir::Operation* op) const;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 09 21:39:59 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  7. pkg/kubelet/nodeshutdown/systemd/inhibit_linux.go

    	return shutdownChan, nil
    }
    
    const (
    	logindConfigDirectory = "/etc/systemd/logind.conf.d/"
    	kubeletLogindConf     = "99-kubelet.conf"
    )
    
    // OverrideInhibitDelay writes a config file to logind overriding InhibitDelayMaxSec to the value desired.
    func (bus *DBusCon) OverrideInhibitDelay(inhibitDelayMax time.Duration) error {
    	err := os.MkdirAll(logindConfigDirectory, 0755)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 04 06:56:50 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ForwardingList.java

     *
     * <p><b>Warning:</b> The methods of {@code ForwardingList} forward <b>indiscriminately</b> to the
     * methods of the delegate. For example, overriding {@link #add} alone <b>will not</b> change the
     * behavior of {@link #addAll}, which can lead to unexpected behavior. In this case, you should
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ForwardingSortedMultiset.java

     *
     * <p><b>Warning:</b> The methods of {@code ForwardingSortedMultiset} forward
     * <b>indiscriminately</b> to the methods of the delegate. For example, overriding {@link
     * #add(Object, int)} alone <b>will not</b> change the behavior of {@link #add(Object)}, which can
     * lead to unexpected behavior. In this case, you should override {@code add(Object)} as well,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/api/internal/project/ProjectInternal.java

        /**
         * Returns the property that stored {@link Project#getStatus()}.
         * <p>
         * By exposing this property, the {@code base} plugin can override the default value without overriding the build configuration.
         * <p>
         * See: https://github.com/gradle/gradle/issues/16946
         */
        Property<Object> getInternalStatus();
    
        DependencyMetaDataProvider getDependencyMetaDataProvider();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 16 21:18:55 UTC 2023
    - 9.2K bytes
    - Viewed (0)
Back to top