Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 231 - 240 of 789 for reflector (0.07 seconds)

  1. src/test/java/jcifs/internal/SmbNegotiationTest.java

            assertSame(originalResponseBuffer, negotiation.getResponseRaw());
        }
    
        @Test
        @DisplayName("Test buffer modifications are reflected")
        void testBufferModifications() {
            // Since the class returns the same array reference, modifications will be reflected
            byte[] requestBuffer = negotiation.getRequestRaw();
            byte[] responseBuffer = negotiation.getResponseRaw();
    
            // Modify the buffers
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  2. callbacks/create_test.go

    package callbacks
    
    import (
    	"reflect"
    	"sync"
    	"testing"
    	"time"
    
    	"gorm.io/gorm"
    	"gorm.io/gorm/clause"
    	"gorm.io/gorm/schema"
    )
    
    var schemaCache = &sync.Map{}
    
    func TestConvertToCreateValues_DestType_Slice(t *testing.T) {
    	type user struct {
    		ID    int `gorm:"primaryKey"`
    		Name  string
    		Email string `gorm:"default:(-)"`
    		Age   int    `gorm:"default:(-)"`
    	}
    
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Mar 18 05:48:42 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  3. internal/s3select/sql/jsonpath_test.go

    				// fmt.Println(rec)
    				r, _, err := jsonpathEval(jp.PathExpr, rec)
    				if err != nil {
    					t.Errorf("Error: %d %d %v", i, j, err)
    				}
    				if !reflect.DeepEqual(r, tc.res[j]) {
    					fmt.Printf("%#v (%v) != %v (%v)\n", r, reflect.TypeOf(r), tc.res[j], reflect.TypeOf(tc.res[j]))
    					t.Errorf("case: %d %d failed", i, j)
    				}
    			}
    		})
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb/SmbTreeConnectionTest.java

            RuntimeCIFSException ex = assertThrows(RuntimeCIFSException.class, c::release);
            assertTrue(ex.getMessage().toLowerCase().contains("usage count"));
        }
    
        @Test
        @DisplayName("isConnected reflects underlying tree state")
        void isConnected_usesTree() {
            SmbTreeConnection c = newConn();
            // No tree -> false
            assertFalse(c.isConnected());
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 13K bytes
    - Click Count (0)
  5. clause/clause_test.go

    package clause_test
    
    import (
    	"reflect"
    	"strings"
    	"sync"
    	"testing"
    
    	"gorm.io/gorm"
    	"gorm.io/gorm/clause"
    	"gorm.io/gorm/schema"
    	"gorm.io/gorm/utils/tests"
    )
    
    var db, _ = gorm.Open(tests.DummyDialector{}, nil)
    
    func checkBuildClauses(t *testing.T, clauses []clause.Interface, result string, vars []interface{}) {
    	var (
    		buildNames    []string
    		buildNamesMap = map[string]bool{}
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Tue Jun 02 02:50:38 GMT 2020
    - 1012 bytes
    - Click Count (0)
  6. tests/lru_test.go

    		t.Fatalf("should be true")
    	}
    	if v != "val1" {
    		t.Fatalf("value differs from expected")
    	}
    
    	if !reflect.DeepEqual(lc.Keys(), []string{"key1"}) {
    		t.Fatalf("value differs from expected")
    	}
    	if lc.Len() != 1 {
    		t.Fatalf("length differs from expected")
    	}
    
    	lc.Add("key2", "val2")
    	if !reflect.DeepEqual(lc.Keys(), []string{"key1", "key2"}) {
    		t.Fatalf("value differs from expected")
    	}
    	if lc.Len() != 2 {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Sep 08 09:19:22 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  7. src/test/java/jcifs/SmbSessionTest.java

                java.lang.reflect.Method[] methods = SmbSession.class.getDeclaredMethods();
                assertEquals(4, methods.length, "SmbSession should define exactly 4 methods");
            }
    
            @Test
            @DisplayName("Should have all required method names")
            void shouldHaveAllRequiredMethodNames() {
                java.lang.reflect.Method[] methods = SmbSession.class.getDeclaredMethods();
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  8. helm-releases/minio-2.0.1.tgz

    .Values.consoleService.nodePort }} {{- else }} targetPort: {{ .Values.consoleService.port }} {{- end}} {{- if .Values.consoleService.externalIPs }} externalIPs: {{- range $i , $ip := .Values.consoleService.externalIPs }} - {{ $ip }} {{- end }} {{- end }} selector: app: {{ template "minio.name" . }} release: {{ .Release.Name }} minio/templates/deployment.yaml {{- if eq .Values.mode "standalone" }} {{ $scheme := "http" }} {{- if .Values.tls.enabled }} {{ $scheme = "https" }} {{ end }} {{ $bucketRoot := or ...
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Aug 31 09:09:09 GMT 2021
    - 13.6K bytes
    - Click Count (0)
  9. internal/grid/types_test.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package grid
    
    import (
    	"reflect"
    	"testing"
    
    	"github.com/tinylib/msgp/msgp"
    )
    
    func TestMarshalUnmarshalMSS(t *testing.T) {
    	v := MSS{"abc": "def", "ghi": "jkl"}
    	bts, err := v.MarshalMsg(nil)
    	if err != nil {
    		t.Fatal(err)
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/core/beans/impl/ConstructorDescImpl.java

    import static org.codelibs.core.misc.AssertionUtil.assertArgumentArrayIndex;
    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
    
    import java.lang.reflect.Constructor;
    import java.lang.reflect.Type;
    import java.lang.reflect.TypeVariable;
    import java.util.Collection;
    import java.util.Map;
    
    import org.codelibs.core.beans.BeanDesc;
    import org.codelibs.core.beans.ConstructorDesc;
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 5K bytes
    - Click Count (0)
Back to Top