Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 481 - 490 of 2,774 for error_ (0.19 seconds)

  1. internal/http/server.go

    	return int(atomic.LoadInt32(&srv.requestCount))
    }
    
    // Init - init HTTP server
    func (srv *Server) Init(listenCtx context.Context, listenErrCallback func(listenAddr string, err error)) (serve func() error, err error) {
    	// Take a copy of server fields.
    	var tlsConfig *tls.Config
    	if srv.TLSConfig != nil {
    		tlsConfig = srv.TLSConfig.Clone()
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  2. internal/config/notify/parse.go

    			}
    			if err != nil {
    				return fmt.Errorf("error (%s): %w", target.ID(), err)
    			}
    		} else {
    			// Just for call init.
    			// Ignore target is online or offline
    			_, _ = target.IsActive()
    		}
    	}
    
    	return nil
    }
    
    func fetchSubSysTargets(ctx context.Context, cfg config.Config, subSys string, transport *http.Transport) (targets []event.Target, err error) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 47.5K bytes
    - Click Count (0)
  3. docs/smb3-features/03-multi-channel-design.md

        
        ChannelInfo channel = createTestChannel("test-channel", 1000);
        manager.addChannel(channel);
        
        // Simulate failure
        IOException error = new IOException("Network error");
        failover.handleFailure(channel, error);
        
        // Verify channel marked as failed
        assertEquals(ChannelState.FAILED, channel.getState());
        
        // Verify recovery attempted
        Thread.sleep(2000);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 39.6K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/app/web/admin/searchlist/AdminSearchlistActionTest.java

            doc.put("title", "Test Title");
            doc.put("role", "Rguest");
            doc.put("boost", "1.0");
    
            final List<String> errors = new ArrayList<>();
            AdminSearchlistAction.validateFields(doc, messages -> {
                errors.add("error");
            });
    
            assertTrue(errors.isEmpty());
        }
    
        @Test
        public void test_validateFields_missingRequiredFields() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:38:39 GMT 2026
    - 34.4K bytes
    - Click Count (0)
  5. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/SourcesRepository.kt

                    .let(transform)
            }
    
        override fun close() {
            val errors = mutableListOf<Exception>()
            openKotlinCompilationUnitsByRoot.values.forEach { unit ->
                try {
                    unit.close()
                } catch (ex: Exception) {
                    errors.add(ex)
                }
            }
            openJavaCompilationUnitsByFile.clear()
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Apr 28 14:56:52 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  6. cmd/erasure_test.go

    		}
    
    		if err == nil && test.shouldFail {
    			t.Errorf("Test %d: test should fail but it passed", i)
    		}
    		if err != nil && !test.shouldFail {
    			t.Errorf("Test %d: test should pass but it failed: %v", i, err)
    		}
    
    		decoded := encoded
    		if !test.shouldFail {
    			if test.reconstructParity {
    				for j := range decoded {
    					if decoded[j] == nil {
    						t.Errorf("Test %d: failed to reconstruct shard %d", i, j)
    					}
    				}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  7. .teamcity/README.md

    - At the popup window, click `Import Settings from VCS`. Wait a few seconds. 
      - If the error says "Context Parameter 'Branch' missing", it's ok. Click into the error and add a context parameter `Branch` with value `myTestBranch`. Go back and it automatically reloads.
      - If there are any errors, read the error and fix your code.
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Mar 06 23:02:25 GMT 2024
    - 4K bytes
    - Click Count (0)
  8. cmd/erasure-healing-common.go

    					partsMetadata[i] = FileInfo{}
    					metaErrs[i] = errFileCorrupt
    					onlineDisks[i] = nil
    					continue
    				}
    			}
    		}
    	}
    
    	// Copy meta errors to part errors
    	for i, err := range metaErrs {
    		if err != nil {
    			partErr := convPartErrToInt(err)
    			for p := range latestMeta.Parts {
    				dataErrsByPart[p][i] = partErr
    			}
    		}
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 12K bytes
    - Click Count (0)
  9. gorm.go

    	return db.callbacks
    }
    
    // AddError add error to db
    func (db *DB) AddError(err error) error {
    	if err != nil {
    		if db.Config.TranslateError {
    			if errTranslator, ok := db.Dialector.(ErrorTranslator); ok {
    				err = errTranslator.Translate(err)
    			}
    		}
    
    		if db.Error == nil {
    			db.Error = err
    		} else {
    			db.Error = fmt.Errorf("%v; %w", db.Error, err)
    		}
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:35:55 GMT 2026
    - 13.1K bytes
    - Click Count (0)
  10. internal/config/certs.go

    	if err != nil {
    		return tls.Certificate{}, ErrTLSUnexpectedData(nil).Msg(err.Error())
    	}
    	return cert, nil
    }
    
    // EnsureCertAndKey checks if both client certificate and key paths are provided
    func EnsureCertAndKey(clientCert, clientKey string) error {
    	if (clientCert != "" && clientKey == "") ||
    		(clientCert == "" && clientKey != "") {
    		return errors.New("cert and key must be specified as a pair")
    	}
    	return nil
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Aug 14 17:11:51 GMT 2024
    - 3.8K bytes
    - Click Count (0)
Back to Top