Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 412 for Got (0.03 sec)

  1. guava/src/com/google/common/math/Stats.java

       */
      void writeTo(ByteBuffer buffer) {
        checkNotNull(buffer);
        checkArgument(
            buffer.remaining() >= BYTES,
            "Expected at least Stats.BYTES = %s remaining , got %s",
            BYTES,
            buffer.remaining());
        buffer
            .putLong(count)
            .putDouble(mean)
            .putDouble(sumOfSquaresOfDeltas)
            .putDouble(min)
            .putDouble(max);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  2. cmd/metrics-realtime.go

    			// not collecting per-cpu stats, so there will be only one element
    			if len(cm) == 1 {
    				m.Aggregated.CPU.TimesStat = &cm[0]
    			} else {
    				m.Errors = append(m.Errors, fmt.Sprintf("%s: Expected one CPU stat, got %d", byHostName, len(cm)))
    			}
    		}
    		cpuCount, err := c.Counts(true)
    		if err != nil {
    			m.Errors = append(m.Errors, fmt.Sprintf("%s: %v (cpuCount)", byHostName, err.Error()))
    		} else {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jun 01 05:16:24 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_function_test.cc

        ASSERT_EQ(nodes.size(), fdef.node_def_size())
            << "Got unexpected number of nodes. Expected: ["
            << absl::StrJoin(nodes, ", ")
            << "] Actual nodes in fdef: " << fdef.DebugString();
        for (const NodeDef& node_def : fdef.node_def()) {
          ASSERT_TRUE(nodes.find(node_def.name()) != nodes.end())
              << "Got unexpected node: " << node_def.name()
              << " in fdef: " << fdef.DebugString();
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (0)
  4. cmd/generic-handlers_test.go

    }
    
    func TestIsHTTPHeaderSizeTooLarge(t *testing.T) {
    	for i, test := range isHTTPHeaderSizeTooLargeTests {
    		if res := isHTTPHeaderSizeTooLarge(test.header); res != test.shouldFail {
    			t.Errorf("Test %d: Expected %v got %v", i, res, test.shouldFail)
    		}
    	}
    }
    
    var containsReservedMetadataTests = []struct {
    	header     http.Header
    	shouldFail bool
    }{
    	{
    		header: http.Header{"X-Minio-Key": []string{"value"}},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/CollectorTester.java

          }
          assertEquivalent(expectedResult, collector.finisher().apply(finalAccum));
        }
      }
    
      private void assertEquivalent(R expected, R actual) {
        assertTrue(
            "Expected " + expected + " got " + actual + " modulo equivalence " + equivalence,
            equivalence.test(expected, actual));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/lex/input.go

    	}
    	fmt.Fprintf(os.Stderr, "%s:%d: %s", in.File(), in.Line(), fmt.Sprintln(args...))
    	os.Exit(1)
    }
    
    // expectText is like Error but adds "got XXX" where XXX is a quoted representation of the most recent token.
    func (in *Input) expectText(args ...interface{}) {
    	in.Error(append(args, "; got", strconv.Quote(in.Stack.Text()))...)
    }
    
    // enabled reports whether the input is enabled by an ifdef, or is at the top level.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Sep 06 13:17:27 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  7. cmd/object-handlers_test.go

    			wantErr := testCase.wantAPICode
    			if gotErr != wantErr {
    				t.Errorf("test %d: want api error %q, got %q", i, wantErr, gotErr)
    			}
    			if testCase.wantHeaders != nil {
    				for k, v := range testCase.wantHeaders {
    					got := rec.Header().Get(k)
    					if got != v {
    						t.Errorf("Want header %s = %s, got %#v", k, v, rec.Header())
    					}
    				}
    			}
    
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:10:44 UTC 2024
    - 163.2K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/events.md

    /// tip
    
    The `shutdown` would happen when you are **stopping** the application.
    
    Maybe you need to start a new version, or you just got tired of running it. 🤷
    
    ///
    
    ### Lifespan function
    
    The first thing to notice, is that we are defining an async function with `yield`. This is very similar to Dependencies with `yield`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 10:36:22 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsuleFactory.java

            }
    
            container.getLoggerManager().setThresholds(toPlexusLoggingLevel(context.loggerLevel));
            customizeContainer(context, container);
    
            // refresh logger in case container got customized by spy
            org.slf4j.Logger l = context.loggerFactory.getLogger(this.getClass().getName());
            context.logger = (level, message, error) -> l.atLevel(org.slf4j.event.Level.valueOf(level.name()))
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/AbstractService.java

              "shutdownWhenStartupFinishes can only be set if state is STARTING. Got %s instead.",
              internalState);
          checkArgument(
              (failure != null) == (internalState == FAILED),
              "A failure cause should be set if and only if the state is failed.  Got %s and %s "
                  + "instead.",
              internalState,
              failure);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 20.4K bytes
    - Viewed (0)
Back to top