Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1261 - 1270 of 1,913 for errorf (0.04 sec)

  1. docs/auditlog/auditlog-echo.go

    func init() {
    	flag.IntVar(&port, "port", 8080, "Port to listen on")
    }
    
    func mainHandler(w http.ResponseWriter, r *http.Request) {
    	body, err := io.ReadAll(r.Body)
    	defer r.Body.Close()
    	if err != nil {
    		log.Printf("Error reading request body: %v", err)
    		w.WriteHeader(http.StatusBadRequest)
    		return
    	}
    
    	log.Printf(">>> %s %s\n", r.Method, r.URL.Path)
    	var out bytes.Buffer
    	json.Indent(&out, body, "", "    ")
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed May 01 21:31:13 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/arch/riscv64.go

    		return opd
    	}
    	return riscv.SPOP_END
    }
    
    // RISCV64ValidateVectorType reports whether the given configuration is a
    // valid vector type.
    func RISCV64ValidateVectorType(vsew, vlmul, vtail, vmask int64) error {
    	_, err := riscv.EncodeVectorType(vsew, vlmul, vtail, vmask)
    	return err
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Feb 14 15:13:11 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  3. cmd/metrics-v3-audit.go

    		targetID)
    )
    
    // loadAuditMetrics - `MetricsLoaderFn` for audit
    // such as failed messages and total messages.
    func loadAuditMetrics(_ context.Context, m MetricValues, c *metricsCache) error {
    	audit := logger.CurrentStats()
    	for id, st := range audit {
    		labels := []string{targetID, id}
    		m.Set(auditFailedMessages, float64(st.FailedMessages), labels...)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri May 10 14:50:39 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        assertEquals(0, stats.loadSuccessCount());
        assertEquals(1, stats.loadExceptionCount());
        assertEquals(0, stats.hitCount());
      }
    
      public void testLoadError() throws ExecutionException {
        Error e = new Error();
        CacheLoader<Object, Object> loader = errorLoader(e);
        LoadingCache<Object, Object> cache = CacheBuilder.newBuilder().recordStats().build(loader);
        CacheStats stats = cache.stats();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 85.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/context/CIFSContextCredentialWrapperTest.java

            }
        }
    
        @Test
        @DisplayName("Should pass null for SmbAuthException when error is not SmbAuthException")
        void testRenewCredentials_WithErrorNotSmbAuthException() {
            Throwable genericError = new RuntimeException("Generic Error");
            try (MockedStatic<NtlmAuthenticator> mockedNtlmAuthenticator = mockStatic(NtlmAuthenticator.class)) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/dict/DictionaryManager.java

         * uses registered DictionaryCreator instances to create appropriate
         * DictionaryFile objects.
         *
         * @return an array of dictionary files available in the system
         * @throws DictionaryException if there's an error accessing the dictionaries
         */
        public DictionaryFile<? extends DictionaryItem>[] getDictionaryFiles() {
            try (CurlResponse response = ComponentUtil.getCurlHelper()
                    .get("/_configsync/file")
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  7. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt

                }
              }
    
            TYPE_IGNORED, TYPE_VALID, TYPE_DISALLOWED -> {
              MappedRange.Constant(rangeStart, mapping.type)
            }
    
            else -> error("unexpected mapping type: ${mapping.type}")
          }
      }
    
      for (sectionList in result.values) {
        mergeAdjacentDeltaMappedRanges(sectionList)
      }
    
      return result.toMap()
    }
    
    /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java

         * @param andx the next command in the AndX chain, or null
         * @param cred the authentication credentials to use for the session
         * @throws SmbException if an SMB protocol error occurs
         * @throws GeneralSecurityException if a security error occurs during authentication
         */
        public SmbComSessionSetupAndX(final CIFSContext tc, final SmbComNegotiateResponse negotiated, final ServerMessageBlock andx,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  9. cmd/batchjobmetric_string.go

    // Code generated by "stringer -type=batchJobMetric -trimprefix=batchJobMetric batch-handlers.go"; DO NOT EDIT.
    
    package cmd
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[batchJobMetricReplication-0]
    	_ = x[batchJobMetricKeyRotation-1]
    	_ = x[batchJobMetricExpire-2]
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sat Dec 02 10:51:33 UTC 2023
    - 797 bytes
    - Viewed (0)
  10. cmd/healingmetric_string.go

    // Code generated by "stringer -type=healingMetric -trimprefix=healingMetric erasure-healing.go"; DO NOT EDIT.
    
    package cmd
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[healingMetricBucket-0]
    	_ = x[healingMetricObject-1]
    	_ = x[healingMetricCheckAbandonedParts-2]
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Nov 28 18:20:55 UTC 2022
    - 789 bytes
    - Viewed (0)
Back to top