Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 851 - 860 of 1,160 for isInvalid (0.08 seconds)

  1. cmd/xl-storage-format-v2.go

    	return time.Unix(0, x.versions[0].header.ModTime)
    }
    
    func (x *xlMetaV2) addVersion(ver xlMetaV2Version) error {
    	modTime := ver.getModTime().UnixNano()
    	if !ver.Valid() {
    		return errors.New("attempted to add invalid version")
    	}
    	encoded, err := ver.MarshalMsg(nil)
    	if err != nil {
    		return err
    	}
    
    	// returns error if we have exceeded configured object max versions
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 65.6K bytes
    - Click Count (1)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt

       * Otherwise this returns an empty list of challenges.
       *
       * If a challenge uses the `token68` variant instead of auth params, there is exactly one
       * auth param in the challenge at key null. Invalid headers and challenges are ignored.
       * No semantic validation is done, for example that `Basic` auth must have a `realm`
       * auth param, this is up to the caller that interprets these challenges.
       */
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jul 28 14:39:28 GMT 2025
    - 18.1K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/SmbTransportPoolImplTest.java

            // Given: Create a new pool for this test to ensure isolation
            SmbTransportPoolImpl testPool = new SmbTransportPoolImpl();
            when(ctx.getTransportPool()).thenReturn(testPool);
    
            // Connection with invalid port
            SmbTransportImpl first = testPool.getSmbTransport(ctx, address, invalidPort, false);
    
            // Verify that the transport was created with the default port
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 19.2K bytes
    - Click Count (0)
  4. tests/preload_test.go

    			if pet.Toy.Name != "" {
    				t.Errorf("No toy should for user %v's pet %v but got %v", idx+1, pet.Name, pet.Toy.Name)
    			}
    		}
    	}
    
    	if len(users2[2].Pets) != 3 {
    		t.Errorf("Invalid pet toys found for user 3 got %v", len(users2[2].Pets))
    	} else {
    		sort.Slice(users2[2].Pets, func(i, j int) bool {
    			return users2[2].Pets[i].ID < users2[2].Pets[j].ID
    		})
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Wed Jun 12 10:00:47 GMT 2024
    - 15.9K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/helper/ProtocolHelper.java

                        try {
                            directory = new File(resource.toURI());
                        } catch (final URISyntaxException e) {
                            logger.warn("Invalid URI for resource: url={}", resource, e);
                            continue;
                        }
                        if (directory.exists() && directory.isDirectory()) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 13:59:25 GMT 2026
    - 12.4K bytes
    - Click Count (1)
  6. src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java

                            }
                            return;
                        }
                    } catch (final NumberFormatException e) {
                        logger.warn("Invalid role info: failed to parse timestamp from '{}'", rolesStr, e);
                        return;
                    }
                }
                if (values.length > 1) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessTimeResourceProviderTest.java

                private static final long serialVersionUID = 1L;
    
                @Override
                public String getTimeAdjustTimeMillis() {
                    return "1000.5"; // Invalid for Long parsing
                }
    
                @Override
                public Long getTimeAdjustTimeMillisAsLong() {
                    return 1000L; // Return valid long
                }
            };
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17.8K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/net/HostAndPort.java

        int colonIndex = hostPortString.indexOf(':');
        int closeBracketIndex = hostPortString.lastIndexOf(']');
        checkArgument(
            colonIndex > -1 && closeBracketIndex > colonIndex,
            "Invalid bracketed host/port: %s",
            hostPortString);
    
        String host = hostPortString.substring(1, closeBracketIndex);
        if (closeBracketIndex + 1 == hostPortString.length()) {
          return new String[] {host, ""};
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 11.1K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb/SmbCopyUtil.java

                                chunkInfo[i] = new SrvCopychunk(absoff, absoff, csize);
                                ioff += maxChunkSize;
                            }
    
                            if (dfd == null || !dfd.isValid()) {
                                // don't reopen the file for every round if it's not necessary, keep the lock
                                dfd = openCopyTargetFile(dest, src.getAttributes(), !write);
                            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  10. schema/schema.go

    			cacheStore.Delete(modelType)
    		}
    	}()
    
    	for _, cbName := range callbackTypes {
    		if methodValue := modelValue.MethodByName(string(cbName)); methodValue.IsValid() {
    			switch methodValue.Type().String() {
    			case "func(*gorm.DB) error":
    				expectedPkgPath := path.Dir(reflect.TypeOf(schema).Elem().PkgPath())
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:35:55 GMT 2026
    - 13.3K bytes
    - Click Count (0)
Back to Top