Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 1,476 for found (0.02 seconds)

  1. tests/delete_test.go

    		t.Errorf("User can't be found after delete")
    	}
    
    	if err := DB.Delete(&User{}, "name = ?", user2.Name).Error; err != nil {
    		t.Errorf("No error should happen when delete a record, err=%s", err)
    	} else if err := DB.Where("name = ?", user2.Name).First(&User{}).Error; !errors.Is(err, gorm.ErrRecordNotFound) {
    		t.Errorf("User can't be found after delete")
    	}
    }
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Jul 21 02:46:58 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  2. src/test/java/jcifs/netbios/NameServiceClientImplTest.java

            assertTrue(exception.getMessage().contains("NONEXISTENT") || exception.getMessage().contains("unknown")
                    || exception.getMessage().contains("not found"), "Exception message should indicate name resolution failure");
        }
    
        @Test
        @DisplayName("Should handle NetBIOS name with type and scope with timeout")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 11K bytes
    - Click Count (0)
  3. .teamcity/src/main/kotlin/model/FunctionalTestBucketGenerator.kt

                subprojects = JsonBasedGradleSubprojectProvider(File("./subprojects.json")),
            )
        val testClassDataJson = File(System.getProperty("inputTestClassDataJson") ?: throw IllegalArgumentException("Input file not found!"))
        val generatedBucketsJson = File(System.getProperty("outputBucketSplitJson", "./test-buckets.json"))
    
        FunctionalTestBucketGenerator(model, testClassDataJson).generate(generatedBucketsJson)
    }
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Apr 10 15:09:32 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/filter/CorsFilterTest.java

            assertTrue(mockFilterChain.wasDoFilterCalled());
            assertFalse(corsHandlerFactory.wasGetCalled());
        }
    
        // Test with valid Origin but no CorsHandler found
        @Test
        public void test_doFilter_noCorsHandler() throws IOException, ServletException {
            mockRequest.setHeader("Origin", "http://example.com");
            corsHandlerFactory.setHandler(null);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 22.6K bytes
    - Click Count (0)
  5. cmd/data-usage-cache.go

    		if v := d.find(want[:idx]); v != nil {
    			_, ok := v.Children[want]
    			if ok {
    				found := hashPath(want[:idx])
    				return &found
    			}
    		}
    	}
    	for k, v := range d.Cache {
    		_, ok := v.Children[want]
    		if ok {
    			found := dataUsageHash(k)
    			return &found
    		}
    	}
    	return nil
    }
    
    // deleteRecursive will delete an entry recursively, but not change its parent.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 34.7K bytes
    - Click Count (0)
  6. src/cmd/addr2line/addr2line_test.go

    // Copyright 2014 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"bufio"
    	"bytes"
    	"internal/testenv"
    	"os"
    	"path/filepath"
    	"runtime"
    	"strings"
    	"testing"
    )
    
    // TestMain executes the test binary as the addr2line command if
    // GO_ADDR2LINETEST_IS_ADDR2LINE is set, and runs the tests otherwise.
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Sep 06 13:23:48 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  7. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/precommit/LicenseHeadersTask.java

         * possibility of inadvertently using the license on our own source files).
         */
        @Input
        private List<String> excludes = new ArrayList<String>();
        /**
         * Additional license families that may be found. The key is the license category name (5 characters),
         * followed by the family name and the value list of patterns to search for.
         */
        @Input
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Sep 09 18:53:35 GMT 2021
    - 10.6K bytes
    - Click Count (0)
  8. cmd/metacache-walk.go

    	Bucket string
    
    	// Directory inside the bucket.
    	BaseDir string
    
    	// Do a full recursive scan.
    	Recursive bool
    
    	// ReportNotFound will return errFileNotFound if all disks reports the BaseDir cannot be found.
    	ReportNotFound bool
    
    	// FilterPrefix will only return results with given prefix within folder.
    	// Should never contain a slash.
    	FilterPrefix string
    
    	// ForwardTo will forward to the given object path.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon May 26 07:06:43 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  9. internal/s3select/select.go

    	if err := d.DecodeElement(&parsedOutput, &start); err != nil {
    		return errMalformedXML(err)
    	}
    
    	found := 0
    	if !parsedOutput.CSVArgs.IsEmpty() {
    		parsedOutput.format = csvFormat
    		found++
    	}
    	if !parsedOutput.JSONArgs.IsEmpty() {
    		parsedOutput.format = jsonFormat
    		found++
    	}
    	if found != 1 {
    		return errObjectSerializationConflict(fmt.Errorf("either CSV or JSON should be present in OutputSerialization"))
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 21.2K bytes
    - Click Count (0)
  10. cmd/bucket-targets.go

    	sys.Lock()
    	defer sys.Unlock()
    	found := false
    	tgts, ok := sys.targetsMap[bucket]
    	if !ok {
    		return BucketRemoteTargetNotFound{Bucket: bucket}
    	}
    	targets := make([]madmin.BucketTarget, 0, len(tgts))
    	for _, tgt := range tgts {
    		if tgt.Arn != arnStr {
    			targets = append(targets, tgt)
    			continue
    		}
    		found = true
    	}
    	if !found {
    		return BucketRemoteTargetNotFound{Bucket: bucket}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 20.9K bytes
    - Click Count (0)
Back to Top