Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 3451 - 3460 of 7,017 for string (0.05 seconds)

  1. internal/mcontext/ctxt.go

    type ContextTraceType string
    
    // ContextTraceKey is the key of TraceCtxt saved in a Golang context
    const ContextTraceKey = ContextTraceType("ctx-trace-info")
    
    // TraceCtxt holds related tracing data of a http request.
    type TraceCtxt struct {
    	RequestRecorder  *xhttp.RequestRecorder
    	ResponseRecorder *xhttp.ResponseRecorder
    
    	FuncName string
    	AmzReqID string
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Dec 06 17:27:26 GMT 2022
    - 1.3K bytes
    - Click Count (0)
  2. misc/cgo/gmp/fib.go

    import (
    	big "."
    	"runtime"
    )
    
    func fibber(c chan *big.Int, out chan string, n int64) {
    	// Keep the fibbers in dedicated operating system
    	// threads, so that this program tests coordination
    	// between pthreads and not just goroutines.
    	runtime.LockOSThread()
    
    	i := big.NewInt(n)
    	if n == 0 {
    		c <- i
    	}
    	for {
    		j := <-c
    		out <- j.String()
    		i.Add(i, j)
    		c <- i
    	}
    }
    
    func main() {
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Apr 10 22:32:35 GMT 2023
    - 919 bytes
    - Click Count (0)
  3. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/PublishPlugin.java

                } else if (project1.getPlugins().hasPlugin(JavaPlugin.class)) {
                    publication.from(project.getComponents().getByName("java"));
                }
            });
            var projectLicenses = (MapProperty<String, String>) project.getExtensions().getExtraProperties().get("projectLicenses");
            publication.getPom().withXml(xml -> {
                var node = xml.asNode();
                node.appendNode("inceptionYear", "2009");
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Aug 11 07:30:51 GMT 2021
    - 8.9K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/service/RoleService.java

            return roleList;
        }
    
        /**
         * Gets a role by its ID.
         * @param id The ID of the role.
         * @return An optional entity of the role.
         */
        public OptionalEntity<Role> getRole(final String id) {
            return roleBhv.selectByPK(id);
        }
    
        /**
         * Stores a role.
         * @param role The role to store.
         */
        public void store(final Role role) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeResponseTest.java

            }
        }
    
        /**
         * The {@code toString} method should include the class name and the
         * representation of the superclass.
         */
        @Test
        void toStringIncludesClassName() {
            TransWaitNamedPipeResponse resp = new TransWaitNamedPipeResponse();
            String str = resp.toString();
            assertNotNull(str, "toString should not return null");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  6. internal/kms/errors.go

    // better error log messages.
    type Error struct {
    	Code    int    // The HTTP status code returned to the client
    	APICode string // The API error code identifying the error
    	Err     string // The error message returned to the client
    	Cause   error  // Optional, lower level error cause.
    }
    
    func (e Error) Error() string {
    	if e.Cause == nil {
    		return e.Err
    	}
    	return fmt.Sprintf("%s: %v", e.Err, e.Cause)
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Jul 16 14:03:03 GMT 2024
    - 3.6K bytes
    - Click Count (0)
  7. src/test/java/jcifs/BaseTest.java

            }
            return data;
        }
    
        /**
         * Create a test string with specified length
         */
        protected String createTestString(int length) {
            StringBuilder sb = new StringBuilder(length);
            for (int i = 0; i < length; i++) {
                sb.append((char) ('A' + (i % 26)));
            }
            return sb.toString();
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/ArtifactTransferFailedException.java

    /**
     * ArtifactTransferFailedException
     */
    @Deprecated
    public class ArtifactTransferFailedException extends Exception {
        public ArtifactTransferFailedException(final String message) {
            super(message);
        }
    
        public ArtifactTransferFailedException(final String message, final Throwable cause) {
            super(message, cause);
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.2K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequestPopulationException.java

    public class MavenExecutionRequestPopulationException extends Exception {
        public MavenExecutionRequestPopulationException(String message) {
            super(message);
        }
    
        public MavenExecutionRequestPopulationException(Throwable cause) {
            super(cause);
        }
    
        public MavenExecutionRequestPopulationException(String message, Throwable cause) {
            super(message, cause);
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.2K bytes
    - Click Count (0)
  10. tests/submodel_test.go

    package tests_test
    
    import (
    	"testing"
    
    	"gorm.io/gorm"
    )
    
    type Man struct {
    	ID     int
    	Age    int
    	Name   string
    	Detail string
    }
    
    // Panic-safe BeforeUpdate hook that checks for Changed("age")
    func (m *Man) BeforeUpdate(tx *gorm.DB) (err error) {
    	if !tx.Statement.Changed("age") {
    		return nil
    	}
    	return nil
    }
    
    func TestSubModel(t *testing.T) {
    	man := Man{Age: 18, Name: "random-name"}
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Sep 08 09:19:22 GMT 2025
    - 947 bytes
    - Click Count (0)
Back to Top