Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for createFrag (0.06 seconds)

  1. internal/lock/lock_windows.go

    		access = syscall.FILE_APPEND_DATA
    	default:
    		return nil, fmt.Errorf("Unsupported flag (%d)", flag)
    	}
    
    	var createflag uint32
    	switch {
    	case flag&syscall.O_CREAT == syscall.O_CREAT:
    		createflag = syscall.OPEN_ALWAYS
    	default:
    		createflag = syscall.OPEN_EXISTING
    	}
    
    	shareflag := uint32(syscall.FILE_SHARE_READ | syscall.FILE_SHARE_WRITE | syscall.FILE_SHARE_DELETE)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  2. src/archive/zip/writer.go

    		return err
    	}
    	_, err := w.Write(h.Extra)
    	return err
    }
    
    // CreateRaw adds a file to the zip archive using the provided [FileHeader] and
    // returns a [Writer] to which the file contents should be written. The file's
    // contents must be written to the io.Writer before the next call to [Writer.Create],
    // [Writer.CreateHeader], [Writer.CreateRaw], or [Writer.Close].
    //
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Jan 28 04:20:09 GMT 2025
    - 19.4K bytes
    - Click Count (0)
  3. src/archive/zip/writer_test.go

    			Method:             f.method,
    			Flags:              f.flags,
    			CRC32:              f.crc32,
    			CompressedSize64:   f.compressedSize,
    			UncompressedSize64: f.uncompressedSize,
    		}
    		w, err := w.CreateRaw(h)
    		if err != nil {
    			t.Fatal(err)
    		}
    		if compressedContent != nil {
    			_, err = w.Write(compressedContent)
    		} else {
    			_, err = w.Write(f.content)
    		}
    		if err != nil {
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Jan 28 04:20:09 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

              throw expected
            }
          }
        }
        assertThat(server.requestCount).isEqualTo(0)
      }
    
      @Test
      fun connectViaProxyUsingProxyArg() {
        testConnectViaProxy(ProxyConfig.CREATE_ARG)
      }
    
      @Test
      fun connectViaProxyUsingProxySystemProperty() {
        testConnectViaProxy(ProxyConfig.PROXY_SYSTEM_PROPERTY)
      }
    
      @Test
      fun connectViaProxyUsingHttpProxySystemProperty() {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 133.3K bytes
    - Click Count (0)
Back to Top