Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 411 for Got (0.01 sec)

  1. utils/utils_unix_test.go

    			want: "/go/work/proj/my.gorm.io/gorm@v1.2.3/",
    		},
    	}
    	for _, c := range cases {
    		s := sourceDir(c.file)
    		if s != c.want {
    			t.Fatalf("%s: expected %s, got %s", c.file, c.want, s)
    		}
    	}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Nov 21 02:48:13 UTC 2022
    - 731 bytes
    - Viewed (0)
  2. cmd/os_other.go

    				return nil
    			}
    			return err
    		}
    		for _, fi := range fis {
    			if fi.Mode()&os.ModeSymlink == os.ModeSymlink {
    				fi, err = Stat(pathJoin(dirPath, fi.Name()))
    				if err != nil {
    					// It got deleted in the meantime, not found
    					// or returns too many symlinks ignore this
    					// file/directory.
    					if osIsNotExist(err) || isSysErrPathNotFound(err) ||
    						isSysErrTooManySymlinks(err) {
    						continue
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 13 15:14:36 UTC 2023
    - 4K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/UrlNormalizer.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.model.path;
    
    /**
     * Normalizes a URL to remove the ugly parent references "../" that got potentially inserted by URL adjustment during
     * model inheritance.
     *
     * @deprecated use {@link org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    public interface UrlNormalizer {
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  4. callbacks/helper_test.go

    		},
    	}
    
    	for _, tc := range testCase {
    		t.Run(tc.name, func(t *testing.T) {
    			actual := ConvertMapToValuesForCreate(&gorm.Statement{}, tc.input)
    			if !reflect.DeepEqual(actual, tc.expect) {
    				t.Errorf("expect %v got %v", tc.expect, actual)
    			}
    		})
    	}
    }
    
    func TestConvertSliceOfMapToValuesForCreate(t *testing.T) {
    	testCase := []struct {
    		name   string
    		input  []map[string]interface{}
    		expect clause.Values
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Mar 05 02:22:57 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

          int remainder = a % b;
          return remainder == 0 ? a : a + b - remainder;
        }
    
        void assertBytes(byte[] expected) {
          byte[] got = out.toByteArray();
          for (int i = 0; i < expected.length; i++) {
            assertEquals(expected[i], got[i]);
          }
        }
      }
    
      // Assumes that AbstractNonStreamingHashFunction works properly (must be tested elsewhere!)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  6. cmd/api-utils_test.go

    		t.Run(fmt.Sprintf("Test%d", i+1), func(t *testing.T) {
    			outputText := s3EncodeName(testCase.inputText, testCase.encodingType)
    			if testCase.expectedOutput != outputText {
    				t.Errorf("Expected `%s`, got `%s`", testCase.expectedOutput, outputText)
    			}
    		})
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/JAASAuthenticator.java

    	    }
                lc.login();
    
                Subject s = lc.getSubject();
                if ( log.isDebugEnabled() ) {
                    log.debug("Got subject: " + s.getPrincipals());
                }
                if ( log.isTraceEnabled() ) {
                    log.trace("Got subject " + s);
                }
    
                this.cachedSubject = s;
                return this.cachedSubject;
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.1K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/cache2/FileOperatorTest.kt

        bufferA.writeUtf8("Dodgson, we've got Dodgson here!\n")
        operatorA.write(36, bufferA, 33)
        operatorB.read(0, bufferB, 9)
        assertThat(bufferB.readUtf8()).isEqualTo("Dodgson!\n")
        operatorA.read(9, bufferA, 27)
        assertThat(bufferA.readUtf8()).isEqualTo("You shouldn't use my name.\n")
        operatorB.read(36, bufferB, 33)
        assertThat(bufferB.readUtf8()).isEqualTo("Dodgson, we've got Dodgson here!\n")
      }
    
      @Test
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  9. internal/bucket/lifecycle/delmarker-expiration_test.go

    					fail = true
    				}
    			} else {
    				if err == nil {
    					fail = true
    				}
    				if test.err.Error() != err.Error() {
    					fail = true
    				}
    			}
    			if fail {
    				t.Fatalf("Expected %v but got %v", test.err, err)
    			}
    		})
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 01 01:11:10 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. cmd/benchmark-utils_test.go

    		if err != nil {
    			b.Fatal(err)
    		}
    		if objInfo.ETag != md5hex {
    			b.Fatalf("Write no: %d: Md5Sum mismatch during object write into the bucket: Expected %s, got %s", i+1, objInfo.ETag, md5hex)
    		}
    	}
    	// Benchmark ends here. Stop timer.
    	b.StopTimer()
    }
    
    // Benchmark utility functions for ObjectLayer.PutObjectPart().
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Dec 23 15:46:00 UTC 2022
    - 8.2K bytes
    - Viewed (0)
Back to top